Test objective "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."
Test objective "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."
Test objective "Verify that the IUT aborts the ongoing procedure that triggered the NAS security mode control procedure upon receipt of a SECURITY_MODE_REJECT message containing 5GMM cause #23 'UE security capabilities mismatch'."
Reference
"ETSI TS 124 501 [1], Clause 5.4.2 and 8.2.27"
"ETSI TS 124 501 [1], Clauses 5.4.2.5 and 8.2.27"
Config Id CF_AMF_N2N1
PICS Selection PICS_A4/2
Initial conditions with {
the UE entity isNotRegisteredToAMF
the UE entity isNotRegisteredToAMF and
(.) at time point start_SMC_event : event SECURITY_MODE_COMMAND occurs
}
Expected behaviour
@@ -460,15 +461,13 @@ Package TP_AMF {
from the GNB entity
}
then {
the IUT entity sends a DOWNLINK_NAS_TRANSPORT containing
// PX_SEC_ABORT_TWAIT: observation timer to verify that no further registration progression occurs
(!) PX_SEC_ABORT_TWAIT after start_SMC_event : the IUT entity does not send a INITIAL_CONTEXT_SETUP_REQUEST containing
NAS_PDU containing
extended_protocol_discriminator set to 5GS_MOBILITY_MANAGEMENT_MESSAGES,
security_header_type set to INTEGRITY_PROTECTED_AND_CIPHERED,
message_type set to REGISTRATION_REJECT,
5GMM_cause set to "UE security capabilities mismatch (23)",
T3346_value containing
Timer_value set to nonZeroValue;;;
message_type set to REGISTRATION_ACCEPT;;
to the GNB entity
(Note 1: "The IUT is expected to abort the ongoing procedure and shall not proceed with registration completion.")
}
}
@@ -523,7 +522,6 @@ Package TP_AMF {
the IUT entity sends a DOWNLINK_NAS_TRANSPORT containing
NAS_PDU containing
extended_protocol_discriminator set to 5GS_MOBILITY_MANAGEMENT_MESSAGES,
security_header_type set to INTEGRITY_PROTECTED,
message_type set to IDENTITY_REQUEST,
identity_type set to SUCI;;
to the GNB entity
@@ -999,7 +997,7 @@ Package TP_AMF {
security_header_type set to NOT_SECURITY_PROTECTED,
message_type set to REGISTRATION_REQUEST,
5GS_registration_type containing
5GS_registration_type set to INITIAL_REGISTRATION;,
5GS_registration_type_value set to INITIAL_REGISTRATION;,
5GS_mobile_identity containing
SUPI_format set to IMSI,
Type_of_identity set to SUCI,
@@ -1273,7 +1271,7 @@ Package TP_AMF {
TP Id TP_5GNAS_AMF_DRG_REQ_03
Test objective "Verify that the IUT initiates network de-registration by sending a DEREGISTRATION_REQUEST message containing the De-registration type IE with re-registration required for 3GPP access.
Test objective "Verify that the IUT initiates network de-registration by sending a DEREGISTRATION_REQUEST message containing the De-registration type IE with re-registration required for 3GPP access."
// NOTE: After receipt of this message, the UE is expected to respond with DEREGISTRATION_ACCEPT and to initiate a new registration procedure. These subsequent steps are not part of the verification objective of this TP, but need to be handled by the TTCN-3 test implementation and postamble.
// **NOTE 1:** UE sends DEREGISTRATION_ACCEPT and starts with re-registration procedure.(also used ref 5.5.2.3.2 1st paragraph) **NOTE 2:** explicit network deregistration triggered by O&M - UE deregistration"
@@ -1294,7 +1292,7 @@ Package TP_AMF {
the IUT entity indicateUEderegistration
}
then {
the IUT entity sends a DOWNLINK_NAS_TRANSPORT containingTP_5GNAS_AMF_DRG_REQ_03
the IUT entity sends a DOWNLINK_NAS_TRANSPORT containing
NAS_PDU containing
extended_protocol_discriminator set to 5GS_MOBILITY_MANAGEMENT_MESSAGES,
security_header_type set to INTEGRITY_PROTECTED_AND_CIPHERED,