wifi: (fixes #467) AP only records association failed when AssocResp is discarded
This commit is contained in:
@@ -29,6 +29,7 @@ New user-visible features
|
||||
|
||||
Bugs fixed
|
||||
----------
|
||||
- (wifi) #467 - WiFi: Failed association process
|
||||
|
||||
Release 3.35
|
||||
============
|
||||
|
||||
@@ -962,9 +962,9 @@ ApWifiMac::TxOk (Ptr<const WifiMacQueueItem> mpdu)
|
||||
}
|
||||
|
||||
void
|
||||
ApWifiMac::TxFailed (uint8_t timeoutReason, Ptr<const WifiMacQueueItem> mpdu, const WifiTxVector& txVector)
|
||||
ApWifiMac::TxFailed (WifiMacDropReason timeoutReason, Ptr<const WifiMacQueueItem> mpdu)
|
||||
{
|
||||
NS_LOG_FUNCTION (this << +timeoutReason << *mpdu << txVector);
|
||||
NS_LOG_FUNCTION (this << +timeoutReason << *mpdu);
|
||||
const WifiMacHeader& hdr = mpdu->GetHeader ();
|
||||
|
||||
if ((hdr.IsAssocResp () || hdr.IsReassocResp ())
|
||||
@@ -1420,7 +1420,7 @@ ApWifiMac::DoInitialize (void)
|
||||
}
|
||||
}
|
||||
NS_ABORT_IF (!TraceConnectWithoutContext ("AckedMpdu", MakeCallback (&ApWifiMac::TxOk, this)));
|
||||
NS_ABORT_IF (!TraceConnectWithoutContext ("MpduResponseTimeout", MakeCallback (&ApWifiMac::TxFailed, this)));
|
||||
NS_ABORT_IF (!TraceConnectWithoutContext ("DroppedMpdu", MakeCallback (&ApWifiMac::TxFailed, this)));
|
||||
RegularWifiMac::DoInitialize ();
|
||||
UpdateShortSlotTimeEnabled ();
|
||||
UpdateShortPreambleEnabled ();
|
||||
|
||||
@@ -162,9 +162,8 @@ private:
|
||||
*
|
||||
* \param timeoutReason the reason why the TX timer was started (\see WifiTxTimer::Reason)
|
||||
* \param mpdu the MPDU that we failed to sent
|
||||
* \param txVector the TX vector used to send the MPDU
|
||||
*/
|
||||
void TxFailed (uint8_t timeoutReason, Ptr<const WifiMacQueueItem> mpdu, const WifiTxVector& txVector);
|
||||
void TxFailed (WifiMacDropReason timeoutReason, Ptr<const WifiMacQueueItem> mpdu);
|
||||
|
||||
/**
|
||||
* This method is called to de-aggregate an A-MSDU and forward the
|
||||
|
||||
Reference in New Issue
Block a user