Commit 1db70e2b authored by kretzschmann's avatar kretzschmann
Browse files

adjust TPs based on feedback

parent 1033204b
Loading
Loading
Loading
Loading
+16 −23
Original line number Diff line number Diff line
@@ -209,20 +209,14 @@ Package Ngnas_Common {
        /* This template can be used as default AUTHENTICATION REQUEST message within a DOWNLINK NAS TRANSFER message. */
            - AUTHENTICATION_REQUEST {
                the IUT entity sends an DOWNLINK_NAS_TRANSFER containing
						AMF_UE_NGAP_ID,
						RAN_UE_NGAP_ID,
						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, //not security protected
							spare_half_octet indicating value 0000,
							authentication_request_message_identity indicating value Authentication_request, //01010110
							ngKSI, //TODO: see [1] Table 9.11.3.32.1
							spare_half_octet indicating value 0000,
							ABBA containing
								ABBA_IEI indicating value 0x38,
								Length_of_ABBA_contents indicating value 2,
								ABBA_contents indicating value 0000000000000000
								;
							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 NOT_SECURITY_PROTECTED,
							spare_half_octet,
							authentication_request_message_identity set to AUTHENTICATION_REQUEST,
							ngKSI,
							spare_half_octet,
							ABBA
						;
				;
				to the UE entity
@@ -230,11 +224,10 @@ Package Ngnas_Common {
    } // End of Domain section


//    Const {
//        PX_Stored_Domain_Uri,
//        PX_TO_BE_DEFINED
//        ;
//    } // End of Const section
   Const {
       PX_WRONG_ARP_IEI; //0x20
       ;
   } // End of Const section

    Data {
    	
@@ -356,13 +349,13 @@ Package Ngnas_Common {
            Component Type NgapComponent with gate g2 of type defaultGT;
            
            
            Test Configuration CF_GNB_N2 
            Test Configuration CF_GNB_N2N1 
                containing 
                    Tester component AMF of type NgapComponent
                    SUT component IUT of type NgapComponent
                    connection between AMF.g and IUT.g;
                    
            Test Configuration CF_AMF_N2
            Test Configuration CF_AMF_N2N1
                containing 
                    Tester component GNB of type NgapComponent
                    SUT component IUT of type NgapComponent
+34 −45
Original line number Diff line number Diff line
@@ -30,9 +30,9 @@ Package TP_AMF {
			Test objective "Verify that the IUT sends an AUTHENTICATION REQUEST message correctly upon receipt of a NAS Registration without an active security context."
			
			Reference 
				"ETSI TS 124 501 [1], Clause 5.4.1"
				"ETSI TS 124 501 [1], Clauses 5.4.1.3.2 and 8.2.1"
			
			Config Id CF_AMF_N2
			Config Id CF_AMF_N2N1
			
			PICS Selection NONE
			
@@ -43,24 +43,20 @@ Package TP_AMF {
			Expected behaviour
				ensure that {
					when {
					the IUT entity indicate an authentication procedure
						an INITIAL_UE_MESSAGE 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 NOT_SECURITY_PROTECTED,
							Registration_request_message_identity set to REGISTRATION_REQUEST
							;
						;
					}
					then {
						the IUT entity sends an DOWNLINK_NAS_TRANSFER containing
						AMF_UE_NGAP_ID,
						RAN_UE_NGAP_ID,
							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, //not security protected
							spare_half_octet indicating value 0000,
							authentication_request_message_identity indicating value Authentication_request, //01010110
							ngKSI, //TODO: see [1] Table 9.11.3.32.1
							spare_half_octet indicating value 0000,
							ABBA containing
								ABBA_IEI indicating value 0x38,
								Length_of_ABBA_contents indicating value 2,
								ABBA_contents indicating value 0000000000000000
								;
								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 NOT_SECURITY_PROTECTED,
								authentication_request_message_identity set to AUTHENTICATION_REQUEST
								;
							;
						to the UE entity
@@ -72,12 +68,12 @@ Package TP_AMF {
			
			TP Id TP_5GNAS_AMF_AUT_REQ_02
			
			Test objective "Verify that the IUT sends an AUTHENTICATION REJECT message correctly upon receipt of an AUTHENTICATION RESPONSE message indicating wrong ARP IEI."
			Test objective "Verify that the IUT sends an AUTHENTICATION REJECT message correctly upon receipt of an AUTHENTICATION RESPONSE message indicating a wrong ARP IEI."
			
			Reference 
				"ETSI TS 124 501 [1], Clause 5.4.1"
				"ETSI TS 124 501 [1], Clause 5.4.1.3.5 and 8.2.5"
			
			Config Id CF_AMF_N2
			Config Id CF_AMF_N2N1
			
			PICS Selection NONE
			
@@ -90,16 +86,12 @@ Package TP_AMF {
				ensure that {
					when {
						the IUT entity receives an UPLINK_NAS_TRANSFER containing
						AMF_UE_NGAP_ID,
						RAN_UE_NGAP_ID,
							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,
							authentication_response_message_identity indicating value Authentication_response,
								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 NOT_SECURITY_PROTECTED,
								authentication_response_message_identity set to AUTHENTICATION_RESPONSE,
								authentication_response_parameter containing
								Authentication_response_parameter_IEI indicating value 0x20, //wrong IEI
								Length_of_Authentication_response_parameter_contents indicating value 2,
									Authentication_response_parameter_IEI indicating value PX_WRONG_ARP_IEI
								;
							;
						;
@@ -107,13 +99,10 @@ Package TP_AMF {
					}
					then {
						the IUT entity sends an DOWNLINK_NAS_TRANSFER containing
						AMF_UE_NGAP_ID,
						RAN_UE_NGAP_ID,
							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, //not security protected
							spare_half_octet indicating value 0000,
							authentication_reject_message_identity indicating value Authentication_reject,
								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 NOT_SECURITY_PROTECTED,
								authentication_reject_message_identity set to AUTHENTICATION_REJECT,
								;
							;
						to the UE entity