Commit ccf67622 authored by juvancic's avatar juvancic
Browse files

Merge branch 'TTF_T041' of https://forge.etsi.org/rep/int/5g-core/nas into TTF_T041

parents 383af870 fb65db9e
Loading
Loading
Loading
Loading
+162 −9
Original line number Diff line number Diff line
@@ -20,12 +20,12 @@ Package TP_AMF_NGAP {
	 
	Test Purpose {
	
    TP Id TP_5GAP_NAS_01 
    TP Id TP_5GAP_ICS_01 
    
    Test objective "The IUT is able to receive an INITIAL_UE_MESSAGE to indicate a NAS transport procedure and reply with INITIAL_CONTEXT_SETUP_RESPONSE."
    Test objective "The IUT is able to receive an INITIAL_UE_MESSAGE to indicate a NAS transport procedure and reply with INITIAL_CONTEXT_SETUP_REQUEST."
    
    Reference 
        "ETSI TS 138 413 [1], Clauses 8.6.2.2, 9.2.5.1, 9.2.5.2 and 9.2.2.1-3" 
        "ETSI TS 138 413 [1], Clauses 8.3.1.2, 8.6.1.2, 9.2.5.1 and 9.2.2.1" 
    
    Config Id CF_AMF_N2N1
    
@@ -58,7 +58,7 @@ Package TP_AMF_NGAP {
               from the GNB entity
            }
            then {
               the IUT entity sends a INITIAL_CONTEXT_SETUP_RESPONSE containing
               the IUT entity sends an INITIAL_CONTEXT_SETUP_REQUEST containing
                   AMF_UE_NGAP_ID indicating value RV_AMF_UE_NGAP_ID,
                   RAN_UE_NGAP_ID indicating value PX_RAN_UE_NGAP_ID,
                   GUAMI containing
@@ -68,20 +68,86 @@ Package TP_AMF_NGAP {
	                   aMFRegionID indicating value RV_AMFRegionID,
	                   aMFSetID indicating value RV_AMFSetID,
	                   aMFPointerID indicating value RV_AMFPointerID;,
                   NAS_PDU; //(see note)
                   NAS_PDU, //(see note)
                   Allowed_NSSAI containing
	                   Allowed_NSSAI_List containing
	                       Allowed_NSSAI_Item containing
	                           S_NSSAI containing
	                               SST;;;;,
                   UE_Security_Capabilities containing
	                   NR_Encryption_Algorithms,
	                   NR_Integrity_Protection_Algorithms,
	                   E_UTRA_Encryption_Algorithms,
	                   E_UTRA_Integrity_Protection_Algorithms;,
	               Security_Key;
               to the GNB entity       
            }
        }
    }// end TP_5GAP_ICS_01
	 
	Test Purpose {
	
    TP Id TP_5GAP_ICS_02 
    
    Test objective "The IUT is able to receive an UPLINK_NAS_TRANSPORT to indicate a NAS transport procedure and reply with INITIAL_CONTEXT_SETUP_REQUEST."
    
    Reference 
        "ETSI TS 138 413 [1], Clauses 8.3.1.2, 8.6.3.2, 9.2.2.1 and 9.2.5.3" 
    
    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 UPLINK_NAS_TRANSPORT containing
	               AMF_UE_NGAP_ID indicating value RV_AMF_UE_NGAP_ID,
	               RAN_UE_NGAP_ID indicating value PX_RAN_UE_NGAP_ID,
	               NAS_PDU, //(see note)
	               User_Location_Information; 
               from the GNB entity
            }
            then {
               the IUT entity sends an INITIAL_CONTEXT_SETUP_REQUEST containing
                   AMF_UE_NGAP_ID indicating value RV_AMF_UE_NGAP_ID,
                   RAN_UE_NGAP_ID indicating value PX_RAN_UE_NGAP_ID,
                   GUAMI containing
                       pLMNIdentity containing
                               MCC indicating value PX_MCC,
	                           MNC indicating value PX_MNC;,
	                   aMFRegionID indicating value RV_AMFRegionID,
	                   aMFSetID indicating value RV_AMFSetID,
	                   aMFPointerID indicating value RV_AMFPointerID;,
                   NAS_PDU, //(see note)
                   Allowed_NSSAI containing
	                   Allowed_NSSAI_List containing
	                       Allowed_NSSAI_Item containing
	                           S_NSSAI containing
	                               SST indicating value PX_SST;;;;,
                   UE_Security_Capabilities containing
	                   NR_Encryption_Algorithms,
	                   NR_Integrity_Protection_Algorithms,
	                   E_UTRA_Encryption_Algorithms,
	                   E_UTRA_Integrity_Protection_Algorithms;,
	               Security_Key;
               to the GNB entity       
            }
        }
    }// end TP_5GAP_NAS_01
    }// end TP_5GAP_ICS_02
	 
	Test Purpose {
	
    TP Id TP_5GAP_NAS_01 
    TP Id TP_5GAP_DNA_01 
    
    Test objective "The IUT is able to receive an INITIAL_UE_MESSAGE to indicate a NAS transport procedure and reply with DOWNLINK_NAS_TRANSPORT."
    
    Reference 
        "ETSI TS 138 413 [1], Clauses 8.6.2.2, 9.2.5.1 and 9.2.5.2" 
        "ETSI TS 138 413 [1], Clauses 8.6.1.2, 8.6.2.2, 9.2.5.1 and 9.2.5.2" 
    
    Config Id CF_AMF_N2N1
    
@@ -121,7 +187,94 @@ Package TP_AMF_NGAP {
               to the GNB entity       
            }
        }
    }// end TP_5GAP_NAS_01
    }// end TP_5GAP_DNA_01
	 
	Test Purpose {
	
    TP Id TP_5GAP_DNA_02 
    
    Test objective "The IUT is able to receive an UPLINK_NAS_TRANSPORT to indicate a NAS transport procedure and reply with DOWNLINK_NAS_TRANSPORT."
    
    Reference 
        "ETSI TS 138 413 [1], Clauses 8.6.2.2, 8.6.3.2, 9.2.5.2 and 9.2.5.3" 
    
    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 UPLINK_NAS_TRANSPORT containing
	               AMF_UE_NGAP_ID indicating value RV_AMF_UE_NGAP_ID,
	               RAN_UE_NGAP_ID indicating value PX_RAN_UE_NGAP_ID,
	               NAS_PDU, //(see note)
	               User_Location_Information; 
               from the GNB entity
            }
            then {
               the IUT entity sends a DOWNLINK_NAS_TRANSPORT containing
                   AMF_UE_NGAP_ID indicating value RV_AMF_UE_NGAP_ID,
                   RAN_UE_NGAP_ID indicating value PX_RAN_UE_NGAP_ID,
                   NAS_PDU; //(see note)
               to the GNB entity       
            }
        }
    }// end TP_5GAP_DNA_02
	 
	Test Purpose {
	
    TP Id TP_5GAP_PDU_01 
    
    Test objective "The IUT is able to receive an UPLINK_NAS_TRANSPORT to indicate a NAS transport procedure and reply with DOWNLINK_NAS_TRANSPORT."
    
    Reference 
        "ETSI TS 138 413 [1], Clauses 8.2.1.2, 8.6.3.2, 9.2.1.1 and 9.2.5.3" 
    
    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 UPLINK_NAS_TRANSPORT containing
	               AMF_UE_NGAP_ID indicating value RV_AMF_UE_NGAP_ID,
	               RAN_UE_NGAP_ID indicating value PX_RAN_UE_NGAP_ID,
	               NAS_PDU, //(see note)
	               User_Location_Information; 
               from the GNB entity
            }
            then {
	            the IUT entity sends a PDU_SESSION_RESOURCE_SETUP_REQUEST containing 	
	                AMF_UE_NGAP_ID indicating value RV_AMF_UE_NGAP_ID,
	                RAN_UE_NGAP_ID indicating value PX_RAN_UE_NGAP_ID,
	                PDU_Session_Resource_Setup_Request_List containing
	                    PDU_SessionId,
	                    PDU_Session_NAS_PDU, //(see note)
	                    S_NSSAI containing
	                        SST indicating value PX_SST;,
	                    PDU_Session_Resource_Setup_Request_Transfer containing
	                        UL_NGU_UP_TNL_information containing
	                            gTP_tunnel containing
	                                Endpoint_IP_Address,
	                                GTP_TEID;;,
	                        PDU_Session_Type,
	                        QoS_Flow_Setup_Request_List containing
	                            QoS_Flow_Identifier,
	                            QoS_Flow_Level_QoS_Parameters;;;;
	             to the GNB entity      
            }
        }
    }// end TP_5GAP_PDU_01
        
} // End of Package TP_AMF_NGAP
+36 −5
Original line number Diff line number Diff line
@@ -218,7 +218,21 @@ Package TP_AMF {
			
			Initial conditions with {
				the UE entity isNotRegisteredTo the AMF and
				event AUTHENTICATION_REQUEST occurs //value for nas_key_set_identifier was already used before
				the IUT entity sends an DOWNLINK_NAS_TRANSFER containing
						NAS_PDU containing
							extended_protocol_discriminator set to 5GS_MOBILITY_MANAGEMENT_MESSAGE,
							security_header_type set to NOT_SECURITY_PROTECTED,
							spare_half_octet,
							authentication_request_message_identity set to AUTHENTICATION_REQUEST,
							ngKSI containing
								nas_key_set_identifier set to "111" //value for nas_key_set_identifier was already used before
							;,
							spare_half_octet,
							ABBA,
                            Authentication_parameter_RAND,
                            Authentication_parameter_AUTN
						;
				;
				to the UE entity
			}
			
@@ -266,14 +280,28 @@ Package TP_AMF {

			Initial conditions with {
				the UE entity isNotRegisteredTo the AMF and
				event AUTHENTICATION_REQUEST occurs //the "separation bit" in the AMF field of AUTN is set to 0
				the IUT entity sends an DOWNLINK_NAS_TRANSFER containing
						NAS_PDU containing
							extended_protocol_discriminator set to 5GS_MOBILITY_MANAGEMENT_MESSAGE,
							security_header_type set to NOT_SECURITY_PROTECTED,
							spare_half_octet,
							authentication_request_message_identity set to AUTHENTICATION_REQUEST,
							ngKSI containing
								nas_key_set_identifier set to "111"
							;,
							spare_half_octet,
							ABBA,
                            Authentication_parameter_RAND,
                            Authentication_parameter_AUTN //the "separation bit" in the AMF field of AUTN is set to 0
						;
				;
				to the UE entity
			}

			Expected behaviour
				ensure that {
					when {
						the IUT entity receives an AUTHENTICATION_FAILURE containing
						the IUT entity receives an UPLINK_NAS_TRANSPORT containing
							NAS_PDU containing
								extended_protocol_discriminator set to 5GS_MOBILITY_MANAGEMENT_MESSAGE, //reference ts_124007v180200p: Table 11.2.3.1.1A.1: EPD values 
								security_header_type set to INTEGRITY_PROTECTED,
@@ -377,7 +405,7 @@ Package TP_AMF {
				Expected behaviour
				ensure that {
					when {
						the IUT entity receives a SECURITY_MODE_COMPLETE containing 
						the IUT entity receives a UPLINK_NAS_TRANSPORT containing  
							NAS_PDU containing
								extended_protocol_discriminator set to 5GS_MOBILITY_MANAGEMENT_MESSAGE, / 
								security_header_type set to INTEGRITY_PROTECTED_WITH_NEW_5G_NAS_SECURITY_CONTEXT,
@@ -441,8 +469,11 @@ Package TP_AMF {
				Expected behaviour
				ensure that {
					when {
						the IUT entity receives a SECURITY_MODE_REJECT containing 
						the IUT entity receives a UPLINK_NAS_TRANSPORT containing
							NAS_PDU containing
								extended_protocol_discriminator set to 5GS_MOBILITY_MANAGEMENT_MESSAGE, 
								security_header_type set to INTEGRITY_PROTECTED_WITH_NEW_5G_NAS_SECURITY_CONTEXT,
								security_mode_reject_message_identity set to SECURITY_MODE_REJECT,	
								5GMM_cause set to "UE security capabilities mismatch (23)"
								;
						;
+1196 −0

File added.

Preview size limit exceeded, changes collapsed.