Commit 3816f65e authored by Iztok Juvancic's avatar Iztok Juvancic
Browse files

added IE templates

parent aa86a36b
Loading
Loading
Loading
Loading
+2907 −2785
Original line number Diff line number Diff line
@@ -1955,9 +1955,121 @@ module LibNGAP_Templates {
            //  type    record  length  (1  ..  NGAP_Constants.maxnoofPDUSessions)  of  PDUSessionResourceSetupItemSURes    PDUSessionResourceSetupListSURes;
            //  type    record  PDUSessionResourceSetupItemSURes    {
            //  type    NGAP_Containers.NGAP_PROTOCOL_EXTENSION PDUSessionResourceSetupItemSURes_ExtIEs (?);
            
            //  type    record  PDUSessionResourceSetupRequestTransfer  {
            //  type    NGAP_Containers.NGAP_PROTOCOL_IES   PDUSessionResourceSetupRequestTransferIEs   (
            template PDUSessionResourceSetupRequestTransfer m_ie_pDUSessResSetReqTr(
                                                               in template UPTransportLayerInformation p_utli,
                                                               in template PDUSessionType p_pst,
                                                               in template QosFlowSetupRequestList p_qfsrl
               ):={
                   PDUSessionResourceSetupRequestTransferIEs:={
                   protocolIEs:={
                   {
                                            id := id_PDUSessionAggregateMaximumBitRate,
                                            criticality := reject,
                                            Value := omit //"NGAP_IEs.PDUSessionAggregateMaximumBitRate",
                                            //presence := NGAP_CommonDataTypes.optional_
                                          }
               }}}
                //protocolIEs := { pDUSessionResourceSetupRequestTransferIEs:={}}}}
//                        {
//                          id := NGAP_Constants.id_PDUSessionAggregateMaximumBitRate,
//                          criticality := NGAP_CommonDataTypes.reject,
//                          Value := omit //"NGAP_IEs.PDUSessionAggregateMaximumBitRate",
//                          //presence := NGAP_CommonDataTypes.optional_
//                        }, 
//                        {
//                          id := NGAP_Constants.id_UL_NGU_UP_TNLInformation,
//                          criticality := NGAP_CommonDataTypes.reject,
//                          Value := { uPTransportLayerInformation := p_utli}
//                          //presence := NGAP_CommonDataTypes.mandatory
//                        }, 
//                        {
//                          id := NGAP_Constants.id_AdditionalUL_NGU_UP_TNLInformation,
//                          criticality := NGAP_CommonDataTypes.reject,
//                          Value := omit //"NGAP_IEs.UPTransportLayerInformationList",
//                          //presence := NGAP_CommonDataTypes.optional_
//                        }, 
//                        {
//                          id := NGAP_Constants.id_DataForwardingNotPossible,
//                          criticality := NGAP_CommonDataTypes.reject,
//                          Value := omit //"NGAP_IEs.DataForwardingNotPossible",
//                          //presence := NGAP_CommonDataTypes.optional_
//                        }, 
//                        {
//                          id := NGAP_Constants.id_PDUSessionType,
//                          criticality := NGAP_CommonDataTypes.reject,
//                          Value := { pDUSessionType := p_pst}
//                          //presence := NGAP_CommonDataTypes.mandatory
//                        }, 
//                        {
//                          id := NGAP_Constants.id_SecurityIndication,
//                          criticality := NGAP_CommonDataTypes.reject,
//                          Value := omit //"NGAP_IEs.SecurityIndication",
//                          //presence := NGAP_CommonDataTypes.optional_
//                        }, 
//                        {
//                          id := NGAP_Constants.id_NetworkInstance,
//                          criticality := NGAP_CommonDataTypes.reject,
//                          Value := omit //"NGAP_IEs.NetworkInstance",
//                          //presence := NGAP_CommonDataTypes.optional_
//                        }, 
//                        {
//                          id := NGAP_Constants.id_QosFlowSetupRequestList,
//                          criticality := NGAP_CommonDataTypes.reject,
//                          Value := { qosFlowSetupRequestList := p_qfsrl}
//                          //presence := NGAP_CommonDataTypes.mandatory
//                        }, 
//                        {
//                          id := NGAP_Constants.id_CommonNetworkInstance,
//                          criticality := NGAP_CommonDataTypes.ignore,
//                          Value := omit //"NGAP_IEs.CommonNetworkInstance",
//                          //presence := NGAP_CommonDataTypes.optional_
//                        }, 
//                        {
//                          id := NGAP_Constants.id_DirectForwardingPathAvailability,
//                          criticality := NGAP_CommonDataTypes.ignore,
//                          Value := omit //"NGAP_IEs.DirectForwardingPathAvailability",
//                          //presence := NGAP_CommonDataTypes.optional_
//                        }, 
//                        {
//                          id := NGAP_Constants.id_RedundantUL_NGU_UP_TNLInformation,
//                          criticality := NGAP_CommonDataTypes.ignore,
//                          Value := omit //"NGAP_IEs.UPTransportLayerInformation",
//                          //presence := NGAP_CommonDataTypes.optional_
//                        }, 
//                        {
//                          id := NGAP_Constants.id_AdditionalRedundantUL_NGU_UP_TNLInformation,
//                          criticality := NGAP_CommonDataTypes.ignore,
//                          Value := omit //"NGAP_IEs.UPTransportLayerInformationList",
//                          //presence := NGAP_CommonDataTypes.optional_
//                        }, 
//                        {
//                          id := NGAP_Constants.id_RedundantCommonNetworkInstance,
//                          criticality := NGAP_CommonDataTypes.ignore,
//                          Value := omit //"NGAP_IEs.CommonNetworkInstance",
//                          //presence := NGAP_CommonDataTypes.optional_
//                        }, 
//                        {
//                          id := NGAP_Constants.id_RedundantPDUSessionInformation,
//                          criticality := NGAP_CommonDataTypes.ignore,
//                          Value := omit //"NGAP_IEs.RedundantPDUSessionInformation",
//                          //presence := NGAP_CommonDataTypes.optional_
//                        }, 
//                        {
//                          id := NGAP_Constants.id_MBSSessionSetupRequestList,
//                          criticality := NGAP_CommonDataTypes.ignore,
//                          Value := omit //"NGAP_IEs.MBSSessionSetupRequestList",
//                          //presence := NGAP_CommonDataTypes.optional_
//                        }
//                }
//  
//                }
//            }//end of template m_ie_pDUSessResSetReqTr
            
            //  type    record  PDUSessionResourceSetupResponseTransfer {
            
            //  type    NGAP_Containers.NGAP_PROTOCOL_EXTENSION PDUSessionResourceSetupResponseTransfer_ExtIEs  (
            //  type    record  PDUSessionResourceSetupUnsuccessfulTransfer {
            //  type    NGAP_Containers.NGAP_PROTOCOL_EXTENSION PDUSessionResourceSetupUnsuccessfulTransfer_ExtIEs  (?);
@@ -2117,7 +2229,10 @@ module LibNGAP_Templates {
            //  type    record  ScheduledCommunicationTime  {
            //  type    NGAP_Containers.NGAP_PROTOCOL_EXTENSION ScheduledCommunicationTime_ExtIEs   (?);
            //  type    record  length  (1  ..  NGAP_Constants.maxnoofXnTLAs)   of  TransportLayerAddress   SCTP_TLAs;
  
            //  type    octetstring SD  length  (3);
            template SD m_ie_sD(SD p_val) := p_val;

            //  type    record  SecondaryRATUsageInformation    {
            //  type    NGAP_Containers.NGAP_PROTOCOL_EXTENSION SecondaryRATUsageInformation_ExtIEs (?);
            //  type    record  SecondaryRATDataUsageReportTransfer {
@@ -2170,9 +2285,12 @@ module LibNGAP_Templates {
            //  type    record  SNPN_MobilityInformation    {
            //  type    NGAP_Containers.NGAP_PROTOCOL_EXTENSION SNPN_MobilityInformation_ExtIEs (?);
            //  type    record  S_NSSAI {
            template S_NSSAI m_ie_sNSSAI:={
	            sST := '00'O,
	            sD  := '000000'O,
            template S_NSSAI m_ie_sNSSAI(
                                         in template SST p_sST,
                                         in template SD p_sD
               ):={
	            sST := p_sST,//'00'O,
	            sD  := p_sD,//'000000'O,
	            iE_Extensions := omit
	        }//end of template m_ie_sNSSAI

@@ -2204,6 +2322,7 @@ module LibNGAP_Templates {
            //  type    octetstring RejectedNSSAIinPLMN length  (32);
            //  type    octetstring RejectedNSSAIinTA   length  (32);
            //  type    octetstring SST length  (1);
            template SST m_ie_sST(SST p_val):=p_val;

            //  type    record  length  (1  ..  NGAP_Constants.maxnoofTACs) of  SupportedTAItem SupportedTAList;
            template SupportedTAList  m_ie_supportedTAList(in template SupportedTAList p_list):= p_list;
@@ -2213,7 +2332,7 @@ module LibNGAP_Templates {
                                                      in template TAC p_tAC,
                                                      in template BroadcastPLMNList p_broadcastPLMNList
               ):={
	            tAC               :=  '000001'O,
	            tAC               :=  p_tAC,
	            broadcastPLMNList := p_broadcastPLMNList,
	            iE_Extensions  :=omit
	        }//end of template m_ie_supportedTAItem
@@ -2224,7 +2343,10 @@ module LibNGAP_Templates {
            //  type    enumerated  Suspend_Request_Indication  {
            //  type    enumerated  Suspend_Response_Indication {
            //  type    integer SurvivalTime    (
    
            //  type    octetstring TAC length  (3);
            template TAC m_ie_tAC(TAC p_val):=p_val;

            //  type    record  length  (1  ..  NGAP_Constants.maxnoofTACsinNTN)    of  TAC TACListInNRNTN;
            //  type    record  TAI {
            //  type    NGAP_Containers.NGAP_PROTOCOL_EXTENSION TAI_ExtIEs  (?);