mwifiex: control WLAN and bluetooth coexistence modes
authorAmitkumar Karwar <akarwar@marvell.com>
Fri, 9 Oct 2015 11:26:23 +0000 (04:26 -0700)
committerKalle Valo <kvalo@codeaurora.org>
Wed, 14 Oct 2015 11:21:29 +0000 (14:21 +0300)
commit46dbe2476c93026b20ddf36c6995e678bd867000
tree915089a46662331a74362d56efda65e9112ed061
parenta484804b3eb8de64a2497c484a08359f7ae28210
mwifiex: control WLAN and bluetooth coexistence modes

By default our chip will be in spatial coexistence mode.
This patch adds a provision to change it to timeshare mode
via debugfs command.

Enable timeshare coexistence mode
   echo 1 > /sys/kernel/debug/mwifiex/mlan0/timeshare_coex

Go back to spacial coexistence mode
   echo 0 > /sys/kernel/debug/mwifiex/mlan0/timeshare_coex

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