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

TP_5GNAS_AMF_REG_ACC_02 added

parent 8c060b64
Loading
Loading
Loading
Loading
+73 −0
Original line number Diff line number Diff line
@@ -327,6 +327,79 @@ Package TP_AMF {
            }
        }// 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