Bugzilla – Bug 2849
Received RLC and PDCP PDUs are missing in the stats files
Last modified: 2018-02-20 09:54:28 UTC
Elena reports an issue with the RLC traces in the mailing list: https://groups.google.com/forum/#!topic/ns-3-users/HHc_CmbgISo To sum up, some transmitted RLC PDUs are lost in the stats file DlRlcStats.txt
In WriteDlResults and WriteUlResults of RadioBearerStatsCalculator, we look for the unique IMSI/LCID pairs. But we only use the TX packets for this. If the stats interval is very short, one PDU may be transmitted in one interval and received in the following so the received PDU is not taken into account in the stats file if the PDU is received in one interval where no PDU is sent.
Created attachment 2996 [details] Use also the RX pdus to get the IMSI/LCID pairs This patch takes into account the RX pdus when computing the unique IMSI/LCID pairs. This is needed if there is no TX pdus in current interval.
The problem can be reproduced with: ./waf --run "lena-simple-epc --ns3::RadioBearerStatsCalculator::EpochDuration=0.002 --numberOfNodes=1"
push to changeset: 13299:44edef71b17e