From aa45707156242471b45d88f36a77b3459106ea56 Mon Sep 17 00:00:00 2001 From: Pau Espin Pedrol Date: Mon, 19 Apr 2021 18:06:16 +0200 Subject: 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 --- pcu/PCUIF_Components.ttcn | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/pcu/PCUIF_Components.ttcn b/pcu/PCUIF_Components.ttcn index 6a24ed67..be7aaeb5 100644 --- a/pcu/PCUIF_Components.ttcn +++ b/pcu/PCUIF_Components.ttcn @@ -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 { -- cgit v1.2.3