From 049a86ee1eaa869bb81cb6cad446801b3db71da0 Mon Sep 17 00:00:00 2001 From: Stefan Sperling Date: Tue, 20 Mar 2018 15:51:00 +0100 Subject: 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 --- bsc/BSC_Tests.cfg | 1 + bsc/BSC_Tests.ttcn | 10 ++++++++++ 2 files changed, 11 insertions(+) diff --git a/bsc/BSC_Tests.cfg b/bsc/BSC_Tests.cfg index ef6823cb..175654af 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 a2111fde..35223588 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() ); -- cgit v1.2.3