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.
2 parents 6c559ad + b15eefb commit ce8a3caCopy full SHA for ce8a3ca
srsgnb/src/stack/mac/sched_nr_ue.cc
@@ -237,7 +237,7 @@ void ue::new_slot(slot_point pdcch_slot)
237
// Discount UL HARQ pending bytes to BSR
238
for (uint32_t pid = 0; pid < cc->harq_ent.nof_ul_harqs(); ++pid) {
239
if (not cc->harq_ent.ul_harq(pid).empty()) {
240
- 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);
241
if (last_sr_slot.valid() and cc->harq_ent.ul_harq(pid).harq_slot_tx() > last_sr_slot) {
242
last_sr_slot.clear();
243
}
0 commit comments