wifi: Use correct address to retrieve buffer status
This commit is contained in:
committed by
Stefano Avallone
parent
357c1cf398
commit
d89a590be2
@@ -1096,7 +1096,8 @@ HtFrameExchangeManager::FinalizeMacHeader(Ptr<const WifiPsdu> psdu)
|
||||
// set the Queue Size subfield of the QoS Control field
|
||||
if (!queueSizeForTid[tid].has_value())
|
||||
{
|
||||
queueSizeForTid[tid] = edca->GetQosQueueSize(tid, hdr.GetAddr1());
|
||||
queueSizeForTid[tid] =
|
||||
edca->GetQosQueueSize(tid, mpdu->GetOriginal()->GetHeader().GetAddr1());
|
||||
}
|
||||
|
||||
hdr.SetQosEosp();
|
||||
|
||||
@@ -555,7 +555,9 @@ QosFrameExchangeManager::ForwardMpduDown(Ptr<WifiMpdu> mpdu, WifiTxVector& txVec
|
||||
{
|
||||
uint8_t tid = hdr.GetQosTid();
|
||||
hdr.SetQosEosp();
|
||||
hdr.SetQosQueueSize(m_mac->GetQosTxop(tid)->GetQosQueueSize(tid, hdr.GetAddr1()));
|
||||
hdr.SetQosQueueSize(
|
||||
m_mac->GetQosTxop(tid)->GetQosQueueSize(tid,
|
||||
mpdu->GetOriginal()->GetHeader().GetAddr1()));
|
||||
}
|
||||
FrameExchangeManager::ForwardMpduDown(mpdu, txVector);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user