LibS1AP_Templates.ttcn 304 KB
Newer Older
garciay's avatar
garciay committed
                    /**
                     * @desc Receive template DOWNLINK_NONE_UE_ASSOCIATED_LPPA_TRANSPORT/IEs message 
                     * @param p_Routing_ID  Routing ID value. Default: ?
                     * @param p_LPPa_PDU    LPPa-PDU value. Default: ?
                     * @see ETSI TS 136 413 V13.4.0 Clause 9.1.19.3 DOWNLINK NON UE ASSOCIATED LPPA TRANSPORT
                     */
                    template (present) RecordOf_ProtocolIE mw_DownlinkNonUEAssociatedLppaTransportIEs_LPPa_PDU(
                                                                                                               template (present) UInt8 p_Routing_ID := ?,
                                                                                                               template (present) octetstring p_LPPa_PDU := ?
                    ) modifies mw_DownlinkNonUEAssociatedLppaTransportIEs := {
garciay's avatar
garciay committed
                        mw_routing_ID_IE(p_Routing_ID),
                        mw_LPPa_PDU_IE(p_LPPa_PDU)
garciay's avatar
garciay committed
                    } // End of template mw_DownlinkNonUEAssociatedLppaTransportIEs_LPPa_PDU
                    
                } // End of group LPPa_transport_group
garciay's avatar
garciay committed
            } // End of group receiveClass2
garciay's avatar
garciay committed
            
garciay's avatar
garciay committed
        } //End of group class2
        
    } // End of group g_S1AP
    
    group S1AP_Protocol_IEs {
garciay's avatar
garciay committed
        
garciay's avatar
garciay committed
        group Send_IEs {
garciay's avatar
garciay committed
            
garciay's avatar
garciay committed
             * @desc Send template for Cause protocol IE
             * @param p_cause  Expected Cause value
             * @see ETSI TS 136 413 V13.4.0 Clause 9.2.1.3 Cause
garciay's avatar
garciay committed
            template (value) ProtocolIE m_cause_IE(
garciay's avatar
garciay committed
                                                   in template (value) Cause p_cause,
                                                   in template (value) 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 := valueof(p_cause)}
            } // End of template m_cause_IE
            /**
             * @desc Send 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 (value) ProtocolIE m_UE_aggregate_maximum_bitrate_IE(
                                                   in template (value) UEAggregateMaximumBitrate p_value,
                                                   in template (value) ProtocolIE.criticality p_criticality := reject
            ) := {
                id := S1AP_Constants.id_uEaggregateMaximumBitrate,
                criticality := p_criticality,
                value_ := {UEAggregateMaximumBitrate := valueof(p_value)}
            } // End of template m_UE_aggregate_maximum_bitrate_IE
            /**
             * @desc Send 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 (value) ProtocolIE m_UE_securityCapabilities_IE(
                                                   in template (value) UESecurityCapabilities p_value,
                                                   in template (value) ProtocolIE.criticality p_criticality := reject
            ) := {
                id := S1AP_Constants.id_UESecurityCapabilities,
                criticality := p_criticality,
                value_ := {UESecurityCapabilities := valueof(p_value)}
            } // End of template m_UE_securityCapabilities_IE
            /**
             * @desc Send template for security key IE
             * @param p_value  SecurityKey value
             * @see ETSI TS 136 413 V13.4.0 Clause 9.2.1.41 Security Key
             */
            template (value) ProtocolIE m_securityKey_IE(
                                                   in template (value) SecurityKey p_value,
                                                   in template (value) ProtocolIE.criticality p_criticality := reject
            ) := {
                id := S1AP_Constants.id_SecurityKey,
                criticality := p_criticality,
                value_ := {SecurityKey := valueof(p_value)}
            } // End of template m_securityKey_IE
            /**
             * @desc Send template for security context IE
             * @param p_value  SecurityContext value
             * @see ETSI TS 136 413 V13.4.0 Clause 9.2.1.26 Security Context
             */
            template (value) ProtocolIE m_securityContext_IE(
                                                   in template (value) SecurityContext p_value,
                                                   in template (value) ProtocolIE.criticality p_criticality := reject
            ) := {
                id := S1AP_Constants.id_SecurityContext,
                criticality := p_criticality,
                value_ := {SecurityContext := valueof(p_value)}
            } // End of template m_securityContext_IE

            /**
             * @desc Send template for nas Security Parameters To Eutran IE
             * @param p_value  SecurityContext value
             * @see ETSI TS 136 413 V13.4.0 Clause 9.2.3.31 NAS Security Parameters to E_UTRAN
             */
            template (value) ProtocolIE m_nasSecurityParametersToEutran_IE(
                                                   in template (value) NASSecurityParameterstoE_UTRAN p_value,
                                                   in template (value) ProtocolIE.criticality p_criticality := reject
            ) := {
                id := S1AP_Constants.id_NASSecurityParameterstoE_UTRAN,
                criticality := p_criticality,
                value_ := {NASSecurityParameterstoE_UTRAN := valueof(p_value)}
            } // End of template m_nasSecurityParametersToEutran_IE

            /**
             * @desc Send template for correlation ID IE
             * @param p_value  UESecurityCapabilities value
             * @see ETSI TS 136 413 V13.4.0 Clause 9.2.1.80 correlation ID
             */
            template (value) ProtocolIE m_correlationID_IE(
                                                   in template (value) Correlation_ID p_value,
                                                   in template (value) ProtocolIE.criticality p_criticality := ignore
            ) := {
                id := S1AP_Constants.id_Correlation_ID,
                criticality := p_criticality,
                value_ := {Correlation_ID := valueof(p_value)}
            } // End of template m_correlationID_IE
            /**
             * @desc Send template for correlation ID IE
             * @param p_value  UESecurityCapabilities value
             * @see ETSI TS 136 413 V13.4.0 Clause 9.2.1.80 SIPTO correlation ID
             */
            template (value) ProtocolIE m_SIPTO_correlationID_IE(
                                                   in template (value) Correlation_ID p_value,
                                                   in template (value) ProtocolIE.criticality p_criticality := ignore
            ) := {
                id := S1AP_Constants.id_SIPTO_Correlation_ID,
                criticality := p_criticality,
                value_ := {Correlation_ID := valueof(p_value)}
            } // End of template m_SIPTO_correlationID_IE
            
            /**
             * @desc Send template for CS Fallback indicator IE
             * @param p_value  CSFallbackIndicator value
             * @see ETSI TS 136 413 V13.4.0 Clause 9.2.3.21 CS Fallback indicator
             */
            template (value) ProtocolIE m_CS_Fallback_indicator_IE(
                                                   in template (value) CSFallbackIndicator p_value,
                                                   in template (value) ProtocolIE.criticality p_criticality := ignore
            ) := {
                id := S1AP_Constants.id_CSFallbackIndicator,
                criticality := p_criticality,
                value_ := {CSFallbackIndicator := valueof(p_value)}
            } // End of template m_CS_Fallback_indicator_IE
            /**
             * @desc Send template for UE Radio capability IE
             * @param p_value  UESecurityCapabilities value
             * @see ETSI TS 136 413 V13.4.0 Clause 9.2.1.27 UE Radio capability
             */
            template (value) ProtocolIE m_UE_Radio_capability_IE(
                                                   in template (value) octetstring p_value,
                                                   in template (value) ProtocolIE.criticality p_criticality := ignore
            ) := {
                id := S1AP_Constants.id_UERadioCapability,
                criticality := p_criticality,
                value_ := {octetstring := valueof(p_value)}
            } // End of template m_UE_Radio_capability_IE
garciay's avatar
garciay committed
            
            
            /**
             * @desc Send template for CSG Membership Status IE
             * @param p_value  CSG Membership Status value
             * @see ETSI TS 136 413 V13.4.0 Clause 9.2.1.73 CSG Membership Status
             */
            template (value) ProtocolIE m_cSGMembershipStatus_IE(
                                                   in template (value) CSGMembershipStatus p_value,
                                                   in template (value) ProtocolIE.criticality p_criticality := ignore
            ) := {
                id := S1AP_Constants.id_CSGMembershipStatus,
                criticality := p_criticality,
                value_ := {CSGMembershipStatus := valueof(p_value)}
            } // End of template m_cSGMembershipStatus_IE
            
            
garciay's avatar
garciay committed
            group E_RAB_IEsend {
                template (value) ProtocolIE m_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 m_E_RABReleaseList
                
garciay's avatar
garciay committed
                 * @desc Send template for MME UE S1AP ID protocol IE
                 * @param p_value  MME/UE S1AP identifier. Default: 1
                 * @see ETSI TS 136 413 V13.4.0 Clause 9.2.3.3 MME UE S1AP ID
garciay's avatar
garciay committed
                template (value) ProtocolIE m_MME_UE_S1AP_ID(
                                                             in template (value) MME_UE_S1AP_ID p_value := 1,
                                                             in template (value) ProtocolIE.criticality p_criticality := reject
garciay's avatar
garciay committed
                    id := S1AP_Constants.id_MME_UE_S1AP_ID,
                    criticality := p_criticality,
                    value_ := { MME_UE_S1AP_ID := valueof(p_value) }
                } // End of template m_MME_UE_S1AP_ID
garciay's avatar
garciay committed
                 * @desc Send template for ENB ID protocol IE
                 * @param p_value  ENB identifier. Default: 1
                 * @see ETSI TS 136 413 V13.4.0 Clause 9.2.3.4 eNB UE S1AP ID
garciay's avatar
garciay committed
                template (value) ProtocolIE m_eNB_UE_S1AP_ID(
garciay's avatar
garciay committed
                                                             in template (value) ENB_UE_S1AP_ID p_value := 1,
                                                             in template (value) ProtocolIE.criticality p_criticality := reject
garciay's avatar
garciay committed
                    id := S1AP_Constants.id_eNB_UE_S1AP_ID,
                    criticality := p_criticality,
                    value_ := { ENB_UE_S1AP_ID := p_value }
garciay's avatar
garciay committed
                } // End of template m_eNB_UE_S1AP_ID
garciay's avatar
garciay committed
                 * @desc Send template for E-RABToBeSetupListBearerSUReq protocol IE
                 * @param p_value  Protocol IE value. Default: m_E_RABToBeSetupItemBearerSUReq
garciay's avatar
garciay committed
                template (value) ProtocolIE m_E_RABToBeSetupList(
                                                                 in template (value) RecordOf_E_RABToBeSetupItemBearerSUReq p_value := { m_E_RABToBeSetupItemBearerSUReq }
garciay's avatar
garciay committed
                    id := S1AP_Constants.id_E_RABToBeSetupListBearerSUReq,
                    criticality := reject,
                    value_ := { RecordOf_E_RABToBeSetupItemBearerSUReq := valueof(p_value) }
                } // End of template m_E_RABToBeSetupList
                /**
                 * @desc Send template for E-RABToBeSetupListCtxtSUReq protocol IE
                 * @param p_value  Protocol IE value. Default: m_E_RABToBeSetupListCtxtSUReq
                 */
                template (value) ProtocolIE m_E_RABToBeSetupListCtxt(
                                                                 in template (value) RecordOf_E_RABToBeSetupItemCtxtSUReq p_value := { m_E_RABToBeSetupItemCtxtSUReq }
                ) := {
                    id := S1AP_Constants.id_E_RABToBeSetupListCtxtSUReq,
                    criticality := reject,
                    value_ := { RecordOf_E_RABToBeSetupItemCtxtSUReq := valueof(p_value) }
                } // End of template m_E_RABToBeSetupListCtxt
                
                /**
                 * @desc Send template for E-RABToBeSetupListBearerSUReq protocol IE
                 * @param p_value  Protocol IE value. Default: m_E_RABToBeSetupItemBearerSUReq
                 */
                template (value) ProtocolIE m_E_RABToBeSetupListHOReq(
                                                                 in template (value) RecordOf_E_RABToBeSetupItemHOReq p_value := { m_E_RABToBeSetupItemHOReq }
                ) := {
                    id := S1AP_Constants.id_E_RABToBeSetupListHOReq,
                    criticality := reject,
                    value_ := { RecordOf_E_RABToBeSetupItemHOReq := valueof(p_value) }
                } // End of template m_E_RABToBeSetupListHOReq
                /**
                 * @desc Send template for E-RABToBeModifiedItemBearerModReq protocol IE
                 * @param p_value  Protocol IE value. Default: m_E_RABToBeSetupItemBearerSUReq
                 */
                template (value) ProtocolIE m_E_RABToBeModifiedList(
                                                                 in template (value) RecordOf_E_RABToBeModifiedItemBearerModReq p_value := { m_E_RABToBeModifiedItemBearerSUReq }
                ) := {
                    id := S1AP_Constants.id_E_RABToBeModifiedItemBearerModReq,
                    criticality := reject,
                    value_ := { RecordOf_E_RABToBeModifiedItemBearerModReq := valueof(p_value) }
                } // End of template m_E_RABToBeSetupList
                
                
                
garciay's avatar
garciay committed
            } // End of group E_RAB_IEsend
            /**
             * @desc Handover signalling group
             * @see ETSI DTS/INT-00135-2 Clause 5.2.2.1.4 Handover signalling group
             */
            group Handover_group {
            
                /**
                 * @desc 
                 * @param p_handoverType
                 * @param p_criticality
                 */
                template (value) ProtocolIE m_handoverType_IE(
                    in template (value) HandoverType p_handoverType,
                    in template (value) ProtocolIE.criticality p_criticality := reject
                ) := {
                    id := S1AP_Constants.id_HandoverType,
                    criticality := p_criticality,
                    value_ := { HandoverType := valueof(p_handoverType) }
                } // End of template m_handoverType
            
                /**
                 * @desc 
                 * @param p_value
                 * @param p_criticality
                 */
                template (value) ProtocolIE m_source_ToTarget_TransparentContainer_IE(
                    in template (value) Source_ToTarget_TransparentContainer p_value,
                    in template (value) ProtocolIE.criticality p_criticality := reject
                ) := {
                    id := S1AP_Constants.id_Source_ToTarget_TransparentContainer,
                    criticality := p_criticality,
                    value_ := { Source_ToTarget_TransparentContainer := p_value }
                } // End of template m_source_ToTarget_TransparentContainer_IE
            
                /**
                 * @desc 
                 * @param p_value
                 * @param p_criticality
                 */
                template (value) ProtocolIE m_target_ToSource_TransparentContainer_IE(
                    in template (value) Target_ToSource_TransparentContainer p_value,
                    in template (value) ProtocolIE.criticality p_criticality := reject
                ) := {
                    id := S1AP_Constants.id_Target_ToSource_TransparentContainer,
                    criticality := p_criticality,
                    value_ := { Target_ToSource_TransparentContainer := p_value }
                } // End of template m_target_ToSource_TransparentContainer_IE
            
                
            }//end group Handover_group {
            
            /**
             * @desc Management group
             * @see ETSI DTS/INT-00135-2 Clause 5.2.2.1.7 Management group
             */
            group Management_group {
                
                /**
                 * @desc Send template for ResetType protocol IE 
                 * @param p_value The ResetType value.
                 */
                template (value) ProtocolIE m_resetType_IE(
                                                           in template (value) ResetType p_resetType
                ) := {
                    id := S1AP_Constants.id_ResetType,
                    criticality := reject,
                    value_ := {ResetType := valueof(p_resetType)}
                } // End of template m_resetType_IE
                
                /**
                 * @desc Send template for UE_associatedLogicalS1_ConnectionItem protocol IE 
                 * @param p_value The UE_associatedLogicalS1_ConnectionItem value.
                 */
                template (value) ProtocolIE m_uE_associatedLogicalS1_ConnectionItemResAck_IE(
                                                                                             in template (value) UE_associatedLogicalS1_ConnectionItem p_value
                ) := {
                    id := S1AP_Constants.id_UE_associatedLogicalS1_ConnectionItem,
                    criticality := reject,
                    value_ := { UE_associatedLogicalS1_ConnectionItem := valueof(p_value) }
                } // End of template m_uE_associatedLogicalS1_ConnectionItemResAck_IE
                
                /**
                 * @desc Send template for UE_associatedLogicalS1_ConnectionItem protocol IE
                 * @param p_MME_value   MME UE S1AP ID value
garciay's avatar
garciay committed
                 * @param p_eNB_value   eNB UE S1AP ID value
                 * @see ETSI TS 136 413 V13.4.0 Clause 9.1.8.1 RESET
                 */
                template (value) UE_associatedLogicalS1_ConnectionItem m_uE_associatedLogicalS1_ConnectionItem(
                                                                                                               in template (value) MME_UE_S1AP_ID p_MME_value,
garciay's avatar
garciay committed
                                                                                                               in template (value) ENB_UE_S1AP_ID p_eNB_value
                ) := {
                    mME_UE_S1AP_ID  := p_MME_value,
garciay's avatar
garciay committed
                    eNB_UE_S1AP_ID  := p_eNB_value,
                    iE_Extensions   := omit
                } // End of template m_uE_associatedLogicalS1_ConnectionItem
                
garciay's avatar
garciay committed
                /**
                 * @desc Send template for Global eNB ID protocol IE
                 * @param p_global_ENB_ID The Global eNB ID value
                 */
                template (value) ProtocolIE m_global_eNB_ID_IE(
                                                               in template (value) Global_ENB_ID p_global_ENB_ID
                ) := {
                    id := S1AP_Constants.id_Global_ENB_ID,
                    criticality := ignore,
                    value_ := { Global_ENB_ID := valueof(p_global_ENB_ID) }
                } // End of template m_global_eNB_ID_IE
                
                /**
                 * @desc Send template for SupportedTAs protocol IE 
                 * @param p_value The SupportedTAs value.
                 */
                template (value) ProtocolIE m_supportedTAs_IE(
                                                              in template (value) SupportedTAs p_value
                ) := {
                    id := S1AP_Constants.id_SupportedTAs,
                    criticality := reject,
                    value_ := {SupportedTAs := valueof(p_value)}
                } // End of template m_supportedTAs_IE
                
                /**
                 * @desc Send template for PagingDRX protocol IE 
                 * @param p_value The PagingDRX value.
                 */
                template (value) ProtocolIE m_pagingDRX_IE(
                                                           in template (value) PagingDRX p_value
                ) := {
                    id := S1AP_Constants.id_pagingDRX,
                    criticality := reject,
                    value_ := {PagingDRX := valueof(p_value)}
                } // End of template m_pagingDRX_IE
                
                /**
                 * @desc Send template for the list of globally unique MME identity.
                 * @param p_value   The list of the unique MME identities
                 * @see ETSI TS 136 413 V13.4.0 Clause 9.2.3.9 GUMMEI
                 */
                template (value) ProtocolIE m_servedGUMMEIs_IE(
                                                               in template (value) ServedGUMMEIs p_value
                ) := {
                    id := S1AP_Constants.id_ServedGUMMEIs,
                    criticality := reject,
                    value_ := { ServedGUMMEIs := valueof(p_value) }
                } // End of template m_servedGUMMEIs_IE
                
                /**
                 * @desc Send 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
                 * @see ETSI TS 136 413 V13.4.0 Clause 9.2.3.17 Relative MME Capacity
                 */
                template (value) ProtocolIE m_relativeMMECapacity_IE(
                                                                     in template (value) RelativeMMECapacity p_value
                ) := {
                    id := S1AP_Constants.id_RelativeMMECapacity,
                    criticality := ignore,
                    value_ := { RelativeMMECapacity := valueof(p_value) }
                } // End of template m_relativeMMECapacity_IE
                
            /**
             * @desc Send template for Cause protocol IE
             * @param p_criticalityDiagnostics  Information about which IEs were not comprehended or were missing.
             * @see ETSI TS 136 413 V13.4.0 Clause 9.2.1.3 Cause
             */
            template (value) ProtocolIE m_criticalityDiagnostics_IE(
                                                                    in template (value) CriticalityDiagnostics p_criticalityDiagnostics,
                                                                    in template (value) ProtocolIE.criticality p_criticality := ignore
            ) := {
                id := S1AP_Constants.id_CriticalityDiagnostics,
                criticality := p_criticality,
                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
            
            /**
             * @desc Receive template for MME UE S1AP ID protocol IE
             * @param p_value  Expected MME/UE S1AP identifier. Default: ?
             * @see ETSI TS 136 413 V13.4.0 Clause 9.2.3.3 MME UE S1AP ID
             */
            template (present) ProtocolIE mw_sourceMmeUeS1apId(
                                                            template (present) MME_UE_S1AP_ID p_parm := ?,
                                                            template (present) ProtocolIE.criticality p_criticality := reject
            ) := {
                id := S1AP_Constants.id_SourceMME_UE_S1AP_ID,
                criticality := p_criticality,
                value_ := {MME_UE_S1AP_ID := p_parm}
            } // End of template mw_sourceMmeUeS1apId
            
            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
             * @param p_value  Expected protocol IE value. Default: mw_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: mw_E_RABToBeSetupItemCtxtSU
             */
            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-RABToBeSetupListCtxtSUReq protocol IE
             * @param p_value  Protocol IE value. Default: mw_E_RABToBeSetupItemCtxtSUReq
             */
            template (present) ProtocolIE mw_E_RABToBeSetupCtxtList(
                                                             template (present) RecordOf_E_RABToBeSetupItemCtxtSUReq p_value := { mw_E_RABToBeSetupItemCtxtSUReq }
            ) := {
                id := S1AP_Constants.id_E_RABToBeSetupListCtxtSUReq,
                criticality := reject,
                value_ := { RecordOf_E_RABToBeSetupItemCtxtSUReq := p_value }
            } // End of template mw_E_RABToBeSetupCtxtList
 
            /**
             * @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 E-RABAdmittedList protocol IE
             * @param p_value  Expected protocol IE value. Default: mw_E_RABAdmittedItem
             */
            template (present) ProtocolIE mw_E_RABAdmittedList(
                                                            template (present) RecordOf_E_RABAdmittedItem p_value := { mw_E_RABAdmittedItem }
            ) := {
                id := S1AP_Constants.id_E_RABAdmittedList,
                criticality := ignore,
                value_ := { RecordOf_E_RABAdmittedItem := p_value }
            } // End of template mw_E_RABAdmittedList
 
            /**
             * @desc Receive template for E-RABToBeSwitchedDLList protocol IE
             * @param p_value  Protocol IE value. Default: mw_E_RABToBeSwitchedDLItem
             */
            template (present) ProtocolIE mw_E_RABToBeSwitchedDLList(
                                                             template (present) RecordOf_E_RABToBeSwitchedDLItem p_value := { mw_E_RABToBeSwitchedDLItem }
            ) := {
                id := S1AP_Constants.id_E_RABToBeSwitchedDLList,
                criticality := reject,
                value_ := { RecordOf_E_RABToBeSwitchedDLItem := p_value }
            } // End of template mw_E_RABToBeSwitchedDLList
            
            /**
             * @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 := ?
            ) := {