Commit 20b20d13 authored by kretzschmann's avatar kretzschmann
Browse files

Merge branch 'TTF_T041' into tmp_FOKUS

parents a2b3155a 80f73402
Loading
Loading
Loading
Loading
+26 −2
Original line number Diff line number Diff line
@@ -12,7 +12,7 @@
    - Verify that the IUT sends an IDENTITY REQUEST message correctly upon receipt of an AUTHENTICATION FAILURE message indicating a 5GMM cause value #20.

- TP_NGNAS_AMF_AUT_SEQ_01 (FF)
    - Verify that the IUT sends a SECURITY MODE CONTROL message with all mandatory IEs to indicate NAS security mode procedure upon receipt of a NAS AUTHENTICATION_RESPONSE.
    - Verify that the IUT sends a SECURITY MODE CONTROL message correctly to indicate NAS security mode procedure upon receipt of a NAS AUTHENTICATION RESPONSE.

- TP_5GNAS_AMF_REG_REJ_01 (SINTESIO)
    - Verify that the IUT rejects initial registration request due to general NAS level mobility management congestion control with 5GMM cause value #22 - congestion and assign a value for back-off timer T3346.
@@ -28,3 +28,27 @@


# TP objectives ideas

Section 5.4.2: Security mode control procedure

- Verify that the IUT, upon receiving the NAS Security Mode Complete Message after completing the NAS Authentication and Security procedure, successfully completes the registration process by accepting the registration.

- Verify that the IUT, upon receiving the NAS Security Mode Reject Message after a failed NAS Authentication and security procedure, successfully aborts the registration process by rejecting the registration.


Section 5.4.3: Identification procedure

- Verify that the IUT sends an IDENTITY REQUEST message correctly upon receipt of an AUTHENTICATION FAILURE message indicating a 5GMM cause value #20. (already implemented as: TP_5GNAS_AMF_AUT_REQ_04)

- Verify that the IUT, upon receiving an IDENTITY RESPONSE message from the UE with an incorrect IMSI, correctly sends an AUTHENTICATION REQUEST message. The IDENTITY REQUEST message is triggered during an authentication procedure with a failed authentication (AUTHENTICATION FAILURE).

- Verify that the IUT, upon receiving an IDENTITY RESPONSE message from the UE with a correct IMSI, correctly sends an AUTHENTICATION REJECT message. The IDENTITY REQUEST message is triggered during an authentication procedure with a failed authentication (AUTHENTICATION FAILURE).

- Verify that the IUT stops re-sending an Identity REQUEST message if no Identity RESPONSE message is received on the fifth expiry of timer T3519.


Section 5.5.1.2.4: Initial registration accepted by the network

-Verify that the IUT sends a REGISTRATION ACCEPT message containing the TAI list, 5G-GUTI, and T3512 when the initial registration is accepted by the network.

-Verify that the IUT sends a REGISTRATION ACCEPT message when initial registration with SMS over NAS is accepted by the network and network allows SMS service. 
+148 −5
Original line number Diff line number Diff line
@@ -260,6 +260,148 @@ Package TP_AMF {
    	 
    	Test Purpose {
		
        TP Id TP_5GNAS_AMF_REG_ACC_01 
        
        Test objective "Verify that the IUT sends REGISTRATION ACCEPT message containing TAI list, 5G-GUTI and T3512 when initial registration is accepted by the network."
        
        Reference 
            "ETSI TS 124 501 [1], Clauses 5.5.1.2.4 and 8.2.7" 
        
        Config Id CF_AMF_N2N1
        
        PICS Selection NONE
        
        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 INITIAL_REGISTRATION,
	                           FOR indicating value 1;, //Follow-on request pending
	                       5GS_mobile_identity containing
	                           SUPI_format indicating value IMSI,
	                           Type_of_idenity indicating value SUCI,
	                           MCC indicating value PX_MCC,
	                           MNC indicating value PX_MNC,
	                           Routing_indicator indicating value PX_ROUTING_INDICATOR, 
	                           Protection_scheme_id indicating value PX_PROTECTION_SCHEME_ID,
	                           Home_network_public_key_identifier indicating value PX_HOME_NETWORK_PUBLIC_KEY_IDENTIFIER,
	                           MSIN indicating value PX_MSIN;;;
	               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
	                           55GS_registration_result_value set to 3GPP_ACCESS;,
	                       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;;,
	                       T3512_value containing
	                           Timer_value indicating value nonZeroValue;;; 
	               to the GNB entity       
	            }
            }
        }// end TP_5GNAS_AMF_REG_ACC_01
        
        
    	Test Purpose {
		
        TP Id TP_5GNAS_AMF_REG_ACC_02 
        
        Test objective "Verify that the IUT sends a REGISTRATION ACCEPT message when initial registration with SMS over NAS is accepted by the network and network allows SMS service."
        
        Reference 
            "ETSI TS 124 501 [1], Clauses 5.5.1.2.4 and 8.2.7" 
        
        Config Id CF_AMF_N2N1
        
        PICS Selection NONE //SMS over NAS 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 INITIAL_REGISTRATION,
	                           FOR indicating value 1;, //Follow-on request pending
	                       5GS_mobile_identity containing
	                           SUPI_format indicating value IMSI,
	                           Type_of_idenity indicating value SUCI,
	                           MCC indicating value PX_MCC,
	                           MNC indicating value PX_MNC,
	                           Routing_indicator indicating value PX_ROUTING_INDICATOR, 
	                           Protection_scheme_id indicating value PX_PROTECTION_SCHEME_ID,
	                           Home_network_public_key_identifier indicating value PX_HOME_NETWORK_PUBLIC_KEY_IDENTIFIER,
	                           MSIN indicating value PX_MSIN;,
	                       5GS_update_type containing
	                           SMS_over_NAS_transport_requested set to 1;;; //SMS over NAS supported
	               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,
	                           SMS_over_NAS_transport_allowed set to 1;, //SMS over NAS allowed
	                       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;;,
	                       T3512_value containing
	                           Timer_value indicating value nonZeroValue;;; 
	               to the GNB entity       
	            }
            }
        }// end TP_5GNAS_AMF_REG_ACC_02
    	 
    	Test Purpose {
		
        TP Id TP_5GNAS_AMF_REG_REJ_01 
        
        Test objective "Verify that the IUT rejects initial registration request due to general NAS level mobility management congestion control with 5GMM cause value #22 - congestion and assign a value for back-off timer T3346."
@@ -281,8 +423,8 @@ Package TP_AMF {
                when {
	               the IUT entity receives an INITIAL_UE_MESSAGE containing
	                   NAS_PDU containing
	                       extended_protocol_discriminator indicating value 5G_MOBILITY_MANAGEMENT_MESSAGES, 
	                       security_header_type indicating value NOT_SECURITY_PROTECTED,
	                       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 INITIAL_REGISTRATION,
@@ -301,11 +443,12 @@ Package TP_AMF {
	            then {
	               the IUT entity sends a DOWNLINK_NAS_TRANSPORT containing
	                   NAS_PDU containing
	                       extended_protocol_discriminator indicating value 5G_MOBILITY_MANAGEMENT_MESSAGES, 
						   security_header_type indicating value INTEGRITY_PROTECTED_AND_CIPHERED,
	                       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_REJECT,
	                       5GMM_cause set to "Congestion (22)",
	                       T3346_value indicating value nonZeroValue;; 
	                       T3346_value containing 
	                           Timer_value indicating value nonZeroValue;;; 
	               to the GNB entity       
	            }
            }