Commit 9efba1db authored by pintar's avatar pintar
Browse files

reviewed-updated TODOs on libs1ap-steps

added step function
parent f0afc930
Loading
Loading
Loading
Loading
+12 −3
Original line number Diff line number Diff line
@@ -1135,6 +1135,15 @@ module LibS1AP_Steps {
            f_send_S1AP_initiatingMessage(m_HandoverRequest(p_value))
        } // End of function f_send_HandoverRequest

        /**
         * @desc Send S1AP Message f_send_HandoverRequestAcknowledge
         * @param p_value Send template with IE for HandoverRequestAcknowledge
         */
        function f_send_HandoverRequestAcknowledge(in template (value) RecordOf_ProtocolIE p_value
        ) runs on S1APComponent {
            f_send_S1AP_successfulOutcome(m_HandoverRequestAcknowledge(p_value))
        } // End of function f_send_HandoverRequestAcknowledge
        
        /**
         * @desc Send S1AP Message f_send_HandoverCancel
         * @param p_value Send template with IE for HandoverCancel
@@ -1839,12 +1848,12 @@ module LibS1AP_Steps {
            
            /**
             * @desc Trigger a E-RAB Release procedure
             * @param TODO
             * @param
             * @return true on success, false otherwise
             */
			external function fx_eNB_erab_Release_indication_procedure( in boolean p_param) return boolean;
			external function fx_eNB_erab_Release_indication_procedure() return boolean;
            
            external function fx_eNB_erab_modification_indication_procedure ( in boolean p_param) return boolean;
            external function fx_eNB_erab_modification_indication_procedure () return boolean;
            
        } // End of group mmeRole
        
+35 −0
Original line number Diff line number Diff line
@@ -227,6 +227,29 @@ module LibS1AP_Templates {
                        m_cSGMembershipStatus_IE(p_cSGMembershipStatu_value)
                    } // End of template m_HandoverReqIEs_cSGMembershipStatus
                    
                    /**
                     * @desc Send template for SuccessfulOutcome message with Handover Request Acknowledge payload
                     * @param p_value           The protocol information elements.
                     */
                    template (value) SuccessfulOutcome m_HandoverRequestAcknowledge(
                                                                           in template (value) RecordOf_ProtocolIE p_value) := {
                        procedureCode := id_HandoverResourceAllocation,
                        criticality := reject,
                        value_ := {RecordOf_ProtocolIE := valueof(p_value)}
                    } // End of template m_HandoverRequestAcknowledge
    
                    template (value) RecordOf_ProtocolIE m_HandoverReqAckIEs(
                            in template (value) MME_UE_S1AP_ID p_MME_value,
                            in template (value) ENB_UE_S1AP_ID p_eNB_value,
                            in template (value) E_RABAdmittedList p_E_RABAdmittedList,
                            in template (value) Target_ToSource_TransparentContainer p_target_ToSource_TransparentContainer
                            
                    ) := {
                        m_MME_UE_S1AP_ID(p_MME_value),
                        m_eNB_UE_S1AP_ID(p_eNB_value),
                        m_E_RABTAdmitedItemIEs(p_E_RABAdmittedList),
                        m_target_ToSource_TransparentContainer_IE(p_target_ToSource_TransparentContainer)
                    } // End of template m_HandoverReqIEs
                    
                }// End of group HandoverResourceAllocation
                
@@ -4359,6 +4382,18 @@ module LibS1AP_Templates {
                    value_ := { RecordOf_E_RABToBeSetupItemHOReq := valueof(p_value) }
                } // End of template m_E_RABToBeSetupListHOReq
                
                /**
                 * @desc Send template for E_RABTAdmitedItemIEs protocol IE
                 * @param p_value  Protocol IE value. Default: E_RABTAdmitedItem
                 */
                template (value) ProtocolIE m_E_RABTAdmitedItemIEs(
                                                                 in template (value) E_RABAdmittedList p_value
                ) := {
                    id := S1AP_Constants.id_E_RABAdmittedList,
                    criticality := reject,
                    value_ := { E_RABAdmittedList := valueof(p_value) }
                } // End of template m_E_RABTAdmitedItemIEs
                
                /**
                 * @desc Send template for E-RABToBeSwitchedDLList protocol IE
                 * @param p_value  Protocol IE value. Default: mw_E_RABToBeSwitchedDLItem
+3 −3
Original line number Diff line number Diff line
@@ -849,7 +849,7 @@ module S1AP_TCFunctions {
                log("*** " & __SCOPE__ & ": INFO: Preamble done. ***");

                // 1. to indicate a LPPa Transport procedure using a UE associated signalling
                if (fx_eNB_erab_Release_indication_procedure(false) == false) {
                if (fx_eNB_erab_Release_indication_procedure() == false) {
                   f_selfOrClientSyncAndVerdict(c_tbDone, e_error); 
                } else {
                    f_recv_E_RABReleaseIndication(mw_E_RABReleaseIndicationIEs(
@@ -885,7 +885,7 @@ module S1AP_TCFunctions {
                log("*** " & __SCOPE__ & ": INFO: Preamble done. ***");

                // 1. to indicate a LPPa Transport procedure using a UE associated signalling
                if (fx_eNB_erab_Release_indication_procedure(false) == false) {
                if (fx_eNB_erab_Release_indication_procedure() == false) {
                   f_selfOrClientSyncAndVerdict(c_tbDone, e_error); 
                } else {
                    f_recv_E_RABReleaseIndication(mw_E_RABReleaseIndicationIEs(
@@ -1015,7 +1015,7 @@ module S1AP_TCFunctions {
                log("*** " & __SCOPE__ & ": INFO: Preamble done. ***");

                // 1. to indicate a LPPa Transport procedure using a UE associated signalling
                if (fx_eNB_erab_modification_indication_procedure(false) == false) {
                if (fx_eNB_erab_modification_indication_procedure() == false) {
                   f_selfOrClientSyncAndVerdict(c_tbDone, e_error); 
                } else {
                    f_recv_E_RABModificationIndication(mw_E_RABModificationIndicationIEs(