[PATCH] osmo-ttcn3-hacks[master]: L3_Templates: Template for tr_CM_SERV_REJ and ts_ML3_MO_LU_Req

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 Jan 21 18:12:16 UTC 2018


Review at  https://gerrit.osmocom.org/5953

L3_Templates: Template for tr_CM_SERV_REJ and ts_ML3_MO_LU_Req

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


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

diff --git a/library/L3_Templates.ttcn b/library/L3_Templates.ttcn
index 19cb99f..b44ccba 100644
--- a/library/L3_Templates.ttcn
+++ b/library/L3_Templates.ttcn
@@ -14,6 +14,10 @@
 import from MobileL3_CommonIE_Types all;
 import from MobileL3_MM_Types all;
 import from MobileL3_RRM_Types all;
+import from MobileL3_CC_Types all;
+//import from MobileL3_GMM_SM_Types all;
+//import from MobileL3_SMS_Types all;
+
 
 type enumerated CmServiceType {
 	CM_TYPE_MO_CALL		('0001'B),
@@ -98,6 +102,23 @@
 	}
 }
 
+template PDU_ML3_NW_MS tr_CM_SERV_REJ(template OCT1 rej_cause := ?) := {
+	discriminator := '0101'B,
+	tiOrSkip := {
+		skipIndicator := '0000'B
+	},
+	msgs := {
+		mm := {
+			cMServiceReject := {
+				messageType := '100010'B,
+				nsd := ?,
+				rejectCause := rej_cause,
+				t3246_Value := *
+			}
+		}
+	}
+}
+
 /* Send template for PAGING RESPONSE */
 template (value) PDU_ML3_MS_NW ts_PAG_RESP(MobileIdentityLV mi_lv) := {
 	discriminator := '0000'B, /* overwritten */
@@ -151,4 +172,59 @@
 }
 
 
+template PDU_ML3_MS_NW ts_ML3_MO := {
+	discriminator := '0000'B,
+	tiOrSkip := {
+		skipIndicator := '0000'B
+	},
+	msgs := ?
+}
+
+template LocationUpdatingType ts_ML3_IE_LuType := {
+	lut := ?,
+	spare1_1 := '0'B,
+	fop := '0'B
+}
+
+template LocationUpdatingType ts_ML3_IE_LuType_Normal modifies ts_ML3_IE_LuType := {
+	lut := '00'B
+}
+
+template LocationUpdatingType ts_ML3_IE_LuType_Periodic modifies ts_ML3_IE_LuType := {
+	lut := '01'B
+}
+
+template LocationUpdatingType ts_ML3_IE_LuType_Attach modifies ts_ML3_IE_LuType := {
+	lut := '10'B
+}
+
+template CipheringKeySequenceNumberV ts_ML3_IE_CKSN(integer cksn) := {
+	keySequence := int2bit(cksn, 3),
+	spare := '0'B
+}
+
+template PDU_ML3_MS_NW ts_ML3_MO_LU_Req(LocationUpdatingType lu_type, LocationAreaIdentification_V lai,
+					MobileIdentityLV mi, MobileStationClassmark1_V cm1)
+modifies ts_ML3_MO := {
+	msgs := {
+		mm := {
+			locationUpdateRequest := {
+				messageType := '001000'B,
+				nsd := '00'B, /* ? */
+				locationUpdatingType := lu_type,
+				cipheringKeySequenceNumber := ts_ML3_IE_CKSN(0),
+				locationAreaIdentification := lai,
+				mobileStationClassmark1 := cm1,
+				mobileIdentityLV := mi,
+				classmarkInformationType2_forUMTS := omit,
+				additionalUpdateParameterTV := omit,
+				deviceProperties := omit,
+				mS_NetworkFeatureSupport := omit
+			}
+		}
+	}
+}
+
+
+
 }

-- 
To view, visit https://gerrit.osmocom.org/5953
To unsubscribe, visit https://gerrit.osmocom.org/settings

Gerrit-MessageType: newchange
Gerrit-Change-Id: Iad1596a3b80de16a9b0e2d644cf9a0fe2c51ad21
Gerrit-PatchSet: 1
Gerrit-Project: osmo-ttcn3-hacks
Gerrit-Branch: master
Gerrit-Owner: Harald Welte <laforge at gnumonks.org>



More information about the gerrit-log mailing list