aboutsummaryrefslogtreecommitdiffstats
path: root/library
diff options
context:
space:
mode:
authorHarald Welte <laforge@gnumonks.org>2018-10-28 23:28:35 +0100
committerHarald Welte <laforge@gnumonks.org>2018-10-29 00:19:00 +0100
commit0cedf2c5db4267c124588f636af935ededbc3777 (patch)
tree2687c55b3d269450d597ebe466511be877ec4473 /library
parente01691df50aba60e5b99b004b0eabbb50446c210 (diff)
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
Diffstat (limited to 'library')
-rw-r--r--library/L3_Templates.ttcn23
1 files changed, 23 insertions, 0 deletions
diff --git a/library/L3_Templates.ttcn b/library/L3_Templates.ttcn
index a05aba2e..52d4a2ad 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(template OCT16 rand := ?) := {
}
}
+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 := {