We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 633959f commit b15eefbCopy full SHA for b15eefb
srsgnb/src/stack/mac/sched_nr_ue.cc
@@ -228,7 +228,7 @@ void ue::new_slot(slot_point pdcch_slot)
228
// Discount UL HARQ pending bytes to BSR
229
for (uint32_t pid = 0; pid < cc->harq_ent.nof_ul_harqs(); ++pid) {
230
if (not cc->harq_ent.ul_harq(pid).empty()) {
231
- common_ctxt.pending_ul_bytes -= std::min(cc->harq_ent.ul_harq(pid).tbs(), common_ctxt.pending_ul_bytes);
+ common_ctxt.pending_ul_bytes -= std::min(cc->harq_ent.ul_harq(pid).tbs() / 8, common_ctxt.pending_ul_bytes);
232
if (last_sr_slot.valid() and cc->harq_ent.ul_harq(pid).harq_slot_tx() > last_sr_slot) {
233
last_sr_slot.clear();
234
}
0 commit comments