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/.

lynxis lazus gerrit-no-reply at lists.osmocom.org
Tue Sep 4 16:19:32 UTC 2018


lynxis lazus has uploaded this change for review. ( 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(-)



  git pull ssh://gerrit.osmocom.org:29418/osmo-ttcn3-hacks refs/changes/68/10768/1

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: newchange
Gerrit-Change-Id: Ibab8a76fde78db6e7a84794e0b641bcb7b1fd1a7
Gerrit-Change-Number: 10768
Gerrit-PatchSet: 1
Gerrit-Owner: lynxis lazus <lynxis at fe80.eu>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osmocom.org/pipermail/gerrit-log/attachments/20180904/d5b6b2e8/attachment.htm>


More information about the gerrit-log mailing list