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
This commit is contained in:
Stefan Sperling 2018-03-20 15:51:00 +01:00
parent 2a98a73be4
commit 049a86ee1e
2 changed files with 11 additions and 0 deletions

View File

@ -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

View File

@ -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() );