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
This commit is contained in:
Pau Espin 2022-08-02 18:03:24 +02:00
parent b1a83fbb6d
commit 74f62981a8
1 changed files with 6 additions and 1 deletions

View File

@ -159,7 +159,8 @@ tr_SBCAP_WRITE_WARNING(template (present) BIT16 p_msg_id, template (present) BIT
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,
@ -205,6 +206,10 @@ tr_SBCAP_WRITE_WARNING(template (present) BIT16 p_msg_id, template (present) BIT
value_ := { Warning_Message_Content := p_msg_content }
/* 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,