Change in osmo-ttcn3-hacks[master]: L3_Templates: add template tr_GMM_DET_REQ_MT/ts_GMM_DET_ACCEPT_MT

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
Sat May 26 21:03:54 UTC 2018


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

Change subject: L3_Templates: add template tr_GMM_DET_REQ_MT/ts_GMM_DET_ACCEPT_MT
......................................................................

L3_Templates: add template tr_GMM_DET_REQ_MT/ts_GMM_DET_ACCEPT_MT

Change-Id: Ifea650994408c4dd83f46f6256565d38968bf843
---
M library/L3_Templates.ttcn
1 file changed, 24 insertions(+), 4 deletions(-)

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



diff --git a/library/L3_Templates.ttcn b/library/L3_Templates.ttcn
index 2fb6416..824dbf2 100644
--- a/library/L3_Templates.ttcn
+++ b/library/L3_Templates.ttcn
@@ -1863,7 +1863,10 @@
 	}
 }
 
-template PDU_L3_SGSN_MS tr_GMM_DET_REQ_MT(template BIT3 dtt := ?, template boolean power_off := ?) := {
+template PDU_L3_SGSN_MS tr_GMM_DET_REQ_MT(
+		template BIT3 dtt := *,
+		template BIT3 forceToStandby := ?,
+		template OCT1 cause := omit) := {
 	discriminator := '1000'B,
 	tiOrSkip := {
 		skipIndicator := '0000'B
@@ -1872,9 +1875,26 @@
 		gprs_mm := {
 			detachRequest_SGSN_MS := {
 				messageType := '00000101'B,
-				detachType := { dtt, bool2bit_tmpl(power_off) },
-				forceToStandby := ?,
-				gmmCause := *
+				detachType := { dtt, ? },
+				forceToStandby := { forceToStandby, '0'B },
+				gmmCause := {
+					elementIdentifier := '25'O,
+					causeValue := { cause }
+				}
+			}
+		}
+	}
+}
+
+template PDU_L3_MS_SGSN ts_GMM_DET_ACCEPT_MO := {
+	discriminator := '0000'B, /* overwritten */
+	tiOrSkip := {
+		skipIndicator := '0000'B
+	},
+	msgs := {
+		gprs_mm := {
+			detachAccept_MS_SGSN := {
+				messageType := '00000000'B
 			}
 		}
 	}

-- 
To view, visit https://gerrit.osmocom.org/9247
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: Ifea650994408c4dd83f46f6256565d38968bf843
Gerrit-Change-Number: 9247
Gerrit-PatchSet: 3
Gerrit-Owner: lynxis lazus <lynxis at fe80.eu>
Gerrit-Reviewer: Harald Welte <laforge at gnumonks.org>
Gerrit-Reviewer: Jenkins Builder
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osmocom.org/pipermail/gerrit-log/attachments/20180526/e84045b2/attachment.htm>


More information about the gerrit-log mailing list