From 7bb6aa1f50b9eee1d5ba49f2a59ea789266c3d93 Mon Sep 17 00:00:00 2001 From: Ismael Gomez Date: Mon, 14 Mar 2022 09:45:04 +0100 Subject: [PATCH] srsue,mac: do not add sbsr_ce on Msg3 --- srsue/src/stack/mac_nr/mux_nr.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/srsue/src/stack/mac_nr/mux_nr.cc b/srsue/src/stack/mac_nr/mux_nr.cc index 78dc7b090..38d456619 100644 --- a/srsue/src/stack/mac_nr/mux_nr.cc +++ b/srsue/src/stack/mac_nr/mux_nr.cc @@ -76,7 +76,7 @@ srsran::unique_byte_buffer_t mux_nr::get_pdu(uint32_t max_pdu_len) // Pack normal UL data PDU int32_t remaining_len = tx_pdu.get_remaing_len(); // local variable to reserve space for CEs - if (add_bsr_ce == sbsr_ce) { + if (!msg3_is_pending() && add_bsr_ce == sbsr_ce) { // reserve space for SBSR remaining_len -= 2; }