summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPau Espin Pedrol <pespin@sysmocom.de>2021-04-19 18:06:16 +0200
committerPau Espin Pedrol <pespin@sysmocom.de>2021-04-19 18:21:49 +0200
commitaa45707156242471b45d88f36a77b3459106ea56 (patch)
tree49e931ccd40422234904e9591226bb170497c6aa
parent02a6d0c489c5d760f2b5a59b77fdb21e8bf529c2 (diff)
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
-rw-r--r--pcu/PCUIF_Components.ttcn6
1 files changed, 5 insertions, 1 deletions
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 {