aboutsummaryrefslogtreecommitdiffstats
path: root/tests
diff options
context:
space:
mode:
authorOliver Smith <osmith@sysmocom.de>2022-10-19 16:51:35 +0200
committerosmith <osmith@sysmocom.de>2022-10-27 09:19:52 +0000
commit5bdc3eca68b4c1c0a0515da52dbbd8c2fe993d93 (patch)
tree84a7b5722bc8dc95a6e04f63114397e637af08c5 /tests
parent63f4171f50be42c947eff649bd5ad5018f6419b4 (diff)
gsm48_parse_meas_rep: fix parsing multi-band list
When looking up "BCCH-FREQ-NCELL i" from the measurement report, don't treat the BCCH channel list as one list sorted by ascending ARFCN. Instead, treat it as two sub lists, one for the same band, and one for channels in different bands, as described in 3GPP TS 04.08 ยง 10.5.2.20. This fixes getting the wrong ARFCN from measurement reports in multi-band BSS, which leads to failing handovers. Fixes: OS#5717 Related: osmo-ttcn3-hacks I4fe6bb9e4b5a69ea6204585ebdf1f157a68a8286 Change-Id: Ic5e4f0531e08685460948b102367825588d839ba
Diffstat (limited to 'tests')
-rw-r--r--tests/handover/test_meas_rep_multi_band.ho_vty10
1 files changed, 3 insertions, 7 deletions
diff --git a/tests/handover/test_meas_rep_multi_band.ho_vty b/tests/handover/test_meas_rep_multi_band.ho_vty
index 45bcfa3b7..d5fa62448 100644
--- a/tests/handover/test_meas_rep_multi_band.ho_vty
+++ b/tests/handover/test_meas_rep_multi_band.ho_vty
@@ -38,14 +38,10 @@ expect-ts-use trx 4 0 states * - - - - - - -
meas-rep lchan 0 0 1 0 rxlev 20 rxqual 0 ta 0 neighbors 35 0 0 0
# If the BSC parsed the list correctly, it will request a handover to BTS 4.
-# expect-ho from lchan 0 0 1 0 to lchan 4 0 1 0
+expect-ho from lchan 0 0 1 0 to lchan 4 0 1 0
-# FIXME: parses IDX=0 as ARFCN=0 instead of ARFCN=800, no handover is done
-expect-no-chan
-
-# FIXME: should be on TRX 4 after handover
-expect-ts-use trx 0 0 states * TCH/F - - - - - -
+expect-ts-use trx 0 0 states * - - - - - - -
expect-ts-use trx 1 0 states * - - - - - - -
expect-ts-use trx 2 0 states * - - - - - - -
expect-ts-use trx 3 0 states * - - - - - - -
-expect-ts-use trx 4 0 states * - - - - - - -
+expect-ts-use trx 4 0 states * TCH/F - - - - - -