Commit e16e189f authored by Iztok Juvancic's avatar Iztok Juvancic
Browse files

added InitialUEMessage send template

parent 1f8f6f14
Loading
Loading
Loading
Loading
+118 −0
Original line number Diff line number Diff line
@@ -615,6 +615,124 @@ module LibNGAP_Templates {
            //9.2.5.1
            group INITIAL_UE_MESSAGE{
                group Send{
                    template (value) InitiatingMessage m_n2_initialUeMessage(
                                                                            in template (value) RAN_UE_NGAP_ID p_RANUeNgapID,
                                                                            in template (value) NAS_PDU p_nasPdu,
                                                                            in template (value) UserLocationInformation p_UeLocInf,
                                                                            in template (value) RRCEstablishmentCause p_rrcEstCause

                    ):={
                        procedureCode := id_InitialUEMessage,
                        criticality   := reject,
                        value_        := {
                            InitialUEMessage := {
                                      protocolIEs := {
                                        {
                                          id := id_RAN_UE_NGAP_ID,
                                          criticality := reject,
                                          value_ := {RAN_UE_NGAP_ID:=p_RANUeNgapID}
                                          //presence := NGAP_CommonDataTypes.mandatory
                                        }, 
                                        {
                                          id := id_NAS_PDU,
                                          criticality := reject,
                                          value_ := {NAS_PDU:=p_nasPdu}
                                          //presence := NGAP_CommonDataTypes.mandatory
                                        }, 
                                        {
                                          id := id_UserLocationInformation,
                                          criticality := reject,
                                          value_ := {UserLocationInformation:=p_UeLocInf}
                                          //presence := NGAP_CommonDataTypes.mandatory
                                        }, 
                                        {
                                          id := id_RRCEstablishmentCause,
                                          criticality := ignore,
                                          value_ := {RRCEstablishmentCause:=p_rrcEstCause}
                                          //presence := NGAP_CommonDataTypes.mandatory
                                        }//, 
                                        /*{
                                          id := NGAP_Constants.id_FiveG_S_TMSI,
                                          criticality := NGAP_CommonDataTypes.reject,
                                          Value := "NGAP_IEs.FiveG_S_TMSI",
                                          presence := NGAP_CommonDataTypes.optional_
                                        }, 
                                        {
                                          id := NGAP_Constants.id_AMFSetID,
                                          criticality := NGAP_CommonDataTypes.ignore,
                                          Value := "NGAP_IEs.AMFSetID",
                                          presence := NGAP_CommonDataTypes.optional_
                                        }, 
                                        {
                                          id := NGAP_Constants.id_UEContextRequest,
                                          criticality := NGAP_CommonDataTypes.ignore,
                                          Value := "NGAP_IEs.UEContextRequest",
                                          presence := NGAP_CommonDataTypes.optional_
                                        }, 
                                        {
                                          id := NGAP_Constants.id_AllowedNSSAI,
                                          criticality := NGAP_CommonDataTypes.reject,
                                          Value := "NGAP_IEs.AllowedNSSAI",
                                          presence := NGAP_CommonDataTypes.optional_
                                        }, 
                                        {
                                          id := NGAP_Constants.id_SourceToTarget_AMFInformationReroute,
                                          criticality := NGAP_CommonDataTypes.ignore,
                                          Value := "NGAP_IEs.SourceToTarget_AMFInformationReroute",
                                          presence := NGAP_CommonDataTypes.optional_
                                        }, 
                                        {
                                          id := NGAP_Constants.id_SelectedPLMNIdentity,
                                          criticality := NGAP_CommonDataTypes.ignore,
                                          Value := "NGAP_IEs.PLMNIdentity",
                                          presence := NGAP_CommonDataTypes.optional_
                                        }, 
                                        {
                                          id := NGAP_Constants.id_IABNodeIndication,
                                          criticality := NGAP_CommonDataTypes.reject,
                                          Value := "NGAP_IEs.IABNodeIndication",
                                          presence := NGAP_CommonDataTypes.optional_
                                        }, 
                                        {
                                          id := NGAP_Constants.id_CEmodeBSupport_Indicator,
                                          criticality := NGAP_CommonDataTypes.reject,
                                          Value := "NGAP_IEs.CEmodeBSupport_Indicator",
                                          presence := NGAP_CommonDataTypes.optional_
                                        }, 
                                        {
                                          id := NGAP_Constants.id_LTEM_Indication,
                                          criticality := NGAP_CommonDataTypes.ignore,
                                          Value := "NGAP_IEs.LTEM_Indication",
                                          presence := NGAP_CommonDataTypes.optional_
                                        }, 
                                        {
                                          id := NGAP_Constants.id_EDT_Session,
                                          criticality := NGAP_CommonDataTypes.ignore,
                                          Value := "NGAP_IEs.EDT_Session",
                                          presence := NGAP_CommonDataTypes.optional_
                                        }, 
                                        {
                                          id := NGAP_Constants.id_AuthenticatedIndication,
                                          criticality := NGAP_CommonDataTypes.ignore,
                                          Value := "NGAP_IEs.AuthenticatedIndication",
                                          presence := NGAP_CommonDataTypes.optional_
                                        }, 
                                        {
                                          id := NGAP_Constants.id_NPN_AccessInformation,
                                          criticality := NGAP_CommonDataTypes.reject,
                                          Value := "NGAP_IEs.NPN_AccessInformation",
                                          presence := NGAP_CommonDataTypes.optional_
                                        }, 
                                        {
                                          id := NGAP_Constants.id_RedCapIndication,
                                          criticality := NGAP_CommonDataTypes.ignore,
                                          Value := "NGAP_IEs.RedCapIndication",
                                          presence := NGAP_CommonDataTypes.optional_
                                        }*/
                                       }
                               }
                        }
                    } // End of template  m_n2_initialUeMessage
                }
                group Receive{
                }