aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPhilipp Maier <pmaier@sysmocom.de>2023-08-31 17:54:28 +0200
committerPhilipp Maier <pmaier@sysmocom.de>2023-09-01 17:23:25 +0200
commit64bfc89a4fb3d02c9e5648a38150b43ecf86b53e (patch)
tree0116ccdb0a05ef03dfd0f46b6761cb30a387a025
parent9e79658067e44ea9b51b382915e89494276bc363 (diff)
NAS_Templates: add template for NAS key set identifier
-rw-r--r--library/NAS_Templates.ttcn9
1 files changed, 9 insertions, 0 deletions
diff --git a/library/NAS_Templates.ttcn b/library/NAS_Templates.ttcn
index 2e8be0ee..f132c4e9 100644
--- a/library/NAS_Templates.ttcn
+++ b/library/NAS_Templates.ttcn
@@ -326,6 +326,15 @@ template (value) EPS_UpdateTypeV ts_EPS_UpdateTypeV(BIT3 typeOfUpdate := c_EPS_U
activeFlag := activeFlag
}
+/* 9.9.3.21 NAS key set identifier */
+const BIT3 c_NAS_KEY_SET_ID_NO_KEY := '111'B;
+const BIT1 c_NAS_TSC_NATIVE_SEC_CTX := '0'B;
+const BIT1 c_NAS_TSC_MAPPED_SEC_CTX := '1'B;
+template (value) NAS_KeySetIdentifierV ts_NAS_KeySetIdentifierV(BIT3 identifier := c_NAS_KEY_SET_ID_NO_KEY, BIT1 tSC := c_NAS_TSC_NATIVE_SEC_CTX) := {
+ identifier := identifier,
+ tSC := tSC
+}
+
/* 8.2.3 Attach Reject */
template (value) PDU_NAS_EPS
ts_NAS_AttachReject(template (value) EMM_CauseV cause) := {