RLC AM is sometime not reporting full Buffer Occupancy to MAC
At each TTI when MAC is requesting RLC its buffer occupancy for Tx, RLC is not reporting full BO for an AM bearer if Status PDU (ACK/NACK) is pending. It is due to a return if ACK/NACK is pending in the middle of function rlc_am_get_buffer_occupancy_in_bytes() before adding ReTx and newdata BO. Consequently, when a Status PDU is pending, RLC AM will only report BO for this, which is a mistake.
This is both issue for UE and eNB.