mirror of https://github.com/PentHertz/srsLTE.git
Merge branch 'next' into agpl_next
This commit is contained in:
commit
ce8a3cae17
|
@ -237,7 +237,7 @@ void ue::new_slot(slot_point pdcch_slot)
|
||||||
// Discount UL HARQ pending bytes to BSR
|
// Discount UL HARQ pending bytes to BSR
|
||||||
for (uint32_t pid = 0; pid < cc->harq_ent.nof_ul_harqs(); ++pid) {
|
for (uint32_t pid = 0; pid < cc->harq_ent.nof_ul_harqs(); ++pid) {
|
||||||
if (not cc->harq_ent.ul_harq(pid).empty()) {
|
if (not cc->harq_ent.ul_harq(pid).empty()) {
|
||||||
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);
|
||||||
if (last_sr_slot.valid() and cc->harq_ent.ul_harq(pid).harq_slot_tx() > last_sr_slot) {
|
if (last_sr_slot.valid() and cc->harq_ent.ul_harq(pid).harq_slot_tx() > last_sr_slot) {
|
||||||
last_sr_slot.clear();
|
last_sr_slot.clear();
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue