mwifiex: add hscfg to debugfs
authorXinming Hu <huxm@marvell.com>
Fri, 20 Jun 2014 04:38:56 +0000 (21:38 -0700)
committerJohn W. Linville <linville@tuxdriver.com>
Wed, 25 Jun 2014 19:32:46 +0000 (15:32 -0400)
commit937a50451b0d1d1834485b47f00a7c0295413d09
tree7a9de3a58278ec0405fe11ba14eeebffc93dfd0f
parent54881c6b37c8d6127fa67c6baf0dc887f1920ae6
mwifiex: add hscfg to debugfs

Some SDIO controllers do not support MMC_PM_KEEP_POWER properly.
To test host sleep feature without putting the system into sleep
we need to simulate host sleep configuration & handshake between
driver and firmware using customized parameters.
This patch adds hscfg debugfs item, with which user could change
host sleep parameters for debugging.

Signed-off-by: Xinming Hu <huxm@marvell.com>
Signed-off-by: Bing Zhao <bzhao@marvell.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
drivers/net/wireless/mwifiex/README
drivers/net/wireless/mwifiex/debugfs.c
drivers/net/wireless/mwifiex/main.h
drivers/net/wireless/mwifiex/sta_ioctl.c