summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorStefan Sperling <ssperling@sysmocom.de>2018-03-20 15:51:00 +0100
committerStefan Sperling <ssperling@sysmocom.de>2018-03-20 15:51:00 +0100
commit049a86ee1eaa869bb81cb6cad446801b3db71da0 (patch)
treeb50335763f64d5df6ee78b4ef21d9a8caa42876c
parent2a98a73be4fbd361d372e28c79a2fc2dc37709fe (diff)
add regression test for paging with unknown MCC/MNC
Verify that the BSC does not page a subscriber when a cell identifier with an unknown MCC/MNC is provided by the MSC. This test introduces a magic value which represents an unknown MCC/MNC combination: MCC=678 MNC=f90 Change-Id: I0b0af14a9a1cb7e5a7a4ec12cc489473fd7ead02 Related: OS#2980
-rw-r--r--bsc/BSC_Tests.cfg1
-rw-r--r--bsc/BSC_Tests.ttcn10
2 files changed, 11 insertions, 0 deletions
diff --git a/bsc/BSC_Tests.cfg b/bsc/BSC_Tests.cfg
index ef6823c..175654a 100644
--- a/bsc/BSC_Tests.cfg
+++ b/bsc/BSC_Tests.cfg
@@ -65,6 +65,7 @@ BSC_Tests.control
#BSC_Tests.TC_paging_imsi_a_reset
#BSC_Tests.TC_paging_imsi_load
#BSC_Tests.TC_paging_counter
+#BSC_Tests.TC_paging_imsi_nochan_cgi_unknown_cid
#BSC_Tests.TC_rsl_drop_counter
#BSC_Tests.TC_classmark
#BSC_Tests.TC_unsol_ass_fail
diff --git a/bsc/BSC_Tests.ttcn b/bsc/BSC_Tests.ttcn
index a2111fd..3522358 100644
--- a/bsc/BSC_Tests.ttcn
+++ b/bsc/BSC_Tests.ttcn
@@ -966,6 +966,7 @@ type record Cell_Identity {
GsmCellId ci
};
private const Cell_Identity cid := { '001'H, '01'H, 1, 0 };
+private const Cell_Identity unknown_cid := { '678'H, 'f90'H, 1, 0 };
type set of integer BtsIdList;
@@ -1183,6 +1184,14 @@ testcase TC_paging_imsi_nochan_lacs_empty() runs on test_CT {
f_shutdown_helper();
}
+/* Paging by CGI with unknown MCC/MNC: Verify nothing is paged. */
+testcase TC_paging_imsi_nochan_cgi_unknown_cid() runs on test_CT {
+ var template BSSMAP_FIELD_CellIdentificationList cid_list;
+ cid_list := { cIl_CGI := { ts_BSSMAP_CI_CGI(unknown_cid.mcc, unknown_cid.mnc, unknown_cid.lac, unknown_cid.ci) } };
+ f_pageing_helper('001010000000006'H, cid_list, c_BtsId_none);
+ f_shutdown_helper();
+}
+
/* Verify paging retransmission interval + count */
/* Verify paging stops after channel establishment */
/* Test behavior under paging overload */
@@ -1961,6 +1970,7 @@ control {
execute( TC_paging_imsi_nochan_lac_rnc() );
execute( TC_paging_imsi_nochan_lacs() );
execute( TC_paging_imsi_nochan_lacs_empty() );
+ execute( TC_paging_imsi_nochan_cgi_unknown_cid() );
execute( TC_paging_imsi_a_reset() );
execute( TC_paging_imsi_load() );
execute( TC_paging_counter() );