MSC_Tests: Implement early classmark sending in LU
Change-Id: I019d51703c60203c7cb83a77dc7ca4b3d6623e24
diff --git a/library/BSSMAP_Templates.ttcn b/library/BSSMAP_Templates.ttcn
index 8227a14..925a8e6 100644
--- a/library/BSSMAP_Templates.ttcn
+++ b/library/BSSMAP_Templates.ttcn
@@ -762,6 +762,50 @@
}
}
+template BSSMAP_IE_ClassmarkInformationType2 ts_CM2_default := {
+ elementIdentifier := '12'O,
+ lengthIndicator := 0, /* overwritten */
+ /* CM1 */
+ rf_PowerCapability := '010'B, /* class3 */
+ a5_1 := '0'B, /* supported */
+ esind := '1'B, /* early classmark supported */
+ revisionLevel := '10'B, /* R99 */
+ spare1_1 := '0'B,
+ /* CM2 */
+ fc := '1'B, /* E-GSM support */
+ vgcs := '0'B,
+ vbs := '0'B,
+ sm_Capability := '1'B,
+ ss_ScreenIndicator := '00'B,
+ ps_Capability := '1'B,
+ spare2_1 := '0'B,
+ classmarkInformationType2_oct5 := {
+ a5_2 := '0'B, /* not available */
+ a5_3 := '1'B, /* available */
+ cmsp := '0'B, /* not supported */
+ solsa := '0'B, /* not suported */
+ ucs2 := '0'B, /* GSM alphabet preferred */
+ lcsvacap := '0'B, /* not supported */
+ spare := '0'B,
+ cm3 := '0'B /* no CM3 */
+ }
+}
+
+template PDU_BSSAP ts_BSSMAP_ClassmarkUpd(template BSSMAP_IE_ClassmarkInformationType2 cm2 := ts_CM2_default,
+ template BSSMAP_IE_ClassmarkInformationType3 cm3 := omit)
+modifies ts_BSSAP_BSSMAP := {
+ pdu := {
+ bssmap := {
+ classmarkUpdate := {
+ messageType := '54'O,
+ classmarkInformationType2 := cm2,
+ classmarkInformationType3 := cm3,
+ talkerPriority := omit
+ }
+ }
+ }
+}
+
} with { encode "RAW" };