wifi: Generate backoff if needed when receiving AssocResp

This commit is contained in:
Stefano Avallone
2023-09-19 18:19:20 +02:00
committed by Stefano Avallone
parent 2223700e88
commit b4ef172776

View File

@@ -1450,7 +1450,17 @@ StaWifiMac::ReceiveAssocResp(Ptr<const WifiMpdu> mpdu, uint8_t linkId)
{
if (GetStaLink(link).bssid)
{
StartAccessIfNeeded(id);
if (const auto txop = GetTxop())
{
txop->StartAccessAfterEvent(id, false, true);
}
for (const auto [acIndex, ac] : wifiAcList)
{
if (const auto edca = GetQosTxop(acIndex))
{
edca->StartAccessAfterEvent(id, false, true);
}
}
}
}