MSC_Tests: More CM SERVICE REQ and EMERGENCY CALL related tests
Change-Id: I04ca21824f66ad90d9dac2c25000ecd724aa4528
diff --git a/library/L3_Templates.ttcn b/library/L3_Templates.ttcn
index ca81b72..db514a4 100644
--- a/library/L3_Templates.ttcn
+++ b/library/L3_Templates.ttcn
@@ -361,6 +361,29 @@
ts_ML3_MO_MM_ID_Rsp(valueof(ts_MI_IMEI_LV(imei)));
+template (value) MobileStationClassmark1_V ts_CM1(BIT1 a5_1_unavail := '0'B, BIT2 rev := '10'B) := {
+ rf_PowerCapability := '010'B,
+ a5_1 := a5_1_unavail,
+ esind := '1'B,
+ revisionLevel := rev,
+ spare1_1 := '0'B
+}
+
+template PDU_ML3_MS_NW ts_ML3_MO_MM_IMSI_DET_Ind(MobileIdentityLV mi,
+ template MobileStationClassmark1_V cm1 := ts_CM1)
+modifies ts_ML3_MO := {
+ msgs := {
+ mm := {
+ imsiDetachIndication := {
+ messageType := '000001'B,
+ nsd := '00'B,
+ mobileStationClassmark1 := cm1,
+ mobileIdentityLV := mi
+ }
+ }
+ }
+}
+
template PDU_ML3_MS_NW ts_ML3_MO_CC(integer tid) := {
discriminator := '0011'B,
tiOrSkip := {
@@ -440,6 +463,30 @@
}
}
+template PDU_ML3_MS_NW ts_ML3_MO_CC_EMERG_SETUP(integer tid, template BearerCapability_TLV bcap := ts_Bcap_voice) := {
+ discriminator := '0011'B,
+ tiOrSkip := {
+ transactionId := {
+ tio := int2bit(tid, 3),
+ tiFlag := '0'B,
+ tIExtension := omit
+ }
+ },
+ msgs := {
+ cc := {
+ emergencySetup := {
+ messageType := '001110'B,
+ nsd := '00'B,
+ bearerCapability := bcap,
+ streamIdentifier := omit,
+ supportedCodecs := omit,
+ emergencyCategory := omit
+ }
+ }
+ }
+}
+
+
template PDU_ML3_NW_MS tr_ML3_MT_CC_CALL_PROC(integer tid) := {
discriminator := '0011'B,
tiOrSkip := {