mwifiex: Disable adhoc feature based on firmware capability
authorKarthik D A <karthida@marvell.com>
Mon, 21 Nov 2016 12:19:04 +0000 (17:49 +0530)
committerKalle Valo <kvalo@codeaurora.org>
Fri, 25 Nov 2016 09:52:17 +0000 (11:52 +0200)
commite267e71e68aeeb51cbb9893ef9d61a59205826c4
tree6d3a535b52568ffebef873de008db1d524d275f0
parent13e1349aff8290d328a3caf34d42b909dbab8491
mwifiex: Disable adhoc feature based on firmware capability

We will read fw_cap_info filled by firmware to check whether to
skip ADHOC related commands or not. Also, IBSS_COALESCING_STATUS
command has been moved from init path to adhoc network creation
path.

Signed-off-by: Karthik D A <karthida@marvell.com>
Signed-off-by: Amitkumar Karwar <akarwar@marvell.com>
Signed-off-by: Kalle Valo <kvalo@codeaurora.org>
drivers/net/wireless/marvell/mwifiex/cfg80211.c
drivers/net/wireless/marvell/mwifiex/fw.h
drivers/net/wireless/marvell/mwifiex/sta_cmd.c