Bug-fix LteEnbMac::DoReceivePhyPd multiple LCs not allocated in m_ulInfoListElements
This commit is contained in:
@@ -538,7 +538,15 @@ LteEnbMac::DoReceivePhyPdu (Ptr<Packet> p)
|
||||
}
|
||||
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;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user