wifi: (fixes #480) Call ReportDataFailed only for failed non-group Data frames

As a result of an internal collision, the transmission of any type
of frame may fail (in the bug report, it was a Beacon frame)
This commit is contained in:
Stefano Avallone
2021-11-10 17:41:19 +01:00
parent dbaa3d3a86
commit 9db5a061f4
2 changed files with 6 additions and 1 deletions

View File

@@ -32,6 +32,7 @@ Bugs fixed
- (wifi) #467 - WiFi: Failed association process
- (wifi) #468 - WiFi: Wrong txDuration for trigger frame
- (wifi) #475 - Wi-Fi: Assert when sending OFDMA DL to STAs with different TIDs
- (wifi) #480 - wifi: 2.4GHz remote station manager issue
Release 3.35
============

View File

@@ -856,7 +856,11 @@ FrameExchangeManager::NotifyInternalCollision (Ptr<Txop> txop)
if (mpdu != nullptr)
{
m_mac->GetWifiRemoteStationManager ()->ReportDataFailed (mpdu);
if (mpdu->GetHeader ().HasData ()
&& !mpdu->GetHeader ().GetAddr1 ().IsGroup ())
{
m_mac->GetWifiRemoteStationManager ()->ReportDataFailed (mpdu);
}
if (!mpdu->GetHeader ().GetAddr1 ().IsGroup ()
&& !m_mac->GetWifiRemoteStationManager ()->NeedRetransmission (mpdu))