pespin has submitted this change. (
https://gerrit.osmocom.org/c/osmo-ttcn3-hacks/+/34774?usp=email )
Change subject: library/GSUP: Add tr templates for tr_GSUP_IE_AuthTuple2G3G() and
subfields
......................................................................
library/GSUP: Add tr templates for tr_GSUP_IE_AuthTuple2G3G() and subfields
Change-Id: I39babec53f89c11b9a822939af7267aa1111dc8b
---
M library/GSUP_Types.ttcn
1 file changed, 81 insertions(+), 1 deletion(-)
Approvals:
laforge: Looks good to me, but someone else must approve
fixeria: Looks good to me, approved
Jenkins Builder: Verified
diff --git a/library/GSUP_Types.ttcn b/library/GSUP_Types.ttcn
index 818f830..d874862 100644
--- a/library/GSUP_Types.ttcn
+++ b/library/GSUP_Types.ttcn
@@ -379,6 +379,29 @@
}
}
+template GSUP_IE tr_GSUP_IE_AuthTuple2G3G(
+ template (present) octetstring rand := ?,
+ template (present) octetstring sres := ?,
+ template (present) octetstring kc := ?,
+ template (present) octetstring ik := ?,
+ template (present) octetstring ck := ?,
+ template (present) octetstring autn := ?,
+ template (present) octetstring res := ?) := {
+ tag := OSMO_GSUP_AUTH_TUPLE_IE,
+ len := ?,
+ val := {
+ auth_tuple := {
+ tr_GSUP_IE_RAND(rand),
+ tr_GSUP_IE_SRES(sres),
+ tr_GSUP_IE_Kc(kc),
+ tr_GSUP_IE_IK(ik),
+ tr_GSUP_IE_CK(ck),
+ tr_GSUP_IE_AUTN(autn),
+ tr_GSUP_IE_RES(res)
+ }
+ }
+}
+
template GSUP_IE ts_GSUP_IE_AuthTuple2G3G(octetstring rand, octetstring sres,
octetstring kc, octetstring ik,
octetstring ck, octetstring autn,
@@ -721,7 +744,7 @@
}
}
-template GSUP_IE tr_GSUP_IE_RAND(template octetstring rand) := {
+template GSUP_IE tr_GSUP_IE_RAND(template octetstring rand := ?) := {
tag := OSMO_GSUP_RAND_IE,
len := ?,
val := {
@@ -729,6 +752,14 @@
}
}
+template (present) GSUP_IE tr_GSUP_IE_SRES(template (present) octetstring sres := ?) :=
{
+ tag := OSMO_GSUP_SRES_IE,
+ len := ?,
+ val := {
+ sres := sres
+ }
+}
+
template (value) GSUP_IE ts_GSUP_IE_SRES(octetstring sres) := {
tag := OSMO_GSUP_SRES_IE,
len := 0, /* overwritten */
@@ -737,6 +768,14 @@
}
}
+template (present) GSUP_IE tr_GSUP_IE_Kc(template (present) octetstring kc := ?) := {
+ tag := OSMO_GSUP_KC_IE,
+ len := ?,
+ val := {
+ kc := kc
+ }
+}
+
template (value) GSUP_IE ts_GSUP_IE_Kc(octetstring kc) := {
tag := OSMO_GSUP_KC_IE,
len := 0, /* overwritten */
@@ -745,6 +784,14 @@
}
}
+template (present) GSUP_IE tr_GSUP_IE_IK(template (present) octetstring ik := ?) := {
+ tag := OSMO_GSUP_IK_IE,
+ len := ?,
+ val := {
+ ik := ik
+ }
+}
+
template (value) GSUP_IE ts_GSUP_IE_IK(octetstring ik) := {
tag := OSMO_GSUP_IK_IE,
len := 0, /* overwritten */
@@ -753,6 +800,14 @@
}
}
+template (present) GSUP_IE tr_GSUP_IE_CK(template (present) octetstring ck := ?) := {
+ tag := OSMO_GSUP_CK_IE,
+ len := ?,
+ val := {
+ ck := ck
+ }
+}
+
template (value) GSUP_IE ts_GSUP_IE_CK(octetstring ck) := {
tag := OSMO_GSUP_CK_IE,
len := 0, /* overwritten */
@@ -761,6 +816,14 @@
}
}
+template (present) GSUP_IE tr_GSUP_IE_AUTN(template (present) octetstring autn := ?) :=
{
+ tag := OSMO_GSUP_AUTN_IE,
+ len := ?,
+ val := {
+ autn := autn
+ }
+}
+
template (value) GSUP_IE ts_GSUP_IE_AUTN(octetstring autn) := {
tag := OSMO_GSUP_AUTN_IE,
len := 0, /* overwritten */
@@ -769,6 +832,14 @@
}
}
+template (present) GSUP_IE tr_GSUP_IE_RES(template (present) octetstring res := ?) := {
+ tag := OSMO_GSUP_RES_IE,
+ len := ?,
+ val := {
+ res := res
+ }
+}
+
template (value) GSUP_IE ts_GSUP_IE_RES(octetstring res) := {
tag := OSMO_GSUP_RES_IE,
len := 0, /* overwritten */
--
To view, visit
https://gerrit.osmocom.org/c/osmo-ttcn3-hacks/+/34774?usp=email
To unsubscribe, or for help writing mail filters, visit
https://gerrit.osmocom.org/settings
Gerrit-Project: osmo-ttcn3-hacks
Gerrit-Branch: master
Gerrit-Change-Id: I39babec53f89c11b9a822939af7267aa1111dc8b
Gerrit-Change-Number: 34774
Gerrit-PatchSet: 2
Gerrit-Owner: pespin <pespin(a)sysmocom.de>
Gerrit-Reviewer: Jenkins Builder
Gerrit-Reviewer: fixeria <vyanitskiy(a)sysmocom.de>
Gerrit-Reviewer: laforge <laforge(a)osmocom.org>
Gerrit-Reviewer: osmith <osmith(a)sysmocom.de>
Gerrit-Reviewer: pespin <pespin(a)sysmocom.de>
Gerrit-MessageType: merged