Change in osmo-ttcn3-hacks[master]: GSUP_Types.ttcn: add tr_GSUP_SAI_REQ_UMTS_AKA_RESYNC

This is merely a historical archive of years 2008-2021, before the migration to mailman3.

A maintained and still updated list archive can be found at https://lists.osmocom.org/hyperkitty/list/gerrit-log@lists.osmocom.org/.

Harald Welte gerrit-no-reply at lists.osmocom.org
Wed Sep 12 07:39:10 UTC 2018


Harald Welte has submitted this change and it was merged. ( https://gerrit.osmocom.org/10768 )

Change subject: GSUP_Types.ttcn: add tr_GSUP_SAI_REQ_UMTS_AKA_RESYNC
......................................................................

GSUP_Types.ttcn: add tr_GSUP_SAI_REQ_UMTS_AKA_RESYNC

Match only on AKA RESYNC packages

Change-Id: Ibab8a76fde78db6e7a84794e0b641bcb7b1fd1a7
---
M library/GSUP_Types.ttcn
1 file changed, 27 insertions(+), 0 deletions(-)

Approvals:
  Jenkins Builder: Verified
  Harald Welte: Looks good to me, approved



diff --git a/library/GSUP_Types.ttcn b/library/GSUP_Types.ttcn
index ba8180f..0d21404 100644
--- a/library/GSUP_Types.ttcn
+++ b/library/GSUP_Types.ttcn
@@ -299,6 +299,17 @@
 template GSUP_PDU tr_GSUP_SAI_REQ(template hexstring imsi) :=
 	tr_GSUP_IMSI(OSMO_GSUP_MSGT_SEND_AUTH_INFO_REQUEST, imsi);
 
+template GSUP_PDU tr_GSUP_SAI_REQ_UMTS_AKA_RESYNC(
+		template hexstring imsi,
+		template octetstring auts,
+		template octetstring rand) :=
+	tr_GSUP(OSMO_GSUP_MSGT_SEND_AUTH_INFO_REQUEST, {
+			tr_GSUP_IE_IMSI(imsi),
+			tr_GSUP_IE_AUTS(auts),
+			tr_GSUP_IE_RAND(rand),
+			*
+			});
+
 template (value) GSUP_PDU ts_GSUP_SAI_RES(hexstring imsi, GSUP_IE auth_tuple) :=
 	ts_GSUP(OSMO_GSUP_MSGT_SEND_AUTH_INFO_RESULT, {
 		valueof(ts_GSUP_IE_IMSI(imsi)), auth_tuple });
@@ -464,6 +475,14 @@
 	}
 }
 
+template GSUP_IE tr_GSUP_IE_AUTS(template octetstring auts) := {
+	tag := OSMO_GSUP_AUTS_IE,
+	len := ?,
+	val := {
+		auts := auts
+	}
+}
+
 template (value) GSUP_IE ts_GSUP_IE_RAND(octetstring rand) := {
 	tag := OSMO_GSUP_RAND_IE,
 	len := 0, /* overwritten */
@@ -472,6 +491,14 @@
 	}
 }
 
+template GSUP_IE tr_GSUP_IE_RAND(template octetstring rand) := {
+	tag := OSMO_GSUP_RAND_IE,
+	len := ?,
+	val := {
+		rand := rand
+	}
+}
+
 template (value) GSUP_IE ts_GSUP_IE_SRES(octetstring sres) := {
 	tag := OSMO_GSUP_SRES_IE,
 	len := 0, /* overwritten */

-- 
To view, visit https://gerrit.osmocom.org/10768
To unsubscribe, or for help writing mail filters, visit https://gerrit.osmocom.org/settings

Gerrit-Project: osmo-ttcn3-hacks
Gerrit-Branch: master
Gerrit-MessageType: merged
Gerrit-Change-Id: Ibab8a76fde78db6e7a84794e0b641bcb7b1fd1a7
Gerrit-Change-Number: 10768
Gerrit-PatchSet: 4
Gerrit-Owner: lynxis lazus <lynxis at fe80.eu>
Gerrit-Reviewer: Harald Welte <laforge at gnumonks.org>
Gerrit-Reviewer: Jenkins Builder (1000002)
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osmocom.org/pipermail/gerrit-log/attachments/20180912/fadac14a/attachment.htm>


More information about the gerrit-log mailing list