wifi: WifiMacQueueItem does not keep a pointer to the queue it is stored into

Instead, it keeps the AC index associated with the queue it is stored into
This commit is contained in:
Stefano Avallone
2021-09-20 10:03:40 +02:00
committed by Stefano Avallone
parent 97c888cd55
commit 62542e5fb9
18 changed files with 101 additions and 104 deletions

View File

@@ -133,7 +133,7 @@ WaveFrameExchangeManager::StartTransmission (Ptr<Txop> dcf)
}
m_dcf->NotifyChannelAccessed ();
Ptr<WifiMacQueueItem> mpdu = *queue->Peek ()->GetQueueIteratorPair ().it;
Ptr<WifiMacQueueItem> mpdu = *queue->Peek ()->GetQueueIterator ();
NS_ASSERT (mpdu != 0);
// assign a sequence number if this is not a fragment nor a retransmission