cbc: Expect Concurrent-Warning-Message-Indicator IE in SBcAP Write-Repl-Req
3GPP TS 23.041 9.3.32 states that the IE is always present for non-ETWS
messages and never present in ETWS messages.
The present template is used for CBS messages (non-ETWS) only so far.
Once we add support to test ETWS message this will be updated
accordingly if needed.
Related: osmo-cbc.git I4a5ac56b7e6eeb85aee07ae2ddf10fa2afbbf4ef
Related: OS#4945
Change-Id: I8f2067069ecf0c46f86279413a10e5970ec4456c
diff --git a/library/sbcap/SBC_AP_Templates.ttcn b/library/sbcap/SBC_AP_Templates.ttcn
index bfe9e97..0071056 100644
--- a/library/sbcap/SBC_AP_Templates.ttcn
+++ b/library/sbcap/SBC_AP_Templates.ttcn
@@ -159,7 +159,8 @@
template (present) uint16_t p_num_bcast,
template (present) BIT8 dcs := ?,
template (present) octetstring p_msg_content := ?,
- template (present) Send_Write_Replace_Warning_Indication send_ind := ?
+ template (present) Send_Write_Replace_Warning_Indication send_ind := ?,
+ template (present) Concurrent_Warning_Message_Indicator concurrent_ind := ?
) := {
initiatingMessage := {
procedureCode := id_Write_Replace_Warning,
@@ -206,6 +207,10 @@
/* OMC ID */
/* Concurrent Warning Message Indicator */
}, {
+ id := SBC_AP_Constants.id_Concurrent_Warning_Message_Indicator,
+ criticality := reject,
+ value_ := { Concurrent_Warning_Message_Indicator := concurrent_ind }
+ }, {
id := SBC_AP_Constants.id_Send_Write_Replace_Warning_Indication,
criticality := ignore,
value_ := { Send_Write_Replace_Warning_Indication := send_ind }