aboutsummaryrefslogtreecommitdiffstats
path: root/tests
diff options
context:
space:
mode:
authorVadim Yanitskiy <vyanitskiy@sysmocom.de>2022-03-02 01:58:00 +0700
committerVadim Yanitskiy <vyanitskiy@sysmocom.de>2022-03-03 17:06:46 +0700
commit20ae1be3f7171ae99393a89afc1ab399864ae659 (patch)
treee8eace1cea3788dfbe91dbfaf0ba144145b50497 /tests
parent44c8e835916e1b3f20ba530482fa3fff057e623e (diff)
bitvec2freq_list(): fix handling of E-GSM ARFCNs
According to 3GPP TS 44.018, section 10.5.2.1b.2, only ARFCN values in range 1..124 can be encoded using the 'bit map 0' format. Before this patch, ARFCN values belonging to E-GSM band (0, 975..1023) were ignored in bitvec2freq_list(), and thus not present in the resulting Cell Channel Description IE. Change-Id: I17739e6845cd84e2a81bc406dd532541f7c52cb6 Related: SYS#5854
Diffstat (limited to 'tests')
-rw-r--r--tests/gsm0408/gsm0408_test.ok2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/gsm0408/gsm0408_test.ok b/tests/gsm0408/gsm0408_test.ok
index 26ec931e6..1a8389d81 100644
--- a/tests/gsm0408/gsm0408_test.ok
+++ b/tests/gsm0408/gsm0408_test.ok
@@ -191,6 +191,6 @@ BTS allocation OK in test_cell_chan_desc()
Testing generation of the Cell Channel Description IE:
Case a) only the BCCH carrier: 10
Case b) more carriers from P-GSM band: 1 3 10 64 99 124
-Case c) more carriers from E-GSM band: 1 3 10 64 99 124
+Case c) more carriers from E-GSM band: 0 3 10 64 99 124 975 1001 1023
BTS deallocated OK in test_cell_chan_desc()
Done.