Bug-fix LteEnbMac::DoReceivePhyPd multiple LCs not allocated in m_ulInfoListElements
--- a/src/lte/model/lte-enb-mac.cc Fri Nov 25 19:55:29 2011 +0100
+++ b/src/lte/model/lte-enb-mac.cc Mon Nov 28 12:30:41 2011 +0100
@@ -538,7 +538,15 @@
}
else
{
- (*it).second.m_ulReception.at (tag.GetLcid () - 1) += p->GetSize ();
+ if ((*it).second.m_ulReception.size () < tag.GetLcid ())
+ {
+ std::vector <uint16_t>::iterator itV = (*it).second.m_ulReception.begin ();
+ (*it).second.m_ulReception.insert (itV + (tag.GetLcid () - 1), p->GetSize ());
+ }
+ else
+ {
+ (*it).second.m_ulReception.at (tag.GetLcid () - 1) += p->GetSize ();
+ }
(*it).second.m_receptionStatus = UlInfoListElement_s::Ok;
}