linux/drivers/net/wireless
Amitkumar Karwar 92c2538f55 mwifiex: add firmware dump feature for PCIe
Firmware dump feature is added for PCIe based chipsets which can
be used with the help of ethtool commands.

1) Trigger firmware dump operation:
ethtool --set-dump mlan0 0xff

When the operation is completed, udev event will be sent to
trigger external application.

2) Following udev rule can be used to get the data from ethtool:
DRIVER=="mwifiex_pcie", ACTION=="change", RUN+="/sbin/mwifiex_pcie_fw_dump.sh"

mwifiex_pcie_fw_dump.sh: #!/bin/bash
ethtool --set-dump mlan0 0
ethtool --get-dump mlan0
ethtool --get-dump mlan0 data /tmp/ITCM.log

ethtool --set-dump mlan0 1
ethtool --get-dump mlan0
ethtool --get-dump mlan0 data /tmp/DTCM.log

ethtool --set-dump mlan0 2
ethtool --get-dump mlan0
ethtool --get-dump mlan0 data /tmp/SQRAM.log

ethtool --set-dump mlan0 3
ethtool --get-dump mlan0
ethtool --get-dump mlan0 data /tmp/IRAM.log

Signed-off-by: Amitkumar Karwar <akarwar@marvell.com>
Signed-off-by: Bing Zhao <bzhao@marvell.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
2014-06-25 15:32:46 -04:00
..
ath Merge git://git.kernel.org/pub/scm/linux/kernel/git/jberg/mac80211-next 2014-06-25 15:26:36 -04:00
b43 b43: add config for (en|dis)abling G-PHY support 2014-06-20 14:13:46 -04:00
b43legacy
brcm80211 net: wireless: Remove useless return variables 2014-06-19 15:49:11 -04:00
cw1200 Merge git://git.kernel.org/pub/scm/linux/kernel/git/jberg/mac80211-next 2014-06-25 15:26:36 -04:00
hostap net: get rid of SET_ETHTOOL_OPS 2014-05-13 17:43:20 -04:00
ipw2x00
iwlegacy mac80211: support more than one band in scan request 2014-06-25 09:10:42 +02:00
iwlwifi Merge branch 'master' of git://git.kernel.org/pub/scm/linux/kernel/git/iwlwifi/iwlwifi-next 2014-06-25 15:29:03 -04:00
libertas LIBERTAS_CS: ioport_map/unmap relies on HAS_IOPORT_MAP 2014-06-19 15:49:27 -04:00
libertas_tf
mwifiex mwifiex: add firmware dump feature for PCIe 2014-06-25 15:32:46 -04:00
orinoco PCMCIA_HERMES: ioport_map/unmap relies on HAS_IOPORT_MAP 2014-06-19 15:49:27 -04:00
p54 mac80211: add vif to flush call 2014-04-09 10:55:29 +02:00
prism54
rsi rsi: Changes for 40MHz 2014-06-19 15:49:23 -04:00
rt2x00 drivers/net/wireless/rt2x00/rt2x00dev.c: remove null test before kfree 2014-06-19 15:49:27 -04:00
rtl818x rtl818x_pci: fix possible RX descriptor invalid data read 2014-06-19 15:49:12 -04:00
rtlwifi rtlwifi: btcoexist: avoid format string in printk 2014-06-19 15:49:16 -04:00
ti mac80211: split sched scan IEs 2014-06-25 09:10:43 +02:00
zd1211rw
adm8211.c
adm8211.h
airo_cs.c
airo.c
airo.h
at76c50x-usb.c mac80211: support more than one band in scan request 2014-06-25 09:10:42 +02:00
at76c50x-usb.h at76c50x: fix scan does not work with latest mac80211 2014-06-05 14:15:08 -04:00
atmel_cs.c
atmel_pci.c
atmel.c
atmel.h
Kconfig
mac80211_hwsim.c mac80211: support more than one band in scan request 2014-06-25 09:10:42 +02:00
mac80211_hwsim.h
Makefile
mwl8k.c
ray_cs.c ray_cs: replace del_timer by del_timer_sync 2014-04-22 15:06:28 -04:00
ray_cs.h
rayctl.h
rndis_wlan.c cfg80211: constify MAC addresses in cfg80211 ops 2014-05-19 17:34:42 +02:00
wl3501_cs.c
wl3501.h
zd1201.c
zd1201.h