if ((*itStat).second.at (harqId) >= 3){ (*itStat).second.at (harqId) = 0; NS_LOG_DEBUG ("Max number of retransmissions reached (UL)-> drop process"); continue; }
2. Second, the current code always sets the HARQ retransmissions to zero. Specifically, I suggest commenting out the code that resets the # retransmissions to 0 as shown in green highlights.
// Update HARQ buffers with new HarqId
(*itStat).second.at ((*itProcId).second) = (*itStat).second.at (harqId) + 1;
// (*itStat).second.at (harqId) = 0;
--
You received this message because you are subscribed to the Google Groups "ns-3-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to ns-3-users+...@googlegroups.com.
To post to this group, send email to ns-3-...@googlegroups.com.
Visit this group at http://groups.google.com/group/ns-3-users.
For more options, visit https://groups.google.com/d/optout.
Hi Marco,Thanks for your quick response: much appreciated.
I agree that the value "0" for a particular HARQ process within m_ulProcessHarqProcessStatus means that a new HARQ block with RV = 0 has been sent. At the same time, I notice that any value x > 0 represents the number of retransmission attempts made for that HARQ process.
Following your explanation, I realized that I had misunderstood how the HARQ process buffer statistics were being correctly updated on each TTI. Thanks again and I apologize for my misunderstanding :)However, I still am a bit confused as to how the entries and indexing of the array inside m_harqBufferStatus [for a given RNTI] is to be interpreted.
Let me explain below: Per lines 1491 - 1494 (copied and pasted below): for a given RNTI, as part of the retransmission handling code, whenever (*itStat).second.at(harqId) equals 3, the code always skips and proceeds to the next rnti (user). Thus the code never reaches line 1524 [wherein the code resets the timer value on that harqId to equal 0].
To summarize, whenever a certain UE has 3 retransmissions on a certain HARQ process ID [e.g. that user has poor channel conditions resulting in retransmissions happening very often], then that user's (*itStat).second.at(harqId) value always stays fixed at value 3. My question is whether this is the desired behavior? I am not sure it is. That is why I suggest that between lines 1492 and 1493, we set (*itStat).second.at(harqId) = 0.
I shall file this issue as a bug as well.
Hope this clarifies.Thank you,Vikram.
1491 {1493 continue;1494 }
--
You received this message because you are subscribed to a topic in the Google Groups "ns-3-users" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/ns-3-users/Bz9Ox1uVpC8/unsubscribe.
To unsubscribe from this group and all its topics, send an email to ns-3-users+...@googlegroups.com.
To post to this group, send email to ns-3-...@googlegroups.com.
Visit this group at http://groups.google.com/group/ns-3-users.
For more options, visit https://groups.google.com/d/optout.