]> git.baikalelectronics.ru Git - kernel.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)
commitc7cfaed52cda64d335967ed797e28babc93a92b2
treec00a3e7a0fde718d8aba67e520d54019cddf565d
parent8a08d12e7f743311e1b1e31fa4e42cffa6e5e7d9
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