wifi: Generate backoff if needed when receiving AssocResp
This commit is contained in:
committed by
Stefano Avallone
parent
2223700e88
commit
b4ef172776
@@ -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);
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user