Commit 8bb9e4c2 authored by Bostjan Pintar's avatar Bostjan Pintar
Browse files

TP_5GNAS_AMF_REG_REJ_01 and 02

parent 8a821370
Loading
Loading
Loading
Loading
+104 −2
Original line number Diff line number Diff line
@@ -60,7 +60,7 @@ Package TP_AMF {
						extended_protocol_discriminator indicating value 01111110, //reference ts_124007v180200p: Table 11.2.3.1.1A.1: EPD values 
						security_header_type indicating value 0000,
						spare_half_octet indicating value 0000,
						authentication_response_message_identity indicating value 01000010, // accept correct? table 9.7.1
						authentication_response_message_identity indicating value 01000010; // accept correct? table 9.7.1
					to the AMF entity       
					}
				}
@@ -82,7 +82,109 @@ Package TP_AMF {
    	 
    	Test Purpose {
		
        TP Id TP_NGNAS_AMF_REG_REJ_01 
        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."
        
        Reference 
            "ETSI TS 124 501 [1], Clause 5.5.1.2.5" 
        
        Config Id CF_AMF_N2
        
        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 indicating value 01111110, //reference ts_124007v180200p: Table 11.2.3.1.1A.1: EPD values 
						   security_header_type indicating value 0000,
						   spare_half_octet indicating value 0000,
	                       Registration_request_message_identity indicating value REGISTRATION_REQUEST,
	                       5GS_registration_type containing
	                           5GS_registration_type_value indicating value Initial_registration,
	                           FOR indicating value 1;, //Follow-on request pending
	                       //ngKSI, //can be removed due to no value
	                       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,
	                           MSIN indicating value PX_MSIN;;
	                   ;
	               from the GNB entity
	            }
	            then {
	               the IUT entity sends a DOWNLINK_NAS_TRANSPORT containing
	                   NAS_PDU containing
	                       extended_protocol_discriminator indicating value 01111110, //reference ts_124007v180200p: Table 11.2.3.1.1A.1: EPD values 
						   security_header_type indicating value 0000, //??
						   spare_half_octet indicating value 0000,
	                       Registration_reject_message_identity indicating value REGISTRATION_REJECT,
	                       5GMM_cause indicating value "Congestion (22)";; 
	               to the GNB entity       
	            }
            }
        }// end TP_5GNAS_AMF_REG_REJ_01
    	 
    	Test Purpose {
		
        TP Id TP_5GNAS_AMF_REG_REJ_02 
        
        Test objective "Verify that the IUT rejects initial registration request because all the S-NSSAI(s) included in the requested NSSAI are either rejected for current PLMN, rejected for the current registration area or rejected due to failed or revoked NSSAIs."
        
        Reference 
            "ETSI TS 124 501 [1], Clause 5.5.1.2.5" 
        
        Config Id CF_AMF_N2
        
        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 /*or a UPLINK_NAS_TRANSPORT!!!*/ containing
	                   NAS_PDU containing
	                       Registration_request_message_identity indicating value REGISTRATION_REQUEST,
	                       5GS_registration_type containing
	                           5GS_registration_type_value indicating value Initial_registration,
	                           FOR indicating value 1;, //Follow-on request pending
	                       Requested_NSSAI indicating value PX_NSSAI_REVOKED
	                       //ngKSI, //can be removed due to no value
	                       //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,
	                       //    MSIN indicating value PX_MSIN;
	                       ;
	                   ;
	               from the GNB entity
	            }
	            then {
	               the IUT entity sends a DOWNLINK_NAS_TRANSPORT containing
	                   NAS_PDU containing
	                       Registration_reject_message_identity indicating value REGISTRATION_REJECT,
	                       5GMM_cause indicating value "No network slice available (62)";; 
	               to the GNB entity       
	            }
            }
        }// end TP_5GNAS_AMF_REG_REJ_02
        
        
    	 
    	Test Purpose {
		
        TP Id TP_NGNAS_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."