summaryrefslogtreecommitdiffstats
path: root/games/grdc
diff options
context:
space:
mode:
authoradrian <adrian@FreeBSD.org>2013-11-09 07:30:13 +0000
committeradrian <adrian@FreeBSD.org>2013-11-09 07:30:13 +0000
commitafca1d3839e425cdf31edb20cf9d1681887e224b (patch)
tree27f5c16b8f42f24d5d0200365ba647dac4b5d779 /games/grdc
parente3901de5ce7aa4aeb8d4d439c3f0eca5bbde85f9 (diff)
downloadFreeBSD-src-afca1d3839e425cdf31edb20cf9d1681887e224b.zip
FreeBSD-src-afca1d3839e425cdf31edb20cf9d1681887e224b.tar.gz
Fix AMRR to correctly select the initial rate.
There were two bugs: * If the initial lowest rate didn't go through the loop at least once, the AMRR rate index would be the highest rate in the table (eg the rix mapping to MCS15) but rate would stay at the default value, namely 0. This meant that the initial rate selection would be MCS15 _but_ the node ni_txrate value would be MCS0. * If the node is 11n, then break out of the loop correctly. Beforehand, my initial 11n AMRR commit would immediately exit out as it would fail the 11n check, then it would always fall through to the non-11n rate which would then see if it was < 36mbit (ie, "72"), which would always match. Hence, it'd always return MCS15. Tested: * Intel Centrino 2230 STA (local changes), STA mode * Intel Wifi 5100, STA
Diffstat (limited to 'games/grdc')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud