wifi: Record in TX timer that a STA responded to a SU frame, too
This commit is contained in:
@@ -1429,6 +1429,7 @@ FrameExchangeManager::ReceivedNormalAck(Ptr<WifiMpdu> mpdu,
|
||||
{
|
||||
Mac48Address sender = mpdu->GetHeader().GetAddr1();
|
||||
NS_LOG_DEBUG("Received ACK from=" << sender);
|
||||
m_txTimer.GotResponseFrom(sender);
|
||||
|
||||
NotifyReceivedNormalAck(mpdu);
|
||||
|
||||
|
||||
@@ -2462,6 +2462,7 @@ HeFrameExchangeManager::ReceiveMpdu(Ptr<const WifiMpdu> mpdu,
|
||||
NS_ABORT_MSG_IF(!blockAck.IsMultiSta(),
|
||||
"A Multi-STA BlockAck is expected after a TB PPDU");
|
||||
NS_LOG_DEBUG("Received a Multi-STA BlockAck from=" << hdr.GetAddr2());
|
||||
m_txTimer.GotResponseFrom(hdr.GetAddr2());
|
||||
|
||||
NS_ASSERT(m_staMac && m_staMac->IsAssociated());
|
||||
if (hdr.GetAddr2() != m_bssid)
|
||||
|
||||
@@ -1565,6 +1565,7 @@ HtFrameExchangeManager::ReceiveMpdu(Ptr<const WifiMpdu> mpdu,
|
||||
{
|
||||
Mac48Address sender = hdr.GetAddr2();
|
||||
NS_LOG_DEBUG("Received BlockAck from=" << sender);
|
||||
m_txTimer.GotResponseFrom(sender);
|
||||
|
||||
SnrTag tag;
|
||||
mpdu->GetPacket()->PeekPacketTag(tag);
|
||||
|
||||
Reference in New Issue
Block a user