wifi: (fixes #2607) Correct overflow in channel width loop in Minstrel HT

This commit is contained in:
Matias Richart
2017-01-11 20:28:21 +01:00
parent eab7f7015e
commit 3fb64fda99
2 changed files with 2 additions and 1 deletions

View File

@@ -61,6 +61,7 @@ Bugs fixed
- Bug 2591 - 802.11e Block Ack mechanism cannot be enabled on HT/VHT stations
- Bug 2594 - vht-wifi-network provides very low throughtput at MCS 6, 160 MHz, SGI
- Bug 2605 - A HT/VHT station transmitting to a legacy access point results in a null throughput
- Bug 2607 - Minstrel HT manager results in an endless loop when a 802.11ac station is transmitting to a 802.11a access point
- Bug 2614 - RIP header version should be set to 2
Known issues

View File

@@ -260,7 +260,7 @@ MinstrelHtWifiManager::DoInitialize ()
if (HasVhtSupported ())
{
// Initialize all VHT groups
for (uint8_t chWidth = 20; chWidth <= MAX_VHT_WIDTH; chWidth *= 2)
for (uint16_t chWidth = 20; chWidth <= MAX_VHT_WIDTH; chWidth *= 2)
{
for (uint8_t sgi = 0; sgi <= 1; sgi++)
{