LibS1AP_Templates.ttcn 266 KB
Newer Older
                value_ := {CriticalityDiagnostics := valueof(p_criticalityDiagnostics)}
            } // End of template m_criticalityDiagnostics_IE
            
            } // End of group Management_group
            
garciay's avatar
garciay committed
             * @desc Warning message transmission group
             * @see ETSI DTS/INT-00135-2 Clause 5.2.2.1.10  Trace group
garciay's avatar
garciay committed
            group Trace_group {
garciay's avatar
garciay committed
                 * @desc Send template for Trace Activation
                 * @param p_traceActivation Trace Activation value
                 * @see ETSI TS 136 413 V13.4.0 Clause 9.2.1.4 Trace Activation
garciay's avatar
garciay committed
                template (value) ProtocolIE m_traceActivation_IE(
                                                                 in template (value) TraceActivation p_traceActivation
garciay's avatar
garciay committed
                    id := S1AP_Constants.id_TraceActivation,
                    criticality := reject,
                    value_ := {TraceActivation := valueof(p_traceActivation)}
                } // End of template m_traceActivation_IE
garciay's avatar
garciay committed
                 * @desc Send template for E-UTRAN Trace ID
                 * @param p_eUTRAN_Trace_ID E-UTRAN Trace ID value
                 * @see ETSI TS 136 413 V13.4.0 Clause 9.2.1.4 Trace Activation
garciay's avatar
garciay committed
                template (value) ProtocolIE m_eUTRAN_Trace_ID_IE(
                                                                 in template (value) E_UTRAN_Trace_ID p_eUTRAN_Trace_ID
garciay's avatar
garciay committed
                    id := S1AP_Constants.id_E_UTRAN_Trace_ID,
                    criticality := reject,
                    value_ := {E_UTRAN_Trace_ID := valueof(p_eUTRAN_Trace_ID)}
                } // End of template m_eUTRAN_Trace_ID_IE
garciay's avatar
garciay committed
            } // End of group Trace_group
garciay's avatar
garciay committed
             * @desc Warning message transmission group
             * @see ETSI DTS/INT-00135-2 Clause 5.2.2.1.11  Location reporting group
garciay's avatar
garciay committed
            group Location_reporting_group {
garciay's avatar
garciay committed
                 * @desc Send template for RequestType
                 * @param p_request_Type Request Type value
                 * @see ETSI TS 136 413 V13.4.0 Clause 9.2.1.34 RequestType
garciay's avatar
garciay committed
                template (value) ProtocolIE m_request_Type_IE(
                                                              in template (value) RequestType p_request_Type
garciay's avatar
garciay committed
                    id := S1AP_Constants.id_RequestType,
                    criticality := reject,
                    value_ := { RequestType := valueof(p_request_Type) }
                } // End of template m_request_Type_IE
garciay's avatar
garciay committed
            } // End of group Location_reporting_group
            
            group Warning_Message_Transmission {
garciay's avatar
garciay committed
                 * @desc Send template for MessageIdentifier IE
                 * @param p_message_Identifier The message identifier value
                 * @see ETSI TS 136 413 Clause 9.2.1.44 Message Identifier
garciay's avatar
garciay committed
                template (value) ProtocolIE m_message_Identifier(
                                                                 in MessageIdentifier p_message_Identifier
garciay's avatar
garciay committed
                    id := S1AP_Constants.id_MessageIdentifier,
                    criticality := reject,
                    value_ := { MessageIdentifier := p_message_Identifier }
                } // End of template m_message_Identifier
garciay's avatar
garciay committed
                 * @desc Send template for SerialNumber IE
                 * @param p_serial_Number The serial number value
                 * @see ETSI TS 136 413 Clause 9.2.1.45 Serial Number
garciay's avatar
garciay committed
                template (value) ProtocolIE m_serial_Number(
                                                            in SerialNumber p_serial_Number
garciay's avatar
garciay committed
                    id := S1AP_Constants.id_SerialNumber,
                    criticality := reject,
                    value_ := { SerialNumber := p_serial_Number }
                } // End of template m_serial_Number
garciay's avatar
garciay committed
                
                /**
garciay's avatar
garciay committed
                 * @desc Send template for SerialNumber IE
                 * @param p_serial_Number The serial number value
                 * @see ETSI TS 136 413 Clause 9.2.1.46 Warning Area List
garciay's avatar
garciay committed
                 */
garciay's avatar
garciay committed
                template (value) ProtocolIE m_warning_Area_List(
                                                                in template (value) WarningAreaList p_warningAreaList
garciay's avatar
garciay committed
                    id := S1AP_Constants.id_WarningAreaList,
                    criticality := ignore,
                    value_ := { WarningAreaList := p_warningAreaList }
                } // End of template m_warning_Area_List
garciay's avatar
garciay committed
                
                /**
garciay's avatar
garciay committed
                 * @desc Send template for The Repetition Period IE
                 * @param p_repetition_Period The repetition period value
                 * @see ETSI TS 136 413 Clause 9.2.1.48 Repetition Period
garciay's avatar
garciay committed
                 */
garciay's avatar
garciay committed
                template (value) ProtocolIE m_repetition_Period(
                                                                in RepetitionPeriod p_repetition_Period
garciay's avatar
garciay committed
                    id := S1AP_Constants.id_RepetitionPeriod,
                    criticality := reject,
                    value_ := { RepetitionPeriod := p_repetition_Period }
                } // End of template m_repetition_Period
garciay's avatar
garciay committed
                
                /**
garciay's avatar
garciay committed
                 * @desc Send template for SerialNumber IE
                 * @param p_number_of_Broadcasts_Requested The number of Broadcasts Requested
                 * @see ETSI TS 136 413 Clause 9.2.1.49 Number of Broadcasts Requested
garciay's avatar
garciay committed
                 */
garciay's avatar
garciay committed
                template (value) ProtocolIE m_number_of_Broadcasts_Requested(
                                                                             in NumberOfBroadcasts p_number_of_Broadcasts_Requested
garciay's avatar
garciay committed
                    id := S1AP_Constants.id_NumberofBroadcastRequest,
garciay's avatar
garciay committed
                    criticality := reject,
garciay's avatar
garciay committed
                    value_ := { NumberOfBroadcasts := p_number_of_Broadcasts_Requested }
                } // End of template m_number_of_Broadcasts_Requested
garciay's avatar
garciay committed
                
garciay's avatar
garciay committed
            } // End of group Warning_Message_Transmission
garciay's avatar
garciay committed
            
        } // End of group Send_IEs
        
        group Receive_IEs{
            
            /**
garciay's avatar
garciay committed
             * @desc Receive template for MME UE S1AP ID protocol IE
             * @param p_value  Expected MME/UE S1AP identifier. Default: ?
garciay's avatar
garciay committed
             * @see ETSI TS 136 413 V13.4.0 Clause 9.2.3.3 MME UE S1AP ID
garciay's avatar
garciay committed
             */
pintar's avatar
pintar committed
            template (present) ProtocolIE mw_MME_UE_S1AP_ID(
                                                            template (present) MME_UE_S1AP_ID p_parm := ?,
                                                            template (present) ProtocolIE.criticality p_criticality := reject
garciay's avatar
garciay committed
            ) := {
                id := S1AP_Constants.id_MME_UE_S1AP_ID,
pintar's avatar
pintar committed
                criticality := p_criticality,
garciay's avatar
garciay committed
                value_ := {MME_UE_S1AP_ID := p_parm}
pintar's avatar
pintar committed
            } // End of template mw_MME_UE_S1AP_ID
garciay's avatar
garciay committed
            
            /**
garciay's avatar
garciay committed
             * @desc Receive template for ENB ID protocol IE
             * @param p_value  Expected ENB identifier. Default: ?
garciay's avatar
garciay committed
             * @see ETSI TS 136 413 V13.4.0 Clause 9.2.3.4 eNB UE S1AP ID
garciay's avatar
garciay committed
             */
garciay's avatar
garciay committed
            template (present) ProtocolIE mw_eNB_UE_S1AP_ID(
                                                            template (present) ENB_UE_S1AP_ID p_parm := ?,
                                                            template (present) ProtocolIE.criticality p_criticality := reject
garciay's avatar
garciay committed
            ) := {
                id := S1AP_Constants.id_eNB_UE_S1AP_ID,
pintar's avatar
pintar committed
                criticality := p_criticality,
garciay's avatar
garciay committed
                value_ := {ENB_UE_S1AP_ID := p_parm}
garciay's avatar
garciay committed
            } // End of template mw_eNB_UE_S1AP_ID
garciay's avatar
garciay committed
            
			template (present) ProtocolIE mw_E_RABReleaseList(
																	template (present) RecordOf_E_RABItem p_value := { ? }
			) := {
				id := S1AP_Constants.id_E_RABToBeReleasedList,
				criticality := ignore,
				value_ := { RecordOf_E_RABItem := p_value }
			} // End of template mw_E_RABReleaseList
			
garciay's avatar
garciay committed
            /**
pintar's avatar
pintar committed
             * @desc Receive template for E-RABSetupListBearerSUReq protocol IE
garciay's avatar
garciay committed
             * @param p_value  Expected protocol IE value. Default: m_E_RABToBeSetupItemBearerSUReq
garciay's avatar
garciay committed
             */
pintar's avatar
pintar committed
            template (present) ProtocolIE mw_E_RABSetupList(
                                                            template (present) RecordOf_E_RABSetupItemBearerSURes p_value := { mw_E_RABSetupItemBearerSURes }
            ) := {
garciay's avatar
garciay committed
                id := S1AP_Constants.id_E_RABSetupListBearerSURes,
                criticality := ignore,
                value_ := { RecordOf_E_RABSetupItemBearerSURes := p_value }
            } // End of template 
            /**
             * @desc Receive template for E-RABSetupListCtxtSUReq protocol IE
             * @param p_value  Expected protocol IE value. Default: m_E_RABToBeSetupItemBearerSUReq
             */
            template (present) ProtocolIE mw_E_RABSetupListCtxt(
                                                            template (present) RecordOf_E_RABToBeSetupItemCtxtSUReq p_value := { mw_E_RABToBeSetupItemCtxtSUReq }
            ) := {
                id := S1AP_Constants.id_E_RABToBeSetupListCtxtSUReq,
                criticality := ignore,
                value_ := { RecordOf_E_RABToBeSetupItemCtxtSUReq := p_value }
            } // End of template 
            /**
             * @desc Receive template for E-RABToBeSetupListBearerSUReq protocol IE
             * @param p_value  Protocol IE value. Default: mw_E_RABToBeSetupItemBearerSUReq
             */
            template (present) ProtocolIE mw_E_RABToBeSetupList(
                                                             template (present) RecordOf_E_RABToBeSetupItemBearerSUReq p_value := { mw_E_RABToBeSetupItemBearerSUReq }
            ) := {
                id := S1AP_Constants.id_E_RABToBeSetupListBearerSUReq,
                criticality := reject,
                value_ := { RecordOf_E_RABToBeSetupItemBearerSUReq := p_value }
            } // End of template mw_E_RABToBeSetupList
            /**
             * @desc Receive template for E-RABModifiedListBearerModReq protocol IE
             * @param p_value  Expected protocol IE value. Default: m_E_RABToBeSetupItemBearerSUReq
             */
            template (present) ProtocolIE mw_E_RABModifiedList(
                                                            template (present) RecordOf_E_RABModifyItemBearerModRes p_value := { mw_E_RABModifyItemBearerModRes }
            ) := {
                id := S1AP_Constants.id_E_RABModifyListBearerModRes,
                criticality := ignore,
                value_ := { RecordOf_E_RABModifyItemBearerModRes := p_value }
            } // End of template 
                       
pintar's avatar
pintar committed
            template (present) ProtocolIE mw_E_RABFailedToSetupList(
                                                                    template (present) RecordOf_E_RABItem p_value := { ? }
            ) := {
garciay's avatar
garciay committed
                id := S1AP_Constants.id_E_RABFailedToSetupListBearerSURes,
                criticality := ignore,
                value_ := { RecordOf_E_RABItem := p_value }
pintar's avatar
pintar committed
            } // End of template mw_E_RABFailedToSetupList
            /**
             * @desc Receive template for UE aggregate maxmum bitrate IE
             * @param p_value  UEAggregateMaximumBitrate value
             * @see ETSI TS 136 413 V13.4.0 Clause 9.2.1.20 UEAggregateMaximumBitrate
             */
            template ProtocolIE mw_UE_aggregate_maximum_bitrate_IE(
                                                   template (present) UEAggregateMaximumBitrate p_value
            ) := {
                id := S1AP_Constants.id_uEaggregateMaximumBitrate,
                criticality := reject,
                value_ := {UEAggregateMaximumBitrate := p_value}
            } // End of template mw_UE_aggregate_maximum_bitrate_IE
garciay's avatar
garciay committed
            /**
             * @desc Receive template for ResetType protocol IE 
             * @param p_value The ResetType value. Default: ?
             */
            template (present) ProtocolIE mw_resetType_IE(
                                                          template (present) ResetType p_resetType := ?
            ) := {
                id := S1AP_Constants.id_ResetType,
                criticality := reject,
                value_ := {ResetType := p_resetType}
            } // End of template mw_resetType_IE
garciay's avatar
garciay committed
            /**
             * @desc Receive template for the list of globally unique MME identity.
             * @param p_value   The list of the unique MME identities. Default: ?
             * @see ETSI TS 136 413 V13.4.0 Clause 9.2.3.9 GUMMEI
             */
            template (present) ProtocolIE mw_servedGUMMEIs_IE(
                                                              template (present) ServedGUMMEIs p_value := ?
            ) := {
                id := S1AP_Constants.id_ServedGUMMEIs,
                criticality := reject,
                value_ := { ServedGUMMEIs := p_value }
            } // End of template mw_servedGUMMEIs_IE
            
            /**
             * @desc Receive template for the list of the relative processing capacity of an MME.
             * @param p_value   The list of the relative processing capacity of an MME. Default: ?
             * @see ETSI TS 136 413 V13.4.0 Clause 9.2.3.17 Relative MME Capacity
             */
            template (present) ProtocolIE mw_relativeMMECapacity_IE(
                                                                    template (present) RelativeMMECapacity p_value := ?
            ) := {
                id := S1AP_Constants.id_RelativeMMECapacity,
                criticality := ignore,
                value_ := { RelativeMMECapacity := p_value }
            } // End of template mw_relativeMMECapacity_IE
            
            /**
             * @desc Receive template for NAS-PDU
             * @param p_nasPDU The expected NAS-PDU value. Default: ?
             * @see ETSI TS 136 413 V13.4.0 Clause 9.2.3.5 NAS-PDU
             */
            template (present) ProtocolIE mw_nAS_Pdu_IE(
                                                        template (present) octetstring p_nasPDU := ?
            ) := {
                id := S1AP_Constants.id_NAS_PDU,
                criticality := reject,
                value_ := {octetstring := p_nasPDU}
            } // End of template mw_nAS_Pdu_IE
            
garciay's avatar
garciay committed
            /**
             * @desc Receive template for SupportedTAs protocol IE 
             * @param p_value The SupportedTAs value. Default: ?
             */
            template (present) ProtocolIE mw_supportedTAs_IE(
                                                             template (present) SupportedTAs p_value := ?
            ) := {
                id := S1AP_Constants.id_SupportedTAs,
                criticality := reject,
                value_ := {SupportedTAs := p_value}
            } // End of template mw_supportedTAs_IE
            
            /**
             * @desc Receive template for PagingDRX protocol IE 
             * @param p_value The PagingDRX value. Default: ?
             */
            template (present) ProtocolIE mw_pagingDRX_IE(
                                                             template (present) PagingDRX p_value := ?
            ) := {
                id := S1AP_Constants.id_pagingDRX,
                criticality := reject,
                value_ := {PagingDRX := p_value}
            } // End of template mw_pagingDRX_IE
            
            /**
             * @desc Receive template for Overload Response protocol IE 
             * @param p_value The required behaviour of the eNB in an overload situation value. Default: ?
             */
            template (present) ProtocolIE mw_overloadResponse_IE(
                                                                 template (present) OverloadResponse p_value := ?
            ) := {
                id := S1AP_Constants.id_OverloadResponse,
                criticality := reject,
                value_ := {OverloadResponse := p_value}
            } // End of template mw_overloadResponse_IE
            
            /**
             * @desc Receive template for UE_associatedLogicalS1_ConnectionItem protocol IE 
             * @param p_value The UE_associatedLogicalS1_ConnectionItem value. Default: ?
             */
            template (present) ProtocolIE mw_uE_associatedLogicalS1_ConnectionItemResAck_IE(
                                                                                            template (present) UE_associatedLogicalS1_ConnectionItem p_value := ?
            ) := {
                id := S1AP_Constants.id_UE_associatedLogicalS1_ConnectionItem,
                criticality := reject,
                value_ := { UE_associatedLogicalS1_ConnectionItem := p_value }
            } // End of template mw_uE_associatedLogicalS1_ConnectionItemResAck_IE
            /**
             * @desc Receive template for UEIdentityIndexValue protocol IE 
             * @param p_value The expected UE Identity Index value IE is used by the eNB to calculate the Paging Frame TS 36.304. Default: ?
             */
            template (present) ProtocolIE mw_uEIdentityIndexValue_IE(
                                                                     template (present) UEIdentityIndexValue p_value := ?
            ) := {
                id := S1AP_Constants.id_UEIdentityIndexValue,
                criticality := ignore,
                value_ := { UEIdentityIndexValue := p_value }
            } // End of template mw_uEIdentityIndexValue_IE
            
            /**
             * @desc Receive template for UEPagingID protocol IE 
             * @param p_value The expected Identity with which the UE is paged. Default: ?
             */
            template (present) ProtocolIE mw_uEPagingID_IE(
                                                           template (present) UEPagingID p_value := ?
            ) := {
                id := S1AP_Constants.id_UEPagingID,
                criticality := ignore,
                value_ := { UEPagingID := p_value }
            } // End of template mw_uEPagingID_IE
            
            /**
             * @desc Receive template for CNDomain protocol IE 
             * @param p_value The expected CN Domain. Default: ?
             */
            template (present) ProtocolIE mw_cNDomain_IE(
                                                         template (present) CNDomain p_value := ?
            ) := {
                id := S1AP_Constants.id_CNDomain,
                criticality := ignore,
                value_ := { CNDomain := p_value }
            } // End of template mw_cNDomain_IE
            
            /**
             * @desc Receive template for GUMMEIList protocol IE 
             * @param p_gUMMEIList The GUMMEIList value. Default: ?
             */
            template (present) ProtocolIE mw_gUMMEIList_IE(
                                                           template (present) GUMMEIList p_gUMMEIList := ?
            ) := {
                id := S1AP_Constants.id_GUMMEIList,
                criticality := ignore,
                value_ := { GUMMEIList := p_gUMMEIList }
            } // End of template mw_gUMMEIList_IE
            
            /**
             * @desc Receive template for TAI protocol IE 
             * @param p_tAI The TAI value. Default: ?
             */
            template (present) ProtocolIE mw_tAIs_IE(
                                                     template (present) TAIList p_tAIs := ?
            ) := {
                id := S1AP_Constants.id_TAIList,
                criticality := ignore,
                value_ := { TAIList := p_tAIs }
            } // End of template mw_tAs_IE
            
            /**
             * @desc Receive template for TAI protocol IE 
             * @param p_tAI The TAI value. Default: ?
             */
garciay's avatar
garciay committed
            template (present) ProtocolIE mw_tAI_IE(
garciay's avatar
garciay committed
                                                    template (present) TAI p_tAI := ?
garciay's avatar
garciay committed
                id := S1AP_Constants.id_TAI,
                criticality := ignore,
                value_ := { TAI := p_tAI }
garciay's avatar
garciay committed
            } // End of template mw_tAI_IE
            /**
             * @desc Receive template for Global eNB ID protocol IE
             * @param p_global_ENB_ID The Global eNB ID value. Default: ?
             */
garciay's avatar
garciay committed
            template (present) ProtocolIE mw_global_eNB_ID_IE(
garciay's avatar
garciay committed
                                                              template (present) Global_ENB_ID p_global_ENB_ID := ?
garciay's avatar
garciay committed
                id := S1AP_Constants.id_Global_ENB_ID,
                criticality := ignore,
                value_ := { Global_ENB_ID := p_global_ENB_ID }
garciay's avatar
garciay committed
            } // End of template mw_global_eNB_ID_IE
            /**
             * @desc Receive template for the list of E-RABs Subject to Forwarding protocol IE
             * @param p_eRABDataForwardingItem The list of E-RABs Subject to Forwarding. Default: ?
             */
            template (present) ProtocolIE mw_eRABDataForwardingItem_IE(
                                                                       template (present) RecordOf_E_RABDataForwardingItem p_eRABDataForwardingItems := ?
            ) := {
                id := S1AP_Constants.id_E_RABDataForwardingItem,
                criticality := ignore,
                value_ := { RecordOf_E_RABDataForwardingItem := p_eRABDataForwardingItems}
            } // End of template mw_eRABDataForwardingItem_IE
            
garciay's avatar
garciay committed
             * @desc Receive template for E-UTRAN CGI protocol IE
             * @param p_eUTRAN_CGI  Expected E-UTRAN CGI value. Default: ?
             * @see ETSI TS 136 413 V13.4.0 Clause 9.2.1.38 E-UTRAN CGI
garciay's avatar
garciay committed
            template (present) ProtocolIE mw_eUTRAN_CGI_IE(
                                                           template (present) EUTRAN_CGI p_eUTRAN_CGI := ?
garciay's avatar
garciay committed
                id := S1AP_Constants.id_EUTRAN_CGI,
                criticality := reject,
                value_ := {EUTRAN_CGI := p_eUTRAN_CGI}
            } // End of template mw_eUTRAN_CGI_IE
garciay's avatar
garciay committed
             * @desc Receive template for E-UTRAN Trace ID protocol IE
             * @param p_eUTRAN_CGI  Expected E-UTRAN Trace ID value. Default: ?
             * @see ETSI TS 136 413 V13.4.0 Clause 9.1.11.2 TRACE FAILURE INDICATION
garciay's avatar
garciay committed
            template (present) ProtocolIE mw_eUTRAN_Trace_ID_IE(
                                                                template (present) E_UTRAN_Trace_ID p_eUTRAN_Trace_ID := ?
garciay's avatar
garciay committed
                id := S1AP_Constants.id_E_UTRAN_Trace_ID,
                criticality := reject,
                value_ := {E_UTRAN_Trace_ID := p_eUTRAN_Trace_ID}
            } // End of template mw_eUTRAN_Trace_ID_IE
garciay's avatar
garciay committed
             * @desc Receive template for Type Request protocol IE
             * @param p_request_Type  Expected RequestType value. Default: ?
             * @see ETSI TS 136 413 V13.4.0 Clause 9.2.1.34 Request Type
garciay's avatar
garciay committed
            template (present) ProtocolIE mw_request_Type_IE(
                                                             template (present) RequestType p_request_Type := ?
garciay's avatar
garciay committed
                id := S1AP_Constants.id_RequestType,
                criticality := reject,
                value_ := {RequestType := p_request_Type}
            } // End of template mw_request_Type_IE
garciay's avatar
garciay committed
             * @desc Receive template for Cause protocol IE
             * @param p_cause  Expected Cause value. Default: ?
             * @see ETSI TS 136 413 V13.4.0 Clause 9.2.1.3 Cause
garciay's avatar
garciay committed
            template (present) ProtocolIE mw_cause_IE(
garciay's avatar
garciay committed
                                                      template (present) Cause p_cause := ?,
                                                      template (present) ProtocolIE.criticality p_criticality := reject
garciay's avatar
garciay committed
                id := S1AP_Constants.id_Cause,
garciay's avatar
garciay committed
                criticality := p_criticality,
garciay's avatar
garciay committed
                value_ := {Cause := p_cause}
            } // End of template mw_cause_IE
garciay's avatar
garciay committed
            /**
             * @desc Receive template for Cause protocol IE
             * @param p_cause  Expected Cause value. Default: ?
             * @see ETSI TS 136 413 V13.4.0 Clause 9.2.1.3 Cause
             */
            template (present) ProtocolIE mw_criticalityDiagnostics_IE(
                                                                       template (present) CriticalityDiagnostics p_criticalityDiagnostics := ?,
                                                                       template (present) ProtocolIE.criticality p_criticality := ignore
            ) := {
                id := S1AP_Constants.id_CriticalityDiagnostics,
                criticality := p_criticality,
                value_ := {CriticalityDiagnostics := p_criticalityDiagnostics}
            } // End of template mw_criticalityDiagnostics_IE
            
            /**
             * @desc Receive template for CDMA2000-PDU
             * @param p_cdma2000PDU The expected CDMA2000-PDU value. Default: ?
             * @see ETSI TS 136 413 V13.4.0 Clause 9.2.1.23 CDMA2000-PDU
             */
            template (present) ProtocolIE mw_cdma2000_Pdu_IE(
                                                             template (present) octetstring p_cdma2000PDU := ?
            ) := {
                id := S1AP_Constants.id_cdma2000PDU,
                criticality := reject,
                value_ := {octetstring := p_cdma2000PDU}
            } // End of template mw_cdma2000_Pdu_IE
            
            /**
             * @desc Receive template for CDMA2000 RAT Type
             * @param p_traceActivation The expected CDMA2000-PDU value. Default: ?
             * @see ETSI TS 136 413 V13.4.0 Clause 9.2.1.24 CDMA2000 RAT Type. Default: ?
             */
            template (present) ProtocolIE mw_cdma2000_RAT_Type_IE(
                                                                  template (present) Cdma2000RATType p_cdma2000RATType := ?
            ) := {
                id := S1AP_Constants.id_cdma2000RATType,
                criticality := reject,
                value_ := {Cdma2000RATType := p_cdma2000RATType}
            } // End of template mw_cdma2000_RAT_Type_IE
            
            /**
             * @desc Receive template for CDMA2000-SectorId
             * @param p_traceActivation The expected CDMA2000-SectorId value. Default: ?
             * @see ETSI TS 136 413 V13.4.0 Clause 9.2.1.23 CDMA2000-SectorId. Default: ?
             */
            template (present) ProtocolIE mw_cdma2000_SectorId_IE(
                                                                  template (present) octetstring p_cdma2000SectorId := ?
            ) := {
                id := S1AP_Constants.id_cdma2000SectorID,
                criticality := reject,
                value_ := {octetstring := p_cdma2000SectorId}
            } // End of template mw_cdma2000_SectorId_IE
            
            /**
             * @desc Receive template for E Radio Capability
             * @param p_traceActivation The expected E Radio Capability value. Default: ?
             * @see ETSI TS 136 413 V13.4.0 Clause 9.2.1.27 UE Radio Capability. Default: ?
             */
            template (present) ProtocolIE mw_ueRadioCapability_IE(
                                                                  template (present) octetstring p_ueRadioCapability := ?
            ) := {
                id := S1AP_Constants.id_UERadioCapability,
                criticality := reject,
                value_ := {octetstring := p_ueRadioCapability}
            } // End of template mw_ueRadioCapability_IE
            
            /**
             * @desc Receive template for CDMA2000 RAT Type
             * @param p_traceActivation The expected CDMA2000-PDU value. Default: ?
             * @see ETSI TS 136 413 V13.4.0 Clause 9.2.1.28 CDMA2000 HO Status. Default: ?
             */
            template (present) ProtocolIE mw_cdma2000_HO_Status_IE(
                                                                   template (present) Cdma2000HOStatus p_cdma2000HOStatus := ?
            ) := {
                id := S1AP_Constants.id_cdma2000HOStatus,
                criticality := reject,
                value_ := {Cdma2000HOStatus := p_cdma2000HOStatus}
            } // End of template mw_cdma2000_HO_Status_IE
            
            /**
             * @desc Receive template for CDMA2000 RAT Type
             * @param p_traceActivation The expected CDMA2000-PDU value. Default: ?
             * @see ETSI TS 136 413 V13.4.0 Clause 9.2.1.29 CDMA2000 HO Required Indication. Default: ?
             */
            template (present) ProtocolIE mw_cdma2000_Required_Indication_IE(
                                                                             template (present) Cdma2000HORequiredIndication p_cdma2000HORequiredIndication := ?
            ) := {
                id := S1AP_Constants.id_cdma2000HORequiredIndication,
                criticality := reject,
                value_ := {Cdma2000HORequiredIndication := p_cdma2000HORequiredIndication}
            } // End of template mw_cdma2000_Required_Indication_IE
            
garciay's avatar
garciay committed
             * @desc Receive template for Trace Activation
             * @param p_traceActivation The expected Trace Activation value. Default: ?
             * @see ETSI TS 136 413 V13.4.0 Clause 9.2.1.4 Trace Activation
garciay's avatar
garciay committed
            template (present) ProtocolIE mw_traceActivation_IE(
                                                                template (present) TraceActivation p_traceActivation := ?
garciay's avatar
garciay committed
                id := S1AP_Constants.id_TraceActivation,
                criticality := reject,
                value_ := {TraceActivation := p_traceActivation}
            } // End of template mw_traceActivation_IE
garciay's avatar
garciay committed
             * @desc Receive template for Deactivate Trace
             * @param p_traceActivation The expected Trace Deactivate Trace. Default: ?
             * @see ETSI TS 136 413 V13.4.0 Clause 9.1.11.3 DEACTIVATE TRACE
garciay's avatar
garciay committed
            template (present) ProtocolIE mw_deactivateTrace_IE(
                                                                template (present) DeactivateTrace p_deactivateTrace := ?
garciay's avatar
garciay committed
                id := S1AP_Constants.id_DeactivateTrace,
                criticality := reject,
                value_ := {DeactivateTrace := p_deactivateTrace}
            } // End of template mw_deactivateTrace_IE
            /**
             * @desc  Receive template for Transport Layer Address
             * @param p_transportLayerAddress  Transport Layer Address value. Default: ?.
             */
            template (present) ProtocolIE mw_transportLayerAddress_IE(
                                                                      template (present) bitstring p_transportLayerAddress := ?
            ) := {
                id := S1AP_Constants.id_TraceCollectionEntityIPAddress,
                criticality := reject,
                value_ := { bitstring := p_transportLayerAddress }
            } // End of template mw_transportLayerAddress_IE
            
            /**
             * @desc Receive template for LPPa-PDU
garciay's avatar
garciay committed
             * @param p_value The expected Routing ID value. Default: ?
             * @see ETSI TS 136 413 V13.4.0 Clause 9.2.3.32 LPPa-PDU
            template (present) ProtocolIE mw_LPPa_PDU_IE(
                                                         template (present) octetstring p_value := ?
            ) := {
                id := S1AP_Constants.id_LPPa_PDU,
                criticality := ignore,
                value_ := { LPPa_PDU := p_value }
            } // End of template mw_LPPa_PDU_IE
garciay's avatar
garciay committed
             * @param p_value The expected Routing ID value. Default: ?
             * @see ETSI TS 136 413 V13.4.0 Clause 9.2.3.33 Routing ID
garciay's avatar
garciay committed
            template (present) ProtocolIE mw_routing_ID_IE(
                                                           template (present) UInt8 p_value := ?
            ) := {
                id := S1AP_Constants.id_Routing_ID,
                criticality := ignore,
                value_ := { Routing_ID := p_value }
garciay's avatar
garciay committed
            } // End of template mw_routing_ID_IE
            /**
             * @desc Receive template for S1 Message
             * @param p_value The expected S1 Message value. Default: ?
             */
            template (present) ProtocolIE mw_s1_Message_IE(
                                                           template (present) octetstring p_value := ?
            ) := {
                id := S1AP_Constants.id_S1_Message,
                criticality := ignore,
                value_ := { octetstring := p_value }
            } // End of template mw_s1_Message_IE
            
            /**
             * @desc Receive template for MME Group ID
             * @param p_value The expected MME Group ID value. Default: ?
             * @see ETSI TS 136 413 V13.4.0 Clause 9.2.3.44 MME Group ID
             */
            template (present) ProtocolIE mw_mME_Group_ID_IE(
                                                             template (present) MME_Group_ID p_value := ?
            ) := {
                id := S1AP_Constants.id_MME_Group_ID,
                criticality := ignore,
                value_ := { MME_Group_ID := p_value }
            } // End of template mw_mME_Group_ID_IE
            
garciay's avatar
garciay committed
            /**
             * @desc Send template for MessageIdentifier IE
             * @param p_message_Identifier The expected message identifier value. Default: ?
             * @see ETSI TS 136 413 Clause 9.2.1.44 Message Identifier
             */
            template (present) ProtocolIE mw_message_Identifier_IE(
                                                                   template (present) MessageIdentifier p_message_Identifier := ?
garciay's avatar
garciay committed
            ) := {
                id := S1AP_Constants.id_MessageIdentifier,
                criticality := reject,
                value_ := { MessageIdentifier := p_message_Identifier }
            } // End of template mw_Message_Identifier
            
            /**
             * @desc Receive template for SerialNumber IE
             * @param p_serial_Number The expected serial number value. Default: ?
             * @see ETSI TS 136 413 Clause 9.2.1.45 Serial Number
             */
           template (present) ProtocolIE mw_serial_Number_IE(
                                                             template (present) SerialNumber p_serial_Number := ?
garciay's avatar
garciay committed
            ) := {
                id := S1AP_Constants.id_SerialNumber,
                criticality := reject,
                value_ := { SerialNumber := p_serial_Number }
            } // End of template mw_serial_Number_IE
garciay's avatar
garciay committed
            
            /**
             * @desc Receive template for SerialNumber IE
             * @param p_serial_Number The expected warning area value. Default: ?
             * @see ETSI TS 136 413 Clause 9.2.1.46 Warning Area List
             */
            template (present) ProtocolIE mw_warning_Area_List_IE(
                                                                  template (present) WarningAreaList p_warningAreaList := ?
garciay's avatar
garciay committed
            ) := {
                id := S1AP_Constants.id_WarningAreaList,
                criticality := ignore,
                value_ := { WarningAreaList := p_warningAreaList }
            } // End of template mw_warning_Area_List_IE
garciay's avatar
garciay committed
            
            /**
             * @desc Receive template for The Repetition Period IE
             * @param p_repetition_Period The expected repetition period value. Default: ?
             * @see ETSI TS 136 413 Clause 9.2.1.48 Repetition Period
             */
            template (present) ProtocolIE mw_repetition_Period_IE(
                                                                  template (present) RepetitionPeriod p_repetition_Period := ?
garciay's avatar
garciay committed
            ) := {
                id := S1AP_Constants.id_RepetitionPeriod,
                criticality := reject,
                value_ := { RepetitionPeriod := p_repetition_Period }
            } // End of template mw_repetition_Period_IE
garciay's avatar
garciay committed
            
            /**
             * @desc Receive template for SerialNumber IE
             * @param p_number_of_Broadcasts_Requested The expected number of Broadcasts Requested value. Default: ?
             * @see ETSI TS 136 413 Clause 9.2.1.49 Number of Broadcasts Requested
             */
            template (present) ProtocolIE mw_number_of_Broadcasts_Requested_IE(
                                                                               template (present) NumberOfBroadcasts p_number_of_Broadcasts_Requested := ?
garciay's avatar
garciay committed
            ) := {
                id := S1AP_Constants.id_NumberofBroadcastRequest,
                criticality := reject,
                value_ := { NumberOfBroadcasts := p_number_of_Broadcasts_Requested }
            } // End of template mw_number_of_Broadcasts_Requested_IE
garciay's avatar
garciay committed
            
            /**
             * @desc Receive template for E-CGI List for Restart
             * @param p_eCGIListForRestart
             * @see ETSI TS 136 413 Clause 9.2.1.38 E-CGI
             */
            template (present) ProtocolIE mw_eCGIListForRestart(
                                                                template (present) ECGIListForRestart p_eCGIListForRestart := ?
            ) := {
                id := S1AP_Constants.id_ECGIListForRestart,
                criticality := reject,
                value_ := { ECGIListForRestart := p_eCGIListForRestart }
            } // End of template mw_eCGIListForRestart
            
            /**
             * @desc Receive template for E-CGI List for Failure
             * @param p_eCGIListForFailure
             * @see ETSI TS 136 413 Clause 9.2.1.38 E-CGI
             */
            template (present) ProtocolIE mw_pWSfailedECGIList(
                                                                template (present) PWSfailedECGIList p_pWSfailedECGIList := ?
            ) := {
                id := S1AP_Constants.id_PWSfailedECGIList,
                criticality := reject,
                value_ := { PWSfailedECGIList := p_pWSfailedECGIList }
            } // End of template mw_pWSfailedECGIList
            
            /**
             * @desc Receive template for TAI List for Restart
             * @param p_eCGIListForRestart
             * @see ETSI TS 136 413 Clause 9.2.3.16 TAI
             */
            template (present) ProtocolIE mw_tAIListForRestart(
                                                               template (present) TAIListForRestart p_tAIListForRestart := ?
            ) := {
                id := S1AP_Constants.id_TAIListForRestart,
                criticality := reject,
                value_ := { TAIListForRestart := p_tAIListForRestart }
            } // End of template mw_tAIListForRestart
            
            /**
             * @desc 
             * @param p_emergencyAreaIDListForRestart
             */
            template (present) ProtocolIE mw_emergencyAreaIDListForRestart(
                                                                           template (present) EmergencyAreaIDListForRestart p_emergencyAreaIDListForRestart := ?
            ) := {
                id := S1AP_Constants.id_EmergencyAreaIDListForRestart,
                criticality := reject,
                value_ := { EmergencyAreaIDListForRestart := p_emergencyAreaIDListForRestart }
            } // End of template mw_emergencyAreaIDListForRestart
            
            /**
             * @desc 
             * @param p_handoverType
             * @param p_criticality
             */
            template (present) ProtocolIE mw_handoverType_IE(
                template (present) HandoverType p_handoverType := ?,
                template (present) ProtocolIE.criticality p_criticality := reject
            ) := {
                id := S1AP_Constants.id_HandoverType,
                criticality := p_criticality,
                value_ := { HandoverType := p_handoverType }
            } // End of template mw_handoverType
            
            /**
             * @desc 
             * @param p_value
             * @param p_criticality
             */
            template (present) ProtocolIE mw_source_ToTarget_TransparentContainer_IE(
                template (present) Source_ToTarget_TransparentContainer p_value := ?,
                template (present) ProtocolIE.criticality p_criticality := reject
            ) := {
                id := S1AP_Constants.id_Source_ToTarget_TransparentContainer,
                criticality := p_criticality,
                value_ := { Source_ToTarget_TransparentContainer := p_value }
            } // End of template mw_handoverType    
            /**
             * @desc 
             * @param p_value
             * @param p_criticality
             */
            template (present) ProtocolIE mw_voice_support_match_indicator_IE(
                template (present) VoiceSupportMatchIndicator p_value := ?,
                template (present) ProtocolIE.criticality p_criticality := reject
            ) := {
                id := S1AP_Constants.id_VoiceSupportMatchIndicator,
                criticality := p_criticality,
                value_ := { VoiceSupportMatchIndicator := p_value }
            } // End of template mw_handoverType   
            
            /**
             * @desc receive template for UE security Capabilities IE
             * @param p_value  UESecurityCapabilities value
             * @see ETSI TS 136 413 V13.4.0 Clause 9.2.1.40 UESecurityCapabilities
             */
            template (present) ProtocolIE mw_UE_securityCapabilities_IE(
                                                   in template (present) UESecurityCapabilities p_value:=?,
                                                   in template (present) ProtocolIE.criticality p_criticality := reject
            ) := {
                id := S1AP_Constants.id_UESecurityCapabilities,
                criticality := p_criticality,
                value_ := {UESecurityCapabilities := p_value}
            } // End of template mw_UE_securityCapabilities_IE
            /**
             * @desc receive template for security key IE
             * @param p_value  UESecurityCapabilities value
             * @see ETSI TS 136 413 V13.4.0 Clause 9.2.1.41 Security Key
             */
            template (present) ProtocolIE mw_securityKey_IE(
                                                   in template (present) SecurityKey p_value:=?,
                                                   in template (present) ProtocolIE.criticality p_criticality := reject
            ) := {
                id := S1AP_Constants.id_SecurityKey,
                criticality := p_criticality,
                value_ := {SecurityKey := p_value}
            } // End of template mw_securityKey_IE
garciay's avatar
garciay committed
        } // End of group Receive_IEs
        
        group g_IEParameters {
garciay's avatar
garciay committed
            
garciay's avatar
garciay committed
            group causes {
                
                template(value) Cause m_cause_nas(
                                                  in template (value) CauseNas p_nas
                ) := {
                    nas := p_nas
                } // End of template m_cause_nas
                
                template(value) Cause m_cause_ran(
                                                  in template (value) CauseRadioNetwork p_radioNetwork
                ) := {
                    radioNetwork := p_radioNetwork
                } // End of template m_cause_ran
                                
garciay's avatar
garciay committed
                template(present) Cause mw_cause_ran(
                                                     template (present) CauseRadioNetwork p_radioNetwork := ?
                ) := {
                    radioNetwork := p_radioNetwork
                } // End of template mw_cause_ran
                
                template(present) Cause mw_cause_transport(
                                                           template (present) CauseTransport p_transport := ?
                ) := {
                    transport := p_transport
                } // End of template mw_cause_transport
                
                template(present) Cause mw_cause_nas(
                                                     template (present) CauseNas p_nas := ?
                ) := {
                    nas := p_nas
                } // End of template mw_cause_nas
                
                template(present) Cause mw_cause_protocol(
                                                          template (present) CauseProtocol p_protocol := ?
                ) := {
                    protocol := p_protocol
                } // End of template mw_cause_protocol
                
                template(present) Cause mw_cause_misc(
                                                      template (present) CauseMisc p_misc := ?
                ) := {
                    misc := p_misc
                } // End of template mw_cause_misc
                
            } // End of group causes
            
garciay's avatar
garciay committed
            /**
             * @desc 
             */
            template(omit) E_RABToBeSetupItemBearerSUReq m_E_RABToBeSetupItemBearerSUReq(
                                                                                         in E_RAB_ID p_e_RAB_ID := 0,
                                                                                         in template (value) E_RABLevelQoSParameters p_e_RABlevelQoSParameters := m_e_RABlevelQoSParameters,
                                                                                         in template (value) TransportLayerAddress p_transportLayerAddress := '0'B,
                                                                                         in template (value) GTP_TEID p_gTP_TEID := '00000000'O,
                                                                                         in template (value) NAS_PDU p_nAS_PDU := '0000'O,
                                                                                         in template (omit) E_RABToBeSetupItemBearerSUReq.iE_Extensions p_iE_Extensions := omit
garciay's avatar
garciay committed
            ) := {
                e_RAB_ID := p_e_RAB_ID,
                e_RABlevelQoSParameters := valueof(p_e_RABlevelQoSParameters),
                transportLayerAddress := p_transportLayerAddress,
                gTP_TEID := p_gTP_TEID,
                nAS_PDU := p_nAS_PDU,
                iE_Extensions := p_iE_Extensions
garciay's avatar
garciay committed
            } // End of template m_E_RABToBeSetupItemBearerSUReq
            /**
             * @desc 
             */
            template (present) E_RABToBeSetupItemBearerSUReq mw_E_RABToBeSetupItemBearerSUReq(
                                                                                          template (present) E_RAB_ID p_e_RAB_ID := 0,
                                                                                          template (present) E_RABLevelQoSParameters p_e_RABlevelQoSParameters := mw_e_RABlevelQoSParameters,
                                                                                          template (present) TransportLayerAddress p_transportLayerAddress := '0'B,
                                                                                          template (present) GTP_TEID p_gTP_TEID := '00000000'O,
                                                                                          template (present) NAS_PDU p_nAS_PDU := '0000'O,
                                                                                          template E_RABToBeSetupItemBearerSUReq.iE_Extensions p_iE_Extensions := *
            ) := {
                e_RAB_ID := p_e_RAB_ID,
                e_RABlevelQoSParameters := p_e_RABlevelQoSParameters,
                transportLayerAddress := p_transportLayerAddress,
                gTP_TEID := p_gTP_TEID,
                nAS_PDU := p_nAS_PDU,
                iE_Extensions := p_iE_Extensions
            } // End of template mw_E_RABToBeSetupItemBearerSUReq
            template(omit) E_RABToBeModifiedItemBearerModReq m_E_RABToBeModifiedItemBearerSUReq(
                                                                                                in E_RAB_ID p_e_RAB_ID := 0,
                                                                                                in template (value) E_RABLevelQoSParameters p_e_RABlevelQoSParameters := m_e_RABlevelQoSParameters,
                                                                                                in template (value) NAS_PDU p_nAS_PDU := '0000'O,
                                                                                                in template (omit) E_RABToBeModifiedItemBearerModReq.iE_Extensions p_iE_Extensions := omit
            ) := {
                e_RAB_ID := p_e_RAB_ID,
                e_RABLevelQoSParameters := valueof(p_e_RABlevelQoSParameters),
                nAS_PDU := p_nAS_PDU,
                iE_Extensions := p_iE_Extensions
            } // End of template m_E_RABToBeSetupItemBearerSUReq

			/**
			 * @desc 
			 */
			template(omit) E_RABItem m_E_RABItem(in E_RAB_ID p_e_RAB_ID := 0
																						
			) := {
				e_RAB_ID := p_e_RAB_ID
			} // End of template m_E_RABToBeSetupItemBearerSUReq
garciay's avatar
garciay committed
            
            /**
             * @desc 
             * @param p_qCI
             */
            template (value) E_RABLevelQoSParameters m_e_RABlevelQoSParameters(
                                                                               in QCI p_qCI := 0
garciay's avatar
garciay committed
                qCI := p_qCI,
                allocationRetentionPriority := {
                    priorityLevel := 0,
                    pre_emptionCapability := shall_not_trigger_pre_emption,
                    pre_emptionVulnerability := pre_emptable,
                    iE_Extensions := omit
                },
                gbrQosInformation := omit,
                iE_Extensions := omit
            } // End of template m_e_RABlevelQoSParameters
            
            /**
             * @desc 
             * @param p_qCI
             */
            template (present) E_RABLevelQoSParameters mw_e_RABlevelQoSParameters(
                                                                               template (present) QCI p_qCI := 0
            ) := {
                qCI := p_qCI,
                allocationRetentionPriority := {
                    priorityLevel :=?,
                    pre_emptionCapability := ?,
                    pre_emptionVulnerability := ?,
                    iE_Extensions := *
                },
                gbrQosInformation := *,
                iE_Extensions := *