wifi: Extend WifiTxVector::IsValid for 320 MHz

This commit is contained in:
Sébastien Deronne
2024-10-12 10:34:38 +02:00
parent f7e98e7230
commit 339a3a170f

View File

@@ -484,6 +484,17 @@ WifiTxVector::IsValid(WifiPhyBand band) const
}
}
}
else if (m_channelWidth > 160)
{
if ((GetModulationClass() < WIFI_MOD_CLASS_EHT) && !IsNonHtDuplicate())
{
return false;
}
if ((band == WIFI_PHY_BAND_2_4GHZ) || (band == WIFI_PHY_BAND_5GHZ))
{
return false;
}
}
for (const auto& userInfo : m_muUserInfos)
{
if (GetNumStasInRu(userInfo.second.ru) > 8)