SGSN_Tests: Wait for RAU Accept after receiving SecurityModeCmd

We don't want to pass the test or return from this function before
receiving a RAU accept. With Iu we expect a Security Mode
Command/Complete before the routing area is updated, but we do want to
wait for the actual RAU Accept or fail when receiving a RAU Reject.

Change-Id: Id89e2c6dae8cbdb5e8dee1c92960dc3346590a95
Related: OS#3727
This commit is contained in:
Daniel Willmann 2020-01-22 17:48:31 +01:00
parent 1c2ff0fa93
commit 1c1161119d
1 changed files with 1 additions and 0 deletions

View File

@ -2409,6 +2409,7 @@ friend function f_routing_area_update(RoutingAreaIdentificationV ra, integer ran
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)))
repeat;
}
[is_gb(ran_index)] BSSGP[ran_index].receive { repeat; }
[is_iu(ran_index)] BSSAP.receive { repeat; }