Change in osmo-ttcn3-hacks[master]: L3_Templates; add tr_ML3_MT_MM_AUTH_REQ_3G()

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
Sun Oct 28 23:21:22 UTC 2018


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

Change subject: L3_Templates; add tr_ML3_MT_MM_AUTH_REQ_3G()
......................................................................

L3_Templates; add tr_ML3_MT_MM_AUTH_REQ_3G()

this allows us to match on specifically 3G MM AUTH REQ, whereas
so far we only had a generic template that matched the 2G and 3G
auth req.

Change-Id: I392d61d1348bee9c88abe4bb938e99b2c3702a94
---
M library/L3_Templates.ttcn
1 file changed, 23 insertions(+), 0 deletions(-)

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



diff --git a/library/L3_Templates.ttcn b/library/L3_Templates.ttcn
index a05aba2..52d4a2a 100644
--- a/library/L3_Templates.ttcn
+++ b/library/L3_Templates.ttcn
@@ -1268,6 +1268,29 @@
 	}
 }
 
+template PDU_ML3_NW_MS tr_ML3_MT_MM_AUTH_REQ_3G(template OCT16 rand := ?, template OCT16 autn) := {
+	discriminator := '0101'B,
+	tiOrSkip := {
+		skipIndicator := '0000'B
+	},
+	msgs := {
+		mm := {
+			authenticationRequest := {
+				messageType := '010010'B,
+				nsd := '00'B,
+				cipheringKeySequenceNumber := ?,
+				spare2_4 := ?,
+				authenticationParRAND := rand,
+				authenticationParAUTN := {
+					elementIdentifier := '20'O,
+					lengthIndicator := ?,
+					autnValue := autn
+				}
+			}
+		}
+	}
+}
+
 template (value) PDU_ML3_MS_NW ts_ML3_MT_MM_AUTH_RESP_2G(OCT4 sres) := {
 	discriminator := '0101'B,
 	tiOrSkip := {

-- 
To view, visit https://gerrit.osmocom.org/11492
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: I392d61d1348bee9c88abe4bb938e99b2c3702a94
Gerrit-Change-Number: 11492
Gerrit-PatchSet: 1
Gerrit-Owner: Harald Welte <laforge at gnumonks.org>
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/20181028/911ae1d8/attachment.htm>


More information about the gerrit-log mailing list