summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAlexander Couzens <lynxis@fe80.eu>2018-09-04 16:10:14 +0200
committerlynxis lazus <lynxis@fe80.eu>2018-09-11 16:20:28 +0000
commitd24973deb1b095a779bc8ee80319d4e2fb5f66dc (patch)
tree984eb8ec1f5168f153f5dc606a3619e62c8565ca
parent387f7f37b1354e0657e234b96c6ce911afda18a7 (diff)
GSUP_Types.ttcn: add tr_GSUP_SAI_REQ_UMTS_AKA_RESYNC
Match only on AKA RESYNC packages Change-Id: Ibab8a76fde78db6e7a84794e0b641bcb7b1fd1a7
-rw-r--r--library/GSUP_Types.ttcn27
1 files changed, 27 insertions, 0 deletions
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 (value) GSUP_PDU ts_GSUP_SAI_REQ(hexstring imsi) :=
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 (value) GSUP_IE ts_GSUP_IE_AUTS(octetstring auts) := {
}
}
+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 (value) GSUP_IE ts_GSUP_IE_RAND(octetstring rand) := {
}
}
+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 */