From ed61ae81e276cd0035d151b3b53a14e438346ec7 Mon Sep 17 00:00:00 2001 From: Alexander Couzens Date: Sun, 15 Sep 2019 23:18:08 +0200 Subject: [PATCH] Require to receive RANAP_CommonId after RANAP_SecurityModeComplete The SGSN will send a CommonId after it has sent SecurityModeComplete to support paging coordination in the RNC. Change-Id: I82a05cab2aeea25eec699f726b2f5c4b3eef7560 --- sgsn/SGSN_Tests.ttcn | 2 ++ 1 file changed, 2 insertions(+) diff --git a/sgsn/SGSN_Tests.ttcn b/sgsn/SGSN_Tests.ttcn index d96767a13..281dcc9ed 100644 --- a/sgsn/SGSN_Tests.ttcn +++ b/sgsn/SGSN_Tests.ttcn @@ -661,6 +661,7 @@ function f_gmm_auth (boolean umts_aka_challenge := false, boolean force_gsm_sres key_sts := ?)) { var IntegrityProtectionAlgorithm uia_chosen := 0; /* 0 = standard_UMTS_integrity_algorithm_UIA1 */ BSSAP.send(ts_RANAP_SecurityModeComplete(uia_chosen)); + BSSAP.receive(tr_RANAP_CommonId(imsi_hex2oct(g_pars.imsi))) } } } else { @@ -2397,6 +2398,7 @@ friend function f_routing_area_update(RoutingAreaIdentificationV ra, integer ran key_sts := ?)) { var IntegrityProtectionAlgorithm uia_chosen := 0; /* 0 = standard_UMTS_integrity_algorithm_UIA1 */ BSSAP.send(ts_RANAP_SecurityModeComplete(uia_chosen)); + BSSAP.receive(tr_RANAP_CommonId(imsi_hex2oct(g_pars.imsi))) } [is_gb(ran_index)] BSSGP[ran_index].receive { repeat; } [is_iu(ran_index)] BSSAP.receive { repeat; }