]> asedeno.scripts.mit.edu Git - linux.git/commit
mwifiex: debugfs: trigger device dump for usb interface
authorXinming Hu <huxm@marvell.com>
Tue, 12 Dec 2017 07:38:13 +0000 (15:38 +0800)
committerKalle Valo <kvalo@codeaurora.org>
Mon, 8 Jan 2018 17:36:56 +0000 (19:36 +0200)
commit18d605013357563de79afeee9e9d2000161eb6a0
treec00a3e7a0fde718d8aba67e520d54019cddf565d
parentf5ecd02a8b20f900701d6809a3ea5f12e5c87de8
mwifiex: debugfs: trigger device dump for usb interface

This patch extend device_dump debugfs function to make it
works for usb interface.

For command timeouts, USB firmware will automatically emit
firmware dump events, so we don't implement device_dump().

For user-initiated dumps, we trigger it by issue firmware
dump event command to firmware, as there is no command
response, do not start 10s timer.

Signed-off-by: Xinming Hu <huxm@marvell.com>
Signed-off-by: Cathy Luo <cluo@marvell.com>
Signed-off-by: Kalle Valo <kvalo@codeaurora.org>
drivers/net/wireless/marvell/mwifiex/cmdevt.c
drivers/net/wireless/marvell/mwifiex/debugfs.c
drivers/net/wireless/marvell/mwifiex/fw.h
drivers/net/wireless/marvell/mwifiex/sta_cmd.c