pespin submitted this change.

View Change

Approvals: Jenkins Builder: Verified osmith: Looks good to me, but someone else must approve fixeria: Looks good to me, approved
5gc: TC_periodic_registration_updating: Fix ngKSI expectancies

This test was failing due to wrong expectancies since open5gs.git
3decb45a653d759a094b66006c520aa14ef36922, where open5gs started
validating the received ngKSI from the UE (TTCN-3).

The ngKSI is only updated whenever auth takes place (through AUSF),
which doesn't occur in our f_periodic_register_update().

Change-Id: I021c63e7fdd220a06b32467555487f8e67a6715a
---
M 5gc/ConnHdlr.ttcn
1 file changed, 0 insertions(+), 10 deletions(-)

diff --git a/5gc/ConnHdlr.ttcn b/5gc/ConnHdlr.ttcn
index 87c330d..e6a9879 100644
--- a/5gc/ConnHdlr.ttcn
+++ b/5gc/ConnHdlr.ttcn
@@ -852,16 +852,6 @@
p_UESecurityCap := f_UE_SecurityCapability());
NGAP.send(nas_ul_msg);

- /* Expect updated KSI from network following 5G Core standards
- * (open5gs.git 70310979c58fe186e9eaa06bec9d9a31f24ff7a1): */
- if (g_pars.kset_id.nasKeySetId != tsc_NasKsi_NoKey) {
- if (g_pars.kset_id.nasKeySetId == '110'B) {
- g_pars.kset_id.nasKeySetId := '000'B;
- } else {
- g_pars.kset_id.nasKeySetId := int2bit(bit2int(g_pars.kset_id.nasKeySetId) + 1, 3);
- }
- }
-
NGAP.receive(cr_NG_REGISTRATION_ACCEPT) -> value rx_nas;
g_pars.ue_pars.guti := rx_nas.registration_Accept.guti.otherDigits;
NGAP.send(cs_NG_REGISTRATION_COMPLETE);

To view, visit change 44217. To unsubscribe, or for help writing mail filters, visit settings.

Gerrit-MessageType: merged
Gerrit-Project: osmo-ttcn3-hacks
Gerrit-Branch: master
Gerrit-Change-Id: I021c63e7fdd220a06b32467555487f8e67a6715a
Gerrit-Change-Number: 44217
Gerrit-PatchSet: 2
Gerrit-Owner: pespin <pespin@sysmocom.de>
Gerrit-Reviewer: Jenkins Builder
Gerrit-Reviewer: fixeria <vyanitskiy@sysmocom.de>
Gerrit-Reviewer: osmith <osmith@sysmocom.de>
Gerrit-Reviewer: pespin <pespin@sysmocom.de>