mwifiex: add debugfs file to read chip information
authorXinming Hu <huxm@marvell.com>
Thu, 7 Jan 2016 07:40:49 +0000 (23:40 -0800)
committerKalle Valo <kvalo@codeaurora.org>
Fri, 29 Jan 2016 09:11:37 +0000 (11:11 +0200)
commit17934b6a32b2fdfcc0a9e83d17c780f15627aa30
tree5682f33d564062c5e583c14afc7c3e363f908d64
parentdc386ce76dedaeeaaf006fceb6ed8cf2e20ff026
mwifiex: add debugfs file to read chip information

This patch add 'verext' debugfs item, which can be used to
get detailed chip specific information from our firmware.

Examples:
echo "1" > /sys/kernel/debug/mwifiex/mlan0/verext
cat /sys/kernel/debug/mwifiex/mlan0/verext

Signed-off-by: Shengzhen Li <szli@marvell.com>
Signed-off-by: Amitkumar Karwar <akarwar@marvell.com>
Signed-off-by: Kalle Valo <kvalo@codeaurora.org>
drivers/net/wireless/marvell/mwifiex/README
drivers/net/wireless/marvell/mwifiex/debugfs.c
drivers/net/wireless/marvell/mwifiex/main.h
drivers/net/wireless/marvell/mwifiex/sta_ioctl.c