aboutsummaryrefslogtreecommitdiffstats
path: root/tests/bssap
diff options
context:
space:
mode:
authorStefan Sperling <ssperling@sysmocom.de>2018-01-05 17:22:11 +0100
committerStefan Sperling <ssperling@sysmocom.de>2018-01-11 12:50:07 +0000
commit33e900900307ec7268d642c84943d624b3f83568 (patch)
tree13f0063dc100c269b465db101311b2be1bda6bb3 /tests/bssap
parentf56a28d1c24e7ab40402939676edd8d5f50bc94e (diff)
Implement support for paging by LAI.
Also, parse the complete cell identifier list for both LAC and LAI. Change-Id: Ic3c62ff0fccea586794ea4b3c275a0685cc9326e Related: OS#2751
Diffstat (limited to 'tests/bssap')
-rw-r--r--tests/bssap/bssap_test.c5
-rw-r--r--tests/bssap/bssap_test.err11
2 files changed, 13 insertions, 3 deletions
diff --git a/tests/bssap/bssap_test.c b/tests/bssap/bssap_test.c
index 579cae237..c97393d5e 100644
--- a/tests/bssap/bssap_test.c
+++ b/tests/bssap/bssap_test.c
@@ -73,6 +73,11 @@ struct {
/* ^^^^^^^^^^^^ Cell Identifier List: LAI */
GSM_LAC_RESERVED_ALL_BTS, 0
},
+ {
+ "001952080859512069000743940904010844601a060400f1100065",
+ /* ^^^^^^^^^^^^ Cell Identifier List: LAI */
+ 0x65, 0
+ },
};
void test_cell_identifier()
diff --git a/tests/bssap/bssap_test.err b/tests/bssap/bssap_test.err
index 1c432eb08..f24ff7c8c 100644
--- a/tests/bssap/bssap_test.err
+++ b/tests/bssap/bssap_test.err
@@ -16,7 +16,12 @@ bsc_handle_udt() returned 0
2:
DMSC Rx MSC UDT: 00 19 52 08 08 59 51 20 69 00 07 43 94 09 04 01 08 44 60 1a 06 04 15 f5 49 00 65
DMSC Rx MSC UDT BSSMAP PAGING
-DMSC Paging IMSI 515029600703449: unimplemented Cell Identifier List (0x4), paging entire BSS instead (04 15 f5 49 00 65 )
-DMSC Paging request from MSC IMSI: '515029600703449' TMSI: '0x1084460/17319008' LAC: 0xfffe
-BSC paging started on entire BSS (65534)
+DMSC Not paging IMSI 515029600703449: MCC/MNC in Cell Identifier List (515/94) do not match our network (1/1)
+bsc_handle_udt() returned 0
+
+3:
+DMSC Rx MSC UDT: 00 19 52 08 08 59 51 20 69 00 07 43 94 09 04 01 08 44 60 1a 06 04 00 f1 10 00 65
+DMSC Rx MSC UDT BSSMAP PAGING
+DMSC Paging request from MSC IMSI: '515029600703449' TMSI: '0x1084460/17319008' LAC: 0x65
+BSC paging started with LAC 101
bsc_handle_udt() returned 0