BSC_Tests: parametrize f_mo_l3_transceive()

Change-Id: I617a103e9dae8f16e3f3996c89e53ace49f7bfa8
Related: OS#3716
This commit is contained in:
Vadim Yanitskiy 2020-10-01 14:23:11 +07:00
parent 74ae5eb448
commit b93aa4375c
1 changed files with 7 additions and 6 deletions

View File

@ -4464,17 +4464,18 @@ testcase TC_ho_out_of_this_bsc() runs on test_CT {
f_shutdown_helper();
}
private function f_mo_l3_transceive() runs on MSC_ConnHdlr
{
private function f_mo_l3_transceive(template (value) RslLinkId link_id := ts_RslLinkID_DCCH(0),
template (present) OCT1 dlci := '00'O,
octetstring l3 := '0123456789'O)
runs on MSC_ConnHdlr {
/* The old lchan and conn should still be active. See that arbitrary L3
* is still going through. */
var octetstring l3 := '0123456789'O;
RSL.send(ts_RSL_DATA_IND(g_chan_nr, valueof(ts_RslLinkID_DCCH(0)), l3));
RSL.send(ts_RSL_DATA_IND(g_chan_nr, link_id, l3));
var template PDU_BSSAP exp_data := {
discriminator := '1'B,
spare := '0000000'B,
dlci := '00'O,
lengthIndicator := 5,
dlci := dlci,
lengthIndicator := lengthof(l3),
pdu := {
dtap := l3
}