Bug 2821 - Incorrect limit for UL retransmissions in Round Robin Scheduler
Incorrect limit for UL retransmissions in Round Robin Scheduler
Status: RESOLVED FIXED
Product: ns-3
Classification: Unclassified
Component: lte
ns-3-dev
All All
: P3 normal
Assigned To: Biljana Bojović
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2017-11-14 06:20 UTC by Zoraze Ali
Modified: 2017-11-17 06:04 UTC (History)
1 user (show)

See Also:


Attachments
Uplink Rx stats (339 bytes, text/plain)
2017-11-14 06:20 UTC, Zoraze Ali
Details
test script (6.73 KB, text/x-c++src)
2017-11-14 06:23 UTC, Zoraze Ali
Details
RrFfMacScheduler patch (615 bytes, patch)
2017-11-14 06:33 UTC, Zoraze Ali
Details | Diff
Uplink Rx stats correct (339 bytes, text/plain)
2017-11-14 08:54 UTC, Zoraze Ali
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Zoraze Ali 2017-11-14 06:20:01 UTC
Created attachment 2955 [details]
Uplink Rx stats

Hi, 

The condition to limit the uplink retransmission in Round Robin scheduler is not correct. Currently, it is "if ((*itStat).second.at (harqId) > 3)", we should change it to "if ((*itStat).second.at (harqId) >= 3)" to limit the retxs till redundancy version number 3. 

I am attaching UlRxPhyStats to see the incorrect behaviour in which RV number go beyond 3.

These results are generated after applying the patches for Bug#2151 and Bug#2152

https://www.nsnam.org/bugzilla/﷒0https://www.nsnam.org/bugzilla/﷒1
Comment 1 Zoraze Ali 2017-11-14 06:23:23 UTC
Created attachment 2956 [details]
test script
Comment 2 Zoraze Ali 2017-11-14 06:23:41 UTC
To run the test, it is also necessary to modify the lte-spectrum-phy.cc to force packet corruption by modifying the function EndRxData at line 972 to:
 (*itTb).second.corrupt = true;

By calling the script as follows
./waf --run "harq-test --interPacketInterval=9 --maxPackets=2"
Comment 3 Zoraze Ali 2017-11-14 06:31:02 UTC
Kindly disregard the last comment on running the test script. Following is the updated info. 

To run the test, it is also necessary to modify the lte-spectrum-phy.cc to force packet corruption by modifying the function EndRxData at line 995 to:
 (*itTb).second.corrupt = true;

By calling the script as follows
./waf --run "rr-test --maxPackets=2"
Comment 4 Zoraze Ali 2017-11-14 06:33:31 UTC
Created attachment 2957 [details]
RrFfMacScheduler patch
Comment 5 Zoraze Ali 2017-11-14 08:54:02 UTC
Created attachment 2958 [details]
Uplink Rx stats correct

The abnormal behaviour can be noticed at 140 msec.
Comment 6 Biljana Bojović 2017-11-17 06:04:36 UTC
Pushed to changeset 13178:68035954e07c.