wlcore: determine AP extra rates correctly
authorArik Nemtsov <arik@wizery.com>
Thu, 5 Jul 2012 12:23:02 +0000 (15:23 +0300)
committerJohn W. Linville <linville@tuxdriver.com>
Tue, 10 Jul 2012 16:10:15 +0000 (12:10 -0400)
commit0344dcd3b50f68bb79473d00e46c5fd503c21039
treea27949c9cb462986275f9dcff7128e83d684e4ee
parentfaae5aae2d4d7fe976d6ef62c3c209b8990124ac
wlcore: determine AP extra rates correctly

Don't use the ht_mode module parameter for determining AP supported
rates. We can rely on channel type, since HT40 won't be enabled if our
HT cap doesn't support it.

Enable MIMO only if there enough antennas, and rely on per-peer rate
limitation to prevent IOPs.

Signed-off-by: Arik Nemtsov <arik@wizery.com>
drivers/net/wireless/ti/wl18xx/main.c