srsLTE/lib
Andre Puschmann 035d989737 pdu: fix unpacking of LCG2 of LBSR MAC CE
LBSR packing is fine but this makes the eNB do wrong things
because it thinkgs LCG2 has no or too much data to send.

LCG2 is our default LCG for DRB1. One occasion we saw the issue
is doing full rate TCP DL which requires quite a bit of ACK traffic
back to the sender. With the BSR for LCG2 being wrong, providing
UL grants was delayed and so the TCP DL throuhgput was very low.

In the log below we see that the buff_size[2]=1 so there is data to send.
Interestingly, the packing was correct so Wireshark displays it correctly.
But the unpacking not, as can be seen in the MAC log below which reports
0 buffer state for all LCGs

22:08:54.804792 [MAC ] [I] [ 5084] pdu_get: sdu_len=1212, channel.sched_len=1213, bsr.buff_size[2]=1
22:08:54.804840 [MAC ] [I] [ 5084] UL LCID=3 len=1212 LBSR: b=0 0 0 0
2020-12-12 15:58:33 +01:00
..
examples update nr asn1 files, and asn1 tests 2020-12-12 15:58:32 +01:00
include Improved comments 2020-12-12 15:58:33 +01:00
src pdu: fix unpacking of LCG2 of LBSR MAC CE 2020-12-12 15:58:33 +01:00
test rlc: fix stopping of poll retx timer (#2006) 2020-12-12 15:58:32 +01:00
CMakeLists.txt Updated copyright 2020-03-16 11:26:06 +01:00