summaryrefslogtreecommitdiff
path: root/drivers/net/wireless/mwifiex/main.h
diff options
context:
space:
mode:
authorChin-ran Lo <crlo@marvell.com>2015-05-12 00:48:17 +0530
committerKalle Valo <kvalo@codeaurora.org>2015-05-26 13:50:32 +0300
commitc2c6c85fca47f4c5ac99d482b64d59dbd142117c (patch)
tree42ceec434000e9a77ffaa81705bfd1c513614a6d /drivers/net/wireless/mwifiex/main.h
parent111c61054d86f3c8586146819aa905e14026fc4d (diff)
downloadlwn-c2c6c85fca47f4c5ac99d482b64d59dbd142117c.tar.gz
lwn-c2c6c85fca47f4c5ac99d482b64d59dbd142117c.zip
mwifiex: add support for FW memory read/write operations
This patch adds support for FW memory read/write operations via debugfs. This is useful during debugging FW issues. Examples: For reading FW memory location: echo r 0x01ac > /sys/kernel/debug/mwifiex/mlan0/memrw cat /sys/kernel/debug/mwifiex/mlan0/memrw For writing FW memory location: echo w 0x01ac 0x55aa > /sys/kernel/debug/mwifiex/mlan0/memrw Signed-off-by: Chin-ran Lo <crlo@marvell.com> Signed-off-by: Cathy Luo <cluo@marvell.com> Signed-off-by: Avinash Patil <patila@marvell.com> Signed-off-by: Kalle Valo <kvalo@codeaurora.org>
Diffstat (limited to 'drivers/net/wireless/mwifiex/main.h')
-rw-r--r--drivers/net/wireless/mwifiex/main.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/net/wireless/mwifiex/main.h b/drivers/net/wireless/mwifiex/main.h
index fe1256044a6c..b387d5a9f1e6 100644
--- a/drivers/net/wireless/mwifiex/main.h
+++ b/drivers/net/wireless/mwifiex/main.h
@@ -611,6 +611,7 @@ struct mwifiex_private {
struct delayed_work dfs_chan_sw_work;
struct cfg80211_beacon_data beacon_after;
struct mwifiex_11h_intf_state state_11h;
+ struct mwifiex_ds_mem_rw mem_rw;
};