reviewed-updated TODOs on libs1ap-steps

added step function
This commit is contained in:
pintar 2017-05-12 12:11:31 +00:00
parent e175d147ae
commit ef239a36df
3 changed files with 50 additions and 6 deletions

View File

@ -1134,6 +1134,15 @@ module LibS1AP_Steps {
) runs on S1APComponent {
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
@ -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

View File

@ -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

View File

@ -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(