]> git.baikalelectronics.ru Git - kernel.git/commit
wlcore/wl12xx/wl18xx: configure iface_combinations per-hw
authorEliad Peller <eliad@wizery.com>
Mon, 10 Feb 2014 11:47:24 +0000 (13:47 +0200)
committerJohn W. Linville <linville@tuxdriver.com>
Thu, 13 Feb 2014 20:20:15 +0000 (15:20 -0500)
commit63475a8e8c6ccfc779f61eed03b6696ea8fc0e4a
tree32172300f891727565e1d2633550241f2bdcb219
parentdad19205daf2d2b9b19da43ca1a1e23424330c76
wlcore/wl12xx/wl18xx: configure iface_combinations per-hw

Each hw supports a different iface combinations.
Define the supported combinations in each driver,
and save it in wl->iface_combinations.

Since each driver defines its own combinations now,
it can also define its max supported channels, so
we no longer need to save and set it explicitly
in wlcore.

Update wl18xx interface combinations to allow
multiple APs.

Signed-off-by: Eliad Peller <eliad@wizery.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
drivers/net/wireless/ti/wl12xx/main.c
drivers/net/wireless/ti/wl18xx/main.c
drivers/net/wireless/ti/wlcore/main.c
drivers/net/wireless/ti/wlcore/wlcore.h