L3_Templates: Template for tr_CM_SERV_REJ and ts_ML3_MO_LU_Req
Change-Id: Iad1596a3b80de16a9b0e2d644cf9a0fe2c51ad21
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
+ }
+ }
+ }
+}
+
+
+
}