aboutsummaryrefslogtreecommitdiffstats
path: root/pcu
diff options
context:
space:
mode:
authorHarald Welte <laforge@gnumonks.org>2018-03-08 17:59:39 +0100
committerHarald Welte <laforge@gnumonks.org>2018-03-12 14:23:57 +0000
commita35a9ca4d4c0aebf14f3ab0b4aad00cb86bb6a32 (patch)
tree39380f5d6096ba2c0191f6d0d9f762afd14d1aee /pcu
parenta0895f96a940c0a25379bf18a641943486744379 (diff)
pcu: Adapt TC_paging to new code structure
OsmoPCU still doesn't support PAGING-PS, so this test is moot. Change-Id: I94258c386073b1c11792949df56d643b92eeaefd
Diffstat (limited to 'pcu')
-rw-r--r--pcu/PCU_Tests.ttcn11
1 files changed, 5 insertions, 6 deletions
diff --git a/pcu/PCU_Tests.ttcn b/pcu/PCU_Tests.ttcn
index d4ce7ee7..ef468317 100644
--- a/pcu/PCU_Tests.ttcn
+++ b/pcu/PCU_Tests.ttcn
@@ -194,14 +194,13 @@ module PCU_Tests {
/* Send PS-PAGING via BSSGP to PCU, expect it to show up on L1/Um */
testcase TC_paging() runs on dummy_CT {
- var hexstring imsi := '262420123456789'H;
- var BssgpBvci bvci := 196;
var GsmTmsi tmsi := hex2int('01234567'H);
+ g_mmctx.imsi := '262420123456789'H;
+ g_mmctx.tlli := f_random_tlli();
+ f_init();
- f_bssgp_establish();
-
- BSSGP.send(ts_BSSGP_PS_PAGING_IMSI(bvci, imsi));
- BSSGP.send(ts_BSSGP_PS_PAGING_PTMSI(bvci, imsi, tmsi));
+ BSSGP.send(ts_BSSGP_PS_PAGING_IMSI(mp_gb_cfg.bvci, g_mmctx.imsi));
+ BSSGP.send(ts_BSSGP_PS_PAGING_PTMSI(mp_gb_cfg.bvci, g_mmctx.imsi, tmsi));
while (true) {
var BssgpDecoded bd;