NR UE: in nr_ue_scheduler.c set LCID_buffer_remain to 0 if RLC indicates not more bytes in buffer

If the RLC indicates that there is no more data in the buffer, also the scheduler's
LCID_buffer_remain should be set to 0. Else the UE sends BSR indicating it has data
to be transmitted. The gNB would then unnecessarily schedule UL for this UE, which
would not be used, as there is no actual data to be transmitted.
This commit is contained in:
Thomas Schlichter
2025-09-19 12:11:58 +02:00
parent 32c81b7b06
commit 272be719dd
+1 -1
View File
@@ -1299,8 +1299,8 @@ static void nr_update_rlc_buffers_status(NR_UE_MAC_INST_t *mac, frame_t frameP,
rlc_status.bytes_in_buffer,
frameP,
slotP);
lc_sched_info->LCID_buffer_remain = rlc_status.bytes_in_buffer;
}
lc_sched_info->LCID_buffer_remain = rlc_status.bytes_in_buffer;
}
}