Date: Sun, 13 Mar 2011 11:58:40 +0000 (UTC) From: Bernhard Schmidt <bschmidt@FreeBSD.org> To: cvs-src-old@freebsd.org Subject: cvs commit: src/sys/net80211 ieee80211_scan_sta.c Message-ID: <201103131159.p2DBx3EK002154@repoman.freebsd.org>
index | next in thread | raw e-mail
bschmidt 2011-03-13 11:58:40 UTC
FreeBSD src repository
Modified files:
sys/net80211 ieee80211_scan_sta.c
Log:
SVN rev 219601 on 2011-03-13 11:58:40Z by bschmidt
Fix rmax calculation during BSS selection.
If multiple networks are available the max bandwidth is one
condition used for selecting the "best" BSS. To achieve that
we should consider all parameters which affect the max RX rate.
This includes 20/40MHz, SGI and the of course the MCS set.
If the TX MCS parameters are available we should use those,
because an AP announcing support for receiving frames at 450Mbps
might only be able to transmit at 150Mbps (1T3R). I haven't seen
devices with support for transmitting at higher rates then
receiving, so prefering TX over RX information should be safe.
While here, remove the hardcoded assumption that MCS15 is the max
possible MCS rate, use MCS31 instead which really is the highest
rate (according to the 802.11n std). Also, fix a mismatch of an
40MHz/SGI check.
Revision Changes Path
1.34 +21 -9 src/sys/net80211/ieee80211_scan_sta.c
help
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201103131159.p2DBx3EK002154>
