BSC: extend TC_ho_meas_rep_multi_band for ARFCN=0

Adjust the test to also check the special case ARFCN=0, which is at the
end of each sub list.

Related: OS#5717
Related: osmo-bsc Ic5e4f0531e08685460948b102367825588d839ba
Change-Id: Ia8f94d72651061427afc9e34f678544f89d0149b
This commit is contained in:
Oliver Smith 2022-10-24 12:56:30 +02:00 committed by osmith
parent c9a5f53ede
commit a67730465e
1 changed files with 7 additions and 7 deletions

View File

@ -11987,20 +11987,20 @@ private function f_tc_ho_meas_rep_multi_band(charstring id) runs on MSC_ConnHdlr
* 3GPP TS 04.08 § 10.5.2.20. */
var NcellReports neighbor_rep := {
/* Sub list 1: same band */
{ rxlev := 0, bcch_freq := 0, bsic := 11 }, /* ARFCN 700, band 1800, LAC 96 */
{ rxlev := 0, bcch_freq := 1, bsic := 12 }, /* ARFCN 800, band 1800, LAC 98 */
{ rxlev := 0, bcch_freq := 0, bsic := 12 }, /* ARFCN 800, band 1800, LAC 98 */
/* Sub list 2: different band */
{ rxlev := 40, bcch_freq := 2, bsic := 13 }, /* ARFCN 200, band 850, LAC 97 */
{ rxlev := 0, bcch_freq := 3, bsic := 14 } /* ARFCN 1000, band 900, LAC 99 */
{ rxlev := 0, bcch_freq := 1, bsic := 13 }, /* ARFCN 200, band 850, LAC 97 */
{ rxlev := 40, bcch_freq := 2, bsic := 14 }, /* ARFCN 1000, band 900, LAC 99 */
{ rxlev := 0, bcch_freq := 3, bsic := 11 } /* ARFCN 0, band 900, LAC 96 */
};
var octetstring l3_mr := enc_GsmRrL3Message(valueof(ts_MEAS_REP(true, 8, 8, reps := neighbor_rep)));
RSL.send(ts_RSL_MEAS_RES(g_chan_nr, 0, ts_RSL_IE_UplinkMeas, ts_RSL_IE_BS_Power(0), ts_RSL_IE_L1Info,
l3_mr, 0));
/* Expect a handover to the third entry. If the BSC parsed the report
* correctly, the third entry has LAC 97. */
* correctly, the third entry has LAC 99. */
var template BSSMAP_FIELD_CellIdentificationList cid_list := {
cIl_LAC := { ts_BSSMAP_CI_LAC(97) }
cIl_LAC := { ts_BSSMAP_CI_LAC(99) }
};
alt {
[] BSSAP.receive(tr_BSSMAP_HandoverRequired(cid_list := cid_list)) {
@ -12031,7 +12031,7 @@ testcase TC_ho_meas_rep_multi_band() runs on test_CT {
"neighbor lac 99 arfcn 1000 bsic any", /* band 900 */
"neighbor lac 98 arfcn 800 bsic any", /* band 1800 */
"neighbor lac 97 arfcn 200 bsic any", /* band 850 */
"neighbor lac 96 arfcn 700 bsic any"}); /* band 1800 */
"neighbor lac 96 arfcn 0 bsic any"}); /* band 900 */
f_vty_transceive(BSCVTY, "drop bts connection 0 oml");
f_init(1, true);