Commit fafcbe37 authored by ulrichst's avatar ulrichst
Browse files

completion of f_TC_S1AP_eNB_RAB_20 and f_TC_S1AP_eNB_RAB_21

parent ce67cfc0
......@@ -137,22 +137,35 @@ module LibS1AP_Steps {
/**
* @desc Receive S1AP Message E_RABReleaseResponse
* @param p_value Receive template for E_RABReleaseResponse IEs
*/
function f_recv_E_RABReleaseResponse(
template (present) RecordOf_ProtocolIE p_value := ?
) runs on S1APComponent {
f_recv_S1AP_successfulOutcome(mw_E_RABReleaseResponse(p_value))
} // End of f_recv_E_RABReleaseResponse
*/
function f_recv_E_RABReleaseResponse(
template (present) RecordOf_ProtocolIE p_value := ?
) runs on S1APComponent {
f_recv_S1AP_successfulOutcome(mw_E_RABReleaseResponseIE(p_value))
} // End of f_recv_E_RABReleaseResponse
/**
* @desc Receive S1AP Message E_RABModifiedResponse
* @param p_value Receive template for E_RABModifiedResponse IEs
*/
function f_recv_E_RABModifiedResponse(
* @desc Receive S1AP Message E_RABModifiedResponse
* @param p_value Receive template for E_RABModifiedResponse IEs
*/
function f_recv_E_RABModifiedResponse(
template (present) RecordOf_ProtocolIE p_value := ?
) runs on S1APComponent {
) runs on S1APComponent {
f_recv_S1AP_successfulOutcome(mw_E_RABModifiedResponse(p_value))
} // End of f_recv_E_RABModifiedResponse
} // End of f_recv_E_RABModifiedResponse
function f_recv_E_RABReleaseIndication(
template (present) RecordOf_ProtocolIE p_value := ?
) runs on S1APComponent {
f_recv_S1AP_successfulOutcome(mw_E_RABReleaseIndication_IE(p_value))
}
function f_recv_E_RABModificationIndication(
template (present) RecordOf_ProtocolIE p_value := ?
) runs on S1APComponent {
f_recv_S1AP_successfulOutcome(mw_E_RABModificationIndication_IE(p_value))
}
/**
* @desc Receive S1AP Message E_RABModifiedRequest
......@@ -1721,8 +1734,15 @@ module LibS1AP_Steps {
in boolean p_associated_signalling_mode
) return boolean;
/**
* @desc Trigger a E-RAB Release procedure
* @param TODO
* @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_modification_indication_procedure ( in boolean p_param) return boolean;
} // End of group mmeRole
} // End of group externalFunctions
......
This diff is collapsed.
......@@ -14,7 +14,7 @@ module S1AP_TCFunctions {
// LibCommon
import from LibCommon_Sync all;
import from LibCommon_VerdictControl all;
import from LibCommon_Time {function f_sleepIgnoreDef};
import from LibCommon_Time {function f_sleepIgnoreDef;}
// LibS1AP
import from S1AP_IEs language "ASN.1:1997" all;
......@@ -852,7 +852,7 @@ module S1AP_TCFunctions {
if (fx_eNB_erab_Release_indication_procedure(false) == false) {
f_selfOrClientSyncAndVerdict(c_tbDone, e_error);
} else {
f_recv_E_RABReleaseResponse(mw_E_RABReleaseResIEs(
f_recv_E_RABReleaseIndication(mw_E_RABReleaseIndicationIEs(
vc_MME_UE_ID,
vc_eNB_UE_ID,
{
......@@ -888,7 +888,7 @@ module S1AP_TCFunctions {
if (fx_eNB_erab_Release_indication_procedure(false) == false) {
f_selfOrClientSyncAndVerdict(c_tbDone, e_error);
} else {
f_recv_E_RABReleaseResponse(mw_E_RABReleaseResIEs(
f_recv_E_RABReleaseIndication(mw_E_RABReleaseIndicationIEs(
vc_MME_UE_ID,
vc_eNB_UE_ID,
{
......@@ -983,7 +983,7 @@ module S1AP_TCFunctions {
}
));
// TODO
f_recv_E_RABReleaseResponse(mw_E_RABReleaseResIEs(
vc_MME_UE_ID,
vc_eNB_UE_ID,
......@@ -1000,9 +1000,44 @@ module S1AP_TCFunctions {
f_selfOrClientSyncAndVerdict(c_poDone, f_getVerdict());
log("*** " & __SCOPE__ & ": INFO: Postamble done. ***");
} // End of function f_TC_S1AP_eNB_RAB_20
} // End of function f_TC_S1AP_eNB_RAB_20
/**
* @desc Testcase function for TC_S1AP_eNB_RAB_21
*/
function f_TC_S1AP_eNB_RAB_21 () runs on S1APComponent {
// Local variables
const E_RAB_ID c_E_RAB_ID_A := 0;
// Preamble
f_S1AP_enb_init();
f_rABSetupRequest();
f_selfOrClientSyncAndVerdict(c_prDone, f_getVerdict());
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) {
f_selfOrClientSyncAndVerdict(c_tbDone, e_error);
} else {
f_recv_E_RABModificationIndication(mw_E_RABModificationIndicationIEs(
vc_MME_UE_ID,
vc_eNB_UE_ID,
{
mw_E_RABToBeModifiedItemBearerModInd(
-
)
}
));
f_selfOrClientSyncAndVerdict(c_tbDone, f_getVerdict());
}
f_postamble_S1AP_eNB();
f_selfOrClientSyncAndVerdict(c_poDone, f_getVerdict());
log("*** " & __SCOPE__ & ": INFO: Postamble done. ***");
} // End of function f_TC_S1AP_eNB_RAB_21
} // End of group ERAB_management_group
/**
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment