Commit c31419dd authored by Bostjan Pintar's avatar Bostjan Pintar
Browse files

Merge branch 'TTF_T044' of https://forge.etsi.org/rep/int/vx5g/emergency-5g-iop into TTF_T044

parents cf382a59 6e344898
Loading
Loading
Loading
Loading
+3 −0
Original line number Diff line number Diff line
@@ -5,6 +5,9 @@
		},
		{
			"path": "../emergency-iop"
		},
		{
			"path": "../vxlte-iop"
		}
	],
	"settings": {}
+361 −99
Original line number Diff line number Diff line
/*
Copyright (c) ETSI 2024.
Copyright (c) ETSI 2024-2025.

This software is subject to copyrights owned by ETSI. Non-exclusive permission
is hereby granted, free of charge, to copy, reproduce and amend this file
@@ -15,19 +15,18 @@ file and shall not imply any sub-license right.

/* interface at AMF */
Package TP_AMF {
  Group "5.4 5GMM Common Procedures"
	{

    Group "5.5.1.2 Registration Procedure for initial registration"
    {
    	import all from Ngnas_Common;
    Group "5.4 5GMM Common Procedures" {

        Group "5.5.1.2 Registration Procedure for initial registration" {

            import all from Ngnas_Common;

            Test Purpose {

                TP Id TP_5GNAS_AMF_ECO_REG_ACC_01

        Test objective "Verify that the IUT sends a REGISTRATION ACCEPT message when emergency registration is accepted by the network."
                Test objective "Verify that the IUT sends a REGISTRATION ACCEPT message when emergency registration is accepted by the network - With USIM."

                Reference
                    "ETSI TS 124 501 [1], Clauses 5.5.1.2.4 and 8.2.7"
@@ -93,25 +92,288 @@ Package TP_AMF {
                            to the GNB entity
                        }
                    }
        }// end TP_5GNAS_AMF_ECO_REG_ACC_01
            } // End of TP_5GNAS_AMF_ECO_REG_ACC_01

            Test Purpose {

                TP Id TP_5GNAS_AMF_ECO_REG_ACC_02

                Test objective "Verify that the IUT sends a REGISTRATION ACCEPT message when emergency registration is accepted by the network - Without USIM."

                Reference
                    "ETSI TS 124 501 [1], Clauses 5.5.1.2.4 and 8.2.7"

                Config Id CF_AMF_N2N1

                PICS Selection NONE //EMERGENCY services supported

                Initial conditions with {
                    the UE entity isNotRegisteredTo the AMF
                }

                Expected behaviour
                    ensure that {
                        when {
                            the IUT entity receives an INITIAL_UE_MESSAGE containing
                                NAS_PDU containing
                                    extended_protocol_discriminator set to 5G_MOBILITY_MANAGEMENT_MESSAGES,
                                    security_header_type set to NOT_SECURITY_PROTECTED,
                                    Registration_request_message_identity set to REGISTRATION_REQUEST,
                                    5GS_registration_type containing
                                        5GS_registration_type_value set to EMERGENCY_REGISTRATION,
                                        FOR indicating value 1;, //Follow-on request pending
                                    5GS_mobile_identity containing
                                        Type_of_idenity indicating value NO_IDENTITY;;;
                            from the GNB entity
                        }
                        then {
                            the IUT entity sends a INITIAL_CONTEXT_SETUP_REQUEST containing
                                NAS_PDU containing
                                    extended_protocol_discriminator set to 5G_MOBILITY_MANAGEMENT_MESSAGES,
                                    security_header_type set to INTEGRITY_PROTECTED_AND_CIPHERED,
                                    Registration_reject_message_identity set to REGISTRATION_ACCEPT,
                                    5GS_registration_result containing
                                        5GS_registration_result_value set to 3GPP_ACCESS,
                                        Emergency_registered set to 1;, //Registered for emergency services
                                    5G_GUTI containing
                                        Type_of_identity set to 5G_GUTI,
                                        MCC indicating value PX_MCC,
                                        MNC indicating value PX_MNC,
                                        AMF_Region_ID indicating value PX_AMF_REGION_ID,
                                        AMF_Set_ID indicating value PX_AMF_SET_ID,
                                        AMF_Pointer indicating value PX_AMF_POINTER,
                                        5G_TMSI indicating value RV_5G_TMSI;,
                                    TAI_list containing
                                        Partial_tracking_area_list_1 containing
                                            Type_of_list,
                                            Number_of_elements,
                                            MCC indicating value PX_MCC,
                                            MNC indicating value PX_MNC,
                                            TAC indicating value PX_TAC;;,
                                    5GS_network_feature_support containing
                                        Emergency_service_support_indicator set to 1;,  //TODO either supported or not; or Fallback is supported
                                    T3512_value containing
                                        Timer_value indicating value nonZeroValue;;;
                            to the GNB entity
                        }
                    }
            } // End of TP_5GNAS_AMF_ECO_REG_ACC_02

        } // End of Group "5.5.1.2 Registration Procedure for initial registration"

    } //end Group "5.5.1.2 Registration Procedure for initial registration"
        Group "5.5.2.2.3 UE-initiated de-registration procedure completion" {

    Group "5.5.2.2.3 UE-initiated de-registration procedure completion"
    {
            import all from Ngnas_Common;

            Test Purpose {

                TP Id "TP_5GNAS_AMF_ECO_DEREG_ACC_01"

                Test objective "Verify that the IUT, upon receiving a DEREGISTRATION REQUEST message containing the De-registration type IE with 'Normal de-registration' from the UE, sends a DEREGISTRATION ACCEPT message"

                Reference
                    "ETSI TS 124 501 [1], Clauses 5.5.2.2.3 and 8.2.13"

                Config Id CF_AMF_N2N1

                PICS Selection NONE //EMERGENCY services supported

                Initial conditions with {
                    the UE entity isRegisteredTo the AMF
                }

                Expected behaviour
                    ensure that {
                        when {
                        the IUT entity receives a UPLINK_NAS_TRANSPORT containing
                            NAS_PDU containing
                                extended_protocol_discriminator set to 5G_MOBILITY_MANAGEMENT_MESSAGES,
                                security_header_type set to NOT_SECURITY_PROTECTED,
                                Deregistration_request_message_identity set to DEREGISTRATION_REQUEST,
                                Deregistration_type containing
                                    Switch_off_value set to NORMAL_DEREGISTRATION,
                                    Reregistration_required_value set to REREGISTRATION_NOT_REQUIRED,
                                    Access_type set to 3GPP_ACCESS;,
                                5GS_mobile_identity containing
                                    Type_of_identity set to 5G_GUTI,
                                    MCC indicating value PX_MCC,
                                    MNC indicating value PX_MNC,
                                    AMF_Region_ID indicating value PX_AMF_REGION_ID,
                                    AMF_Set_ID indicating value PX_AMF_SET_ID,
                                    AMF_Pointer indicating value PX_AMF_POINTER,
                                    5G_TMSI indicating value RV_5G_TMSI;;;
                        from the GNB entity
                        }
                        then {
                            the IUT entity sends a DOWNLINK_NAS_TRANSPORT containing
                                NAS_PDU containing
                                    extended_protocol_discriminator set to 5G_MOBILITY_MANAGEMENT_MESSAGES,
                                    security_header_type set to INTEGRITY_PROTECTED_AND_CIPHERED,
                                    Deregistration_accept_message_identity set to DEREGISTRATION_ACCEPT;;
                            to the GNB entity
                        }
                    }
            } // End of TP_5GNAS_AMF_ECO_DEREG_ACC_01

        } // End of Group "5.5.2.2.3 UE-initiated de-registration procedure completion"

        Group "5.5.2.3.1 Network-initiated de-registration procedure initiation" {

            import all from Ngnas_Common;

            Test Purpose {

                TP Id "TP_5GNAS_AMF_ECO_DEREG_REQ_01"

                Test objective "Verify that the IUT initiates network de-registration by sending a DEREGISTRATION REQUEST message"

                Reference
                    "ETSI TS 124 501 [1], Clauses 5.5.2.2.3 and 8.2.13"

                Config Id CF_AMF_N2N1

                PICS Selection NONE //EMERGENCY services supported

                Initial conditions with {
                    the UE entity isRegisteredTo the AMF
                }

                Expected behaviour
                    ensure that {
                        when {
                        the IUT entity indicate a UE deactivation
                        }
                        then {
                            the IUT entity sends a DOWNLINK_NAS_TRANSPORT containing
                                NAS_PDU containing
                                    extended_protocol_discriminator set to 5G_MOBILITY_MANAGEMENT_MESSAGES,
                                    security_header_type set to NOT_SECURITY_PROTECTED,
                                    Deregistration_request_message_identity set to DEREGISTRATION_REQUEST,
                                    Deregistration_type containing
                                        Switch_off_value set to NORMAL_DEREGISTRATION,
                                        Reregistration_required_value set to REREGISTRATION_NOT_REQUIRED,
                                        Access_type set to 3GPP_ACCESS;;;
                            to the GNB entity
                        }
                    }
            } // End of TP_5GNAS_AMF_ECO_DEREG_REQ_01

        } // End of Group "5.5.2.3.1 Network-initiated de-registration procedure initiation"


        Group "5.4.5.2.3 UE-initiated NAS transport of messages accepted by the network" {

    } //end Group "5.5.2.2.3 UE-initiated de-registration procedure completion"

    Group "5.5.2.3.1 Network-initiated de-registration procedure initiation"
    {
            import all from Ngnas_Common;

    } //end Group "5.5.2.3.1 Network-initiated de-registration procedure initiation"
            Test Purpose {

                TP Id TP_5GNAS_AMF_ECO_NAS_xL_TRSPT_01

                Test objective "Verify that the IUT responds with a DL NAS transport message containing a PDU SESSION ESTABLISHMENT ACCEPT - Default Internet (IMS)."

                Reference
                    "ETSI TS 124 501 [1], Clauses 5.4.5.2.3, 8.2.10 and 8.2.11"

                Config Id CF_AMF_N2N1

                PICS Selection NONE //EMERGENCY services supported

                Initial conditions with {
                    the UE entity isRegisteredTo the AMF
                }

                Expected behaviour
                ensure that {
                    when {
                        the IUT entity receives a UPLINK_NAS_TRANSPORT containing 
                            NAS_PDU containing
                                extended_protocol_discriminator set to 5G_MOBILITY_MANAGEMENT_MESSAGES, 
                                   security_header_type set to NOT_SECURITY_PROTECTED,
                                uL_NAS_TRANSPORT_message_identity,
                                payload_container containing 
                                    payload_container_type set to "N1 SM information",
                                    number_of_optional_IEs set to 1,
                                    optional_IE_1 set to "PDU SESSION ESTABLISHMENT REQUEST",
                                    pdu_session_type indicating value IPv4;,
                                DNN indicating value IMS;;
                        from the GNB entity
                    }
                    then {
                        the IUT entity sends an PDU_SESSION_RESOURCE_SETUP_REQUEST containing
                            NAS_PDU containing
                                extended_protocol_discriminator set to 5G_MOBILITY_MANAGEMENT_MESSAGES, 
                                   security_header_type set to NOT_SECURITY_PROTECTED,
                                dL_NAS_TRANSPORT_message_identity,
                                payload_container containing 
                                    payload_container_type set to "N1 SM information",
                                    number_of_optional_IEs set to 1,
                                    optional_IE_1 set to "PDU SESSION ESTABLISHMENT ACCEPT";,
                                pDU_address,
                                pDU_session_ID,
                                DNN indicating value IMS;;
                        to the GNB entity
                    }
                } 

            } // End of TP_5GNAS_AMF_ECO_NAS_xL_TRSPT_01

            Test Purpose {

                TP Id TP_5GNAS_AMF_ECO_NAS_xL_TRSPT_02

                Test objective "Verify that the IUT responds with a DL NAS transport message containing a PDU SESSION ESTABLISHMENT ACCEPT - 5GVoNR call."

                Reference
                    "ETSI TS 124 501 [1], Clauses 5.4.5.2.3, 8.2.10 and 8.2.11"

                Config Id CF_AMF_N2N1

                PICS Selection NONE //EMERGENCY services supported

                Initial conditions with {
                    the UE entity isRegisteredTo the AMF
                }

                Expected behaviour
                ensure that {
                    when {
                        the IUT entity receives a UPLINK_NAS_TRANSPORT containing 
                            NAS_PDU containing
                                extended_protocol_discriminator set to 5G_MOBILITY_MANAGEMENT_MESSAGES, 
                                   security_header_type set to NOT_SECURITY_PROTECTED,
                                uL_NAS_TRANSPORT_message_identity,
                                payload_container containing 
                                    payload_container_type set to "N1 SM information",
                                    number_of_optional_IEs set to 1,
                                    optional_IE_1 set to "PDU SESSION ESTABLISHMENT REQUEST",
                                    pdu_session_type indicating value IPv4;,
                                DNN indicating value IMS;;
                        from the GNB entity
                    }
                    then {
                        the IUT entity sends an PDU_SESSION_RESOURCE_SETUP_REQUEST containing
                            NAS_PDU containing
                                extended_protocol_discriminator set to 5G_MOBILITY_MANAGEMENT_MESSAGES, 
                                   security_header_type set to NOT_SECURITY_PROTECTED,
                                dL_NAS_TRANSPORT_message_identity,
                                payload_container containing 
                                    payload_container_type set to "N1 SM information",
                                    number_of_optional_IEs set to 1,
                                    optional_IE_1 set to "PDU SESSION ESTABLISHMENT ACCEPT";,
                                pDU_address,
                                pDU_session_ID,
                                DNN indicating value IMS;;
                        to the GNB entity
                    }
                }

            } // End of TP_5GNAS_AMF_ECO_NAS_xL_TRSPT_02

        } // End of Group "5.4.5.2.3 UE-initiated NAS transport of messages accepted by the network"


    } // End of Group "5.4 5GMM Common Procedures"

} // End of Package TP_AMF