aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorNeels Hofmeyr <nhofmeyr@sysmocom.de>2024-03-26 03:33:54 +0100
committerfixeria <vyanitskiy@sysmocom.de>2024-04-15 15:18:28 +0000
commit1af4b0f625997c08464b6e317c06716038e8aaa0 (patch)
treed074d3a175b60ef36b4f4761e0c90480d248e0c9
parentc77743d544134ea5b01d7cc62e05ad1dce3479a6 (diff)
msc: f_expect_paging(): fix by_tmsi arg
The by_tmsi argument so far had no effect. But I actually need exactly this in upcoming MSC_Tests.TC_lu_tmsi_noauth_notmsi(): expect a Paging with explicitly no TMSI included. Related: SYS#6860 OS#4721 Change-Id: I9434745b7faeb738caafed8080b9f7b1a6a8079a
-rw-r--r--msc/BSC_ConnectionHandler.ttcn9
1 files changed, 7 insertions, 2 deletions
diff --git a/msc/BSC_ConnectionHandler.ttcn b/msc/BSC_ConnectionHandler.ttcn
index 6f8078bc..75eb8923 100644
--- a/msc/BSC_ConnectionHandler.ttcn
+++ b/msc/BSC_ConnectionHandler.ttcn
@@ -1357,15 +1357,20 @@ runs on BSC_ConnHdlr {
log("f_mt_call_complete DONE");
}
-function f_expect_paging(boolean by_tmsi := true)
+function f_expect_paging_tmsi(template OCT4 tmsi := *)
runs on BSC_ConnHdlr {
if (g_pars.ran_is_geran) {
- BSSAP.receive(tr_BSSMAP_Paging(g_pars.imsi));
+ BSSAP.receive(tr_BSSMAP_Paging(g_pars.imsi, tmsi));
} else {
BSSAP.receive(tr_RANAP_Paging(cs_domain, imsi_hex2oct(g_pars.imsi)));
}
}
+function f_expect_paging()
+runs on BSC_ConnHdlr {
+ f_expect_paging_tmsi(g_pars.tmsi);
+}
+
function f_mt_call_establish(inout CallParameters cpars)
runs on BSC_ConnHdlr {