lynxis lazus has uploaded this change for review.
BSSGP_ConnHdlr.ttcn: Service Request: expect a CommonId when stopping on SecurityCommand Complete
The SGSN will transmit a CommonId after the Security Command Complete
has been received.
Change-Id: Ie81c5eb01eb695d0399770b8a7feb9b4549148b3
---
M sgsn/BSSGP_ConnHdlr.ttcn
1 file changed, 2 insertions(+), 0 deletions(-)
git pull ssh://gerrit.osmocom.org:29418/osmo-ttcn3-hacks refs/changes/15/38415/1
diff --git a/sgsn/BSSGP_ConnHdlr.ttcn b/sgsn/BSSGP_ConnHdlr.ttcn
index b38bb89..680c673 100644
--- a/sgsn/BSSGP_ConnHdlr.ttcn
+++ b/sgsn/BSSGP_ConnHdlr.ttcn
@@ -700,6 +700,8 @@
var IntegrityProtectionAlgorithm uia_chosen := 0; /* 0 = standard_UMTS_integrity_algorithm_UIA1 */
BSSAP.send(ts_RANAP_SecurityModeComplete(uia_chosen));
if (ue_in_pmm_idle) {
+ /* Because we stop processing early, we need to consume the CommonID */
+ BSSAP.receive(tr_RANAP_CommonId(imsi_hex2oct(g_pars.imsi)));
setverdict(pass);
}
}
To view, visit change 38415. To unsubscribe, or for help writing mail filters, visit settings.