Commit 3bedfc1a authored by Yann Garcia's avatar Yann Garcia
Browse files

Implement TC_NGAP_AMF_NAS_01

parent ef3b1f85
Loading
Loading
Loading
Loading
+19 −0
Original line number Diff line number Diff line
@@ -4585,6 +4585,25 @@ module NGAP_TCFunctions {
                log("*** " & __SCOPE__ & ": INFO: Preamble done. ***");

                // Body
                f_send_NGAP_PDU(
                                m_ngap_initMsg(
                                               m_n2_initialUeMessage(
                                                                     -,
                                                                     ''O, // FSCOM FIXME NAS_PDU field shall be bit2oct(enc(???))
                                                                     m_uPTransportLayerInformation_userLocationInformationNR(
                                                                                                                              m_userLocationInformationNR(
                                                                                                                                                          m_nR_CGI,
                                                                                                                                                          m_tAI
                                                                                                                              ))
                                )));

                f_recv_NGAP_PDU(
                                mw_ngap_initMsg(
                                                mw_n2_DownlinkNASTransport(
                                                                           PX_AMF_UE_NGAP_ID, 
                                                                           PX_RAN_UE_NGAP_ID,
                                                                           ''O // FSCOM FIXME NAS_PDU field shall be bit2oct(enc(???)))
                                )));

                f_selfOrClientSyncAndVerdict(c_tbDone, f_getVerdict());
                log("*** " & __SCOPE__ & ": INFO: Testbody done. ***");
+2 −2
Original line number Diff line number Diff line
@@ -4775,7 +4775,7 @@ module LibNGAP_Templates {
                        template (value) InitiatingMessage m_n2_initialUeMessage(
                                                                                 in template (value) RAN_UE_NGAP_ID p_RANUeNgapID := PX_RAN_UE_NGAP_ID,
                                                                                 in template (value) NAS_PDU p_nasPdu,
                                                                                 in template (value) UserLocationInformation p_UeLocInf,
                                                                                 in template (value) UserLocationInformation p_ueLocInf,
                                                                                 in template (value) RRCEstablishmentCause p_rrcEstCause := PX_RRC_ESTABLISHMENT_CAUSE
                                                                                 ) := {
                            procedureCode := id_InitialUEMessage,
@@ -4796,7 +4796,7 @@ module LibNGAP_Templates {
                                                                                   {
                                                                                    id := id_UserLocationInformation,
                                                                                    criticality := reject,
                                                                                    value_ := { UserLocationInformation := p_UeLocInf }
                                                                                    value_ := { UserLocationInformation := p_ueLocInf }
                                                                                   },
                                                                                   {
                                                                                    id := id_RRCEstablishmentCause,