]> git.baikalelectronics.ru Git - kernel.git/commit
wl18xx: sane defaults for HT capabilities
authorArik Nemtsov <arik@wizery.com>
Wed, 13 Jun 2012 16:09:25 +0000 (19:09 +0300)
committerLuciano Coelho <coelho@ti.com>
Thu, 21 Jun 2012 13:48:20 +0000 (16:48 +0300)
commit66e2743134930f2b46d09836a36b92fccfdf69cb
tree7a821003a5b3178ca39db9989f2b9c20fc3002de
parent5383290dc964da0048d3f2fddf9311bc1d940b8b
wl18xx: sane defaults for HT capabilities

Introduce a default set of HT capabilities that are set according to the
number of antennas on the board. Move the HT setting code down to allow
the number of antennas to be set (and optionally overridden) before it.

Remove the "mimo" HT option, since the default mode now enables MIMO is
possible.

Use this opportunity to add a helper function for setting HT
capabilities and reduce the volume of the code a bit.

Signed-off-by: Arik Nemtsov <arik@wizery.com>
Signed-off-by: Luciano Coelho <coelho@ti.com>
drivers/net/wireless/ti/wl12xx/main.c
drivers/net/wireless/ti/wl18xx/main.c
drivers/net/wireless/ti/wlcore/wlcore.h