Commit 01ffa6ad authored by Yann Garcia's avatar Yann Garcia
Browse files

Review TC_5GNAS_AMF_SEC_ACC_01

parent 1e7b58d3
Loading
Loading
Loading
Loading
+5 −4
Original line number Diff line number Diff line
@@ -446,7 +446,7 @@ module NG_NAS_TCFunctions {
                    // Await next next command (InitialContextSetupRequest) with NAS encrypted payload
                    f_recv_NGAP_PDU(
                                    mw_ngap_initMsg(
                                                    mw_n2_DownlinkNASTransport(
                                                    mw_n2_InitialContextSetupRequest_withPDUSessionList(
                                                                                                        PX_AMF_UE_NGAP_ID,
                                                                                                        PX_RAN_UE_NGAP_ID,
                                                                                                        ? // Security mode command
@@ -456,6 +456,7 @@ module NG_NAS_TCFunctions {
                        setverdict(fail);
                        log("*** " & __SCOPE__ & ": FAIL: Message is not encrypted ***");
                    }
                    // FIXME FSCOM Add NAS_PDU message check
                    f_selfOrClientSyncAndVerdict(c_tbDone, f_getVerdict());
                    log("*** " & __SCOPE__ & ": INFO: Testbody done. ***");

+1 −1
Original line number Diff line number Diff line
@@ -188,7 +188,7 @@ module NG_NAS_TestCases {
                } // End of testcase TC_5GNAS_AMF_AUT_REQ_05

                /**
                 * @desc Verify that the IUT sends a new IDENTIFICATION REQUEST message to obtain the SUCI from the UE upon receipt of an AUTHENTICATION FAILURE message indicating a 5GMM cause value #26 - non-5G authentication unacceptable
                 * @desc Verify that the IUT sends a new IDENTITY REQUEST message to obtain the SUCI from the UE upon receipt of an AUTHENTICATION FAILURE message indicating a 5GMM cause value #26 - non-5G authentication unacceptable
                 * @see ETSI TS 124 501 [1], Clauses 5.4.1.3.7 and 8.2.4
                 */
                testcase TC_5GNAS_AMF_AUT_ABN_01() runs on gNB_NGNAS_NGAPComponent system TestAdapter {
+48 −37
Original line number Diff line number Diff line
@@ -1244,7 +1244,6 @@ module LibNGAP_Templates {
                                                                                                              in template (value) NRUESidelinkAggregateMaximumBitrate p_nRUESidelinkAggregateMaximumBitrate, 
                                                                                                              in template (value) LTEUESidelinkAggregateMaximumBitrate p_lTEUESidelinkAggregateMaximumBitrate,                                 
                                                                                                              in template (value) UERadioCapabilityID p_uERadioCapabilityID 
                                                                                                                        
                                                                                                              ) := {
                            procedureCode := id_InitialContextSetup,
                            criticality   := reject,
@@ -1387,7 +1386,9 @@ module LibNGAP_Templates {
                                                                                                                 template (present) PDUSessionResourceSetupListCxtReq p_pDUSessionResourceSetupListCxtReq := ?,
                                                                                                                 template (present) AllowedNSSAI p_allowedNSSAI := ?,
                                                                                                                 template (present) UESecurityCapabilities p_uESecurityCapabilities := ?,
                                                                                              template (present) SecurityKey p_nextHopNH := ?
                                                                                                                 template (present) SecurityKey p_nextHopNH := ?,
                                                                                                                 template (present) MaskedIMEISV p_maskedIMEISV := ?, 
                                                                                                                 template (present) NAS_PDU p_nasPdu := ?                                                        
                                                                                                                 ) := {
                            procedureCode := id_InitialContextSetup,
                            criticality   := reject,
@@ -1428,6 +1429,16 @@ module LibNGAP_Templates {
                                                                                               	 id := id_SecurityKey,
                                                                                                 criticality := reject,
                                                                                                 value_ := { SecurityKey := p_nextHopNH }
                                                                                             },
                                                                                             {
                                                                                                	 id := id_MaskedIMEISV,
                                                                                                  criticality := ignore,
                                                                                                  value_ := { MaskedIMEISV := p_maskedIMEISV }
                                                                                             }, 
                                                                                             {
                                                                                                	 id := id_NAS_PDU,
                                                                                                  criticality := ignore,
                                                                                                  value_ := { NAS_PDU := p_nasPdu }
                                                                                             }
                                                                                            }
                                                                            }