summaryrefslogtreecommitdiff
path: root/drivers/net/wireless/mwifiex/main.h
diff options
context:
space:
mode:
authorAvinash Patil <patila@marvell.com>2013-01-03 21:21:29 -0800
committerJohn W. Linville <linville@tuxdriver.com>2013-01-07 15:18:29 -0500
commitc6d1d87a10d1e5317701676c39bbec20e4651b91 (patch)
tree138ef9a210509765b84fdd6b2ac23c06b1d2cd37 /drivers/net/wireless/mwifiex/main.h
parent659c4788611f725ede2def6e4db5d8d4a59b93b5 (diff)
downloadlwn-c6d1d87a10d1e5317701676c39bbec20e4651b91.tar.gz
lwn-c6d1d87a10d1e5317701676c39bbec20e4651b91.zip
mwifiex: add init_fw_port handler for PCIe interface
This patch adds support for init_fw_port handler for PCIe interface, which resets RXBD read pointer for PCIe. This fixes issue where RX doesn't work until some TX from driver happens. Signed-off-by: Avinash Patil <patila@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.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 d717c9859fb9..ef02a5bf57b1 100644
--- a/drivers/net/wireless/mwifiex/main.h
+++ b/drivers/net/wireless/mwifiex/main.h
@@ -599,6 +599,7 @@ struct mwifiex_if_ops {
int (*cmdrsp_complete) (struct mwifiex_adapter *, struct sk_buff *);
int (*event_complete) (struct mwifiex_adapter *, struct sk_buff *);
int (*data_complete) (struct mwifiex_adapter *, struct sk_buff *);
+ int (*init_fw_port) (struct mwifiex_adapter *);
int (*dnld_fw) (struct mwifiex_adapter *, struct mwifiex_fw_image *);
void (*card_reset) (struct mwifiex_adapter *);
};