mwifiex: add manufacturing mode support
authorXinming Hu <huxm@marvell.com>
Fri, 2 Sep 2016 07:35:06 +0000 (13:05 +0530)
committerKalle Valo <kvalo@codeaurora.org>
Fri, 9 Sep 2016 09:05:03 +0000 (12:05 +0300)
commitcf5383b088d07f304d189986fdbd4efbd7d41538
treeed01d8a8bdc09c294a55a875e99204bff30997a5
parentdefb893fffef89ac6db4e68fccae1783d7c93977
mwifiex: add manufacturing mode support

By default normal mode is chosen when driver is loaded. This
patch adds a provision to choose manufacturing mode via module
parameters.

Below command loads driver in manufacturing mode
insmod mwifiex.ko mfg_mode=1.

Tested-by: chunfan chen <jeffc@marvell.com>
Signed-off-by: Xinming Hu <huxm@marvell.com>
Signed-off-by: Amitkumar Karwar <akarwar@marvell.com>
Signed-off-by: Kalle Valo <kvalo@codeaurora.org>
drivers/net/wireless/marvell/mwifiex/cmdevt.c
drivers/net/wireless/marvell/mwifiex/init.c
drivers/net/wireless/marvell/mwifiex/main.c
drivers/net/wireless/marvell/mwifiex/main.h
drivers/net/wireless/marvell/mwifiex/pcie.c
drivers/net/wireless/marvell/mwifiex/sdio.c
drivers/net/wireless/marvell/mwifiex/usb.c