diff options
author | Amitkumar Karwar <akarwar@marvell.com> | 2014-04-17 14:47:00 -0400 |
---|---|---|
committer | John W. Linville <linville@tuxdriver.com> | 2014-04-22 15:06:31 -0400 |
commit | e050c76fcf49599c5b98e4614392dc87c69123a6 (patch) | |
tree | 2ab5ff830cc3aadb0b960077057c47b58aae449f /drivers/net/wireless/mwifiex/main.h | |
parent | 1c09bf682cbcad8ddeea6ac69decda411f88dd35 (diff) |
mwifiex: add firmware dump feature for PCIe
Firmware dump feature is added for PCIe based chipsets.
Separate file will be created at /var/log/fw_dump_*
for each memory segment.
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>
Diffstat (limited to 'drivers/net/wireless/mwifiex/main.h')
-rw-r--r-- | drivers/net/wireless/mwifiex/main.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/net/wireless/mwifiex/main.h b/drivers/net/wireless/mwifiex/main.h index 34181192a666..d70457b26e26 100644 --- a/drivers/net/wireless/mwifiex/main.h +++ b/drivers/net/wireless/mwifiex/main.h | |||
@@ -674,6 +674,7 @@ struct mwifiex_if_ops { | |||
674 | void (*card_reset) (struct mwifiex_adapter *); | 674 | void (*card_reset) (struct mwifiex_adapter *); |
675 | void (*fw_dump)(struct mwifiex_adapter *); | 675 | void (*fw_dump)(struct mwifiex_adapter *); |
676 | int (*clean_pcie_ring) (struct mwifiex_adapter *adapter); | 676 | int (*clean_pcie_ring) (struct mwifiex_adapter *adapter); |
677 | void (*iface_work)(struct work_struct *work); | ||
677 | }; | 678 | }; |
678 | 679 | ||
679 | struct mwifiex_adapter { | 680 | struct mwifiex_adapter { |
@@ -809,6 +810,7 @@ struct mwifiex_adapter { | |||
809 | bool ext_scan; | 810 | bool ext_scan; |
810 | u8 fw_api_ver; | 811 | u8 fw_api_ver; |
811 | u8 fw_key_api_major_ver, fw_key_api_minor_ver; | 812 | u8 fw_key_api_major_ver, fw_key_api_minor_ver; |
813 | struct work_struct iface_work; | ||
812 | }; | 814 | }; |
813 | 815 | ||
814 | int mwifiex_init_lock_list(struct mwifiex_adapter *adapter); | 816 | int mwifiex_init_lock_list(struct mwifiex_adapter *adapter); |