mirror of https://github.com/pvnis/srsRAN_4G.git
rlc_am_lte: fix counting of retx of entire PDUs and PDU segments
this patch fixes a bug discovered in a real network where the DL CQI of a user degraded repidly in very short time. A relativly big RLC PDU that was still sent with the good CQI in a big grant now needs to be split across many tiny segments because the CQI degraded so much. The retx couting for each transmitted segment caused the retx counter to reach maxRetx quickly. With this patch we do not increment the retx counter for each transmitted PDU or segment of a PDU but instead only increment the counter when a given SN is added to the retx queue. This can happen either: a) if the SN is negativly acknowledged and was not already on the retx queue, b) no new data is available for tx and a SN is selected for retx. This is in accordance with TS 36.322 which handles retx counting in section 5.2.1 according to the above description.master
parent
cba6df3722
commit
7726acad41
Loading…
Reference in New Issue