2
0
mirror of https://github.com/edk2-porting/linux-next.git synced 2025-01-09 22:24:04 +08:00
linux-next/drivers/net/wireless
Amitkumar Karwar 57670ee882 mwifiex: device dump support via devcoredump framework
Currently device dump generated in the driver is retrieved
using ethtool set/get dump commands. We will get rid of
ethtool approach and use devcoredump framework.

Device dump can be trigger by
cat /debugfs/mwifiex/mlanX/device_dump
and when the dump operation is completed, data can be read by
cat /sys/class/devcoredump/devcdX/data

We have prepared following script to split device dump data
into multiple files.

 [root]# cat mwifiex_split_dump_data.sh
 #!/bin/bash
 # usage: ./mwifiex_split_dump_data.sh dump_data

 fw_dump_data=$1

 mem_type="driverinfo ITCM DTCM SQRAM APU CIU ICU MAC"

 for name in ${mem_type[@]}
 do
     sed -n "/Start dump $name/,/End dump/p" $fw_dump_data  > tmp.$name.log
     if [ ! -s tmp.$name.log ]
     then
         rm -rf tmp.$name.log
     else
         #Remove the describle info "Start dump" and "End dump"
         sed '1d' tmp.$name.log | sed '$d' > /data/$name.log
         if [ -s /data/$name.log ]
         then
             echo "generate /data/$name.log"
         else
             sed '1d' tmp.$name.log | sed '$d' > /var/$name.log
             echo "generate /var/$name.log"
         fi
         rm -rf tmp.$name.log
     fi
 done

Signed-off-by: Amitkumar Karwar <akarwar@marvell.com>
Signed-off-by: Cathy Luo <cluo@marvell.com>
Signed-off-by: Kalle Valo <kvalo@codeaurora.org>
2015-06-02 23:16:01 +03:00
..
ath ath9k: split ar5008_hw_spur_mitigate and reuse common code in ar9002_hw_spur_mitigate. 2015-05-26 14:02:45 +03:00
b43 mac80211: remove support for IFF_PROMISC 2015-04-24 11:14:13 +02:00
b43legacy mac80211: remove support for IFF_PROMISC 2015-04-24 11:14:13 +02:00
brcm80211 brcmfmac: allow NVRAM values to contain spaces 2015-05-28 11:53:04 +03:00
cw1200 mac80211: remove support for IFF_PROMISC 2015-04-24 11:14:13 +02:00
hostap wireless: Use eth_<foo>_addr instead of memset 2015-03-03 17:01:36 -05:00
ipw2x00 Lots of updates for net-next; along with the usual flurry 2015-03-31 16:39:04 -04:00
iwlegacy mac80211: remove support for IFF_PROMISC 2015-04-24 11:14:13 +02:00
iwlwifi ath10k: 2015-05-24 23:23:01 -04:00
libertas Lots of updates for net-next; along with the usual flurry 2015-03-31 16:39:04 -04:00
libertas_tf mac80211: remove support for IFF_PROMISC 2015-04-24 11:14:13 +02:00
mediatek add mt7601u driver 2015-05-28 11:33:20 +03:00
mwifiex mwifiex: device dump support via devcoredump framework 2015-06-02 23:16:01 +03:00
orinoco Lots of updates for net-next; along with the usual flurry 2015-03-31 16:39:04 -04:00
p54 mac80211: make LED trigger names const 2015-05-05 14:21:55 +02:00
prism54
rsi rsi: fix memory leak in rsi_load_ta_instructions() 2014-12-24 17:26:08 +02:00
rt2x00 mac80211: extend get_tkip_seq to all keys 2015-05-06 13:29:59 +02:00
rtl818x
rtlwifi rtlwifi: fix typos in Kconfig 2015-05-26 14:04:56 +03:00
ti ath10k: 2015-05-24 23:23:01 -04:00
zd1211rw mac80211: remove support for IFF_PROMISC 2015-04-24 11:14:13 +02:00
adm8211.c adm8211: fixed the possible pci cache line sizes inside switch-case 2015-05-26 13:47:36 +03:00
adm8211.h
airo_cs.c
airo.c Merge git://git.kernel.org/pub/scm/linux/kernel/git/davem/net-next 2015-04-15 09:00:47 -07:00
airo.h
at76c50x-usb.c wireless: Use eth_<foo>_addr instead of memset 2015-03-03 17:01:36 -05:00
at76c50x-usb.h mac80211: remove support for IFF_PROMISC 2015-04-24 11:14:13 +02:00
atmel_cs.c
atmel_pci.c
atmel.c wireless: Use eth_<foo>_addr instead of memset 2015-03-03 17:01:36 -05:00
atmel.h
Kconfig add mt7601u driver 2015-05-28 11:33:20 +03:00
mac80211_hwsim.c mac80211_hwsim: Fix the supported VHT mcs rates 2015-05-06 14:51:27 +02:00
mac80211_hwsim.h
Makefile add mt7601u driver 2015-05-28 11:33:20 +03:00
mwl8k.c mac80211: remove support for IFF_PROMISC 2015-04-24 11:14:13 +02:00
ray_cs.c wireless: Use eth_<foo>_addr instead of memset 2015-03-03 17:01:36 -05:00
ray_cs.h
rayctl.h
rndis_wlan.c rndis_wlan: harmless issue calling set_bit() 2015-05-26 13:55:04 +03:00
wl3501_cs.c
wl3501.h
zd1201.c
zd1201.h