|
Bugzilla – Full Text Bug Listing |
| Summary: | Uplink HARQ retransmissions out of synch at the MAC layer | ||
|---|---|---|---|
| Product: | ns-3 | Reporter: | rouil |
| Component: | lte | Assignee: | Marco Miozzo <mmiozzo> |
| Status: | RESOLVED FIXED | ||
| Severity: | normal | CC: | bbojovic, ns-bugs |
| Priority: | P5 | ||
| Version: | ns-3.23 | ||
| Hardware: | All | ||
| OS: | All | ||
| Attachments: |
Test scenario
Patch to maintain process synchronization in uplink |
||
|
Description
rouil
2015-07-08 15:34:08 UTC
Created attachment 2090 [details]
Test scenario
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"
The following output is generated
% time cellId IMSI RNTI layer mcs size rv ndi correct
112 1 1 1 0 28 2292 0 1 0
120 1 1 1 0 28 2292 0 1 0
127 1 1 1 0 28 2292 1 0 0
134 1 1 1 0 28 2292 1 0 0
141 1 1 1 0 28 2292 1 0 0
Based on the HARQ retransmission timing, there should have been a retransmission at time 119 (7m after the first transmission). However, because a second packet was received from upper layers, the HARQ process ID had changed and the packet was not found.
Created attachment 2116 [details]
Patch to maintain process synchronization in uplink
The patch makes the increment of the harq process ID occur every subframe.
% time cellId IMSI RNTI layer mcs size rv ndi correct
112 1 1 1 0 28 2292 0 1 0
119 1 1 1 0 28 2292 1 0 0
120 1 1 1 0 28 2292 0 1 0
126 1 1 1 0 28 2292 1 0 0
127 1 1 1 0 28 2292 1 0 0
133 1 1 1 0 28 2292 1 0 0
134 1 1 1 0 28 2292 1 0 0
141 1 1 1 0 28 2292 1 0 0
The patch is fine with me, the HARQ process Id has to be updated each subframe in order to maintain the synchronization. Pushed to changeset 13177:175ba8bb79c0. |