Bug 1894 - CqaFfMacScheduler needs an update
authorBiljana Bojovic <biljana.bojovic@gmail.com>
Fri, 02 May 2014 17:06:37 +0200
changeset 10776 ee392f91fda6
parent 10775 6d21630060e2
child 10777 d7b9a2eb73c8
Bug 1894 - CqaFfMacScheduler needs an update
RELEASE_NOTES
src/lte/model/cqa-ff-mac-scheduler.cc
--- a/RELEASE_NOTES	Fri May 02 16:48:50 2014 +0200
+++ b/RELEASE_NOTES	Fri May 02 17:06:37 2014 +0200
@@ -84,6 +84,7 @@
 - Bug 1889 - PointToPointNetDevice: In some cases MacTxDrop trace is not called
 - Bug 1890 - UdpClientTrace: MPEG frame size is squeezed into (insufficient) 16 bit integer
 - Bug 1891 - UdpSocketImpl::GetSockName doesn't return the IPv6 address
+- Bug 1894 - CqaFfMacScheduler needs an update
 - Bug 1895 - IP header Source Address changed while forwarding RREQ
 - Bug 1903 - Namespace usage in olsr-state.cc/h
 
--- a/src/lte/model/cqa-ff-mac-scheduler.cc	Fri May 02 16:48:50 2014 +0200
+++ b/src/lte/model/cqa-ff-mac-scheduler.cc	Fri May 02 17:06:37 2014 +0200
@@ -1799,20 +1799,13 @@
   if (m_harqOn == true)
     {
       //   Process UL HARQ feedback
-      //   update UL HARQ proc id
-      std::map <uint16_t, uint8_t>::iterator itProcId;
-      for (itProcId = m_ulHarqCurrentProcessId.begin (); itProcId != m_ulHarqCurrentProcessId.end (); itProcId++)
-        {
-          (*itProcId).second = ((*itProcId).second + 1) % HARQ_PROC_NUM;
-        }
-
       for (uint16_t i = 0; i < params.m_ulInfoList.size (); i++)
         {
           if (params.m_ulInfoList.at (i).m_receptionStatus == UlInfoListElement_s::NotOk)
             {
               // retx correspondent block: retrieve the UL-DCI
               uint16_t rnti = params.m_ulInfoList.at (i).m_rnti;
-              itProcId = m_ulHarqCurrentProcessId.find (rnti);
+              std::map <uint16_t, uint8_t>::iterator itProcId = m_ulHarqCurrentProcessId.find (rnti);
               if (itProcId == m_ulHarqCurrentProcessId.end ())
                 {
                   NS_LOG_ERROR ("No info find in HARQ buffer for UE (might change eNB) " << rnti);