pcu: Fix DATA.ind with SAPI BCCH wrongly txed as PDTCH

This fixes failure of test TC_rim_ran_info_req_single_rep
It probably broke during some infra refactoring of the PCUIF_Components.

Change-Id: Idf9a38280abd6243cc9ef09fc7d033e515c5be15
This commit is contained in:
Pau Espin 2021-04-19 18:06:16 +02:00
parent 02a6d0c489
commit aa45707156
1 changed files with 5 additions and 1 deletions

View File

@ -327,7 +327,11 @@ runs on RAW_PCU_BTS_CT {
/* Enqueue DATA.ind and RTS.req messages */
[] TC.receive(tr_PCUIF_MSG(PCU_IF_MSG_DATA_IND, bts_nr)) -> value pcu_msg {
f_PCUIF_MsgQueue_enqueue(pdtch_data_queue, pcu_msg);
if (pcu_msg.u.data_ind.sapi == PCU_IF_SAPI_BCCH) {
PCUIF.send(pcu_msg); /* Forward directly ASAP */
} else {
f_PCUIF_MsgQueue_enqueue(pdtch_data_queue, pcu_msg);
}
repeat;
}
[] TC.receive(tr_PCUIF_RTS_REQ(bts_nr, sapi := PCU_IF_SAPI_PDTCH)) -> value pcu_msg {