PCUIF_Components: fix confirm member in record BTS_CCCH_Block

The record BTS_CCCH_Block has an optional field "confirm". However, this
field is not marked as optional. Also f_BTS_CT_handler should make sure
that this field is populated with "omit" when it is not present.

Related: OS#5927
Change-Id: Ifcbb72c22b93855bed89f4970cf63bd2d6fcd128
This commit is contained in:
Philipp Maier 2023-08-30 15:38:02 +02:00
parent d0859cf8f0
commit 4e76926683
1 changed files with 2 additions and 1 deletions

View File

@ -143,7 +143,7 @@ type record BTS_CCCH_Block {
OCT4 msg_id optional,
charstring imsi optional,
GsmRrMessage rr_msg,
boolean confirm
boolean confirm optional
};
template BTS_PDTCH_Block tr_PCUIF_DATA_PDTCH(template uint8_t bts_nr,
template PCUIF_data raw,
@ -568,6 +568,7 @@ runs on RAW_PCU_BTS_CT {
pcu_msg_rr.msg_id := omit;
pcu_msg_rr.imsi := omit;
pcu_msg_rr.rr_msg := dec_GsmRrMessage(data);
pcu_msg_rr.confirm := omit;
}
TC.send(pcu_msg_rr);
repeat;