summaryrefslogtreecommitdiffstats
path: root/drivers/net/wireless/mwifiex/main.h
diff options
context:
space:
mode:
authorAvinash Patil2013-01-04 06:21:29 +0100
committerJohn W. Linville2013-01-07 21:18:29 +0100
commitc6d1d87a10d1e5317701676c39bbec20e4651b91 (patch)
tree138ef9a210509765b84fdd6b2ac23c06b1d2cd37 /drivers/net/wireless/mwifiex/main.h
parentmwifiex: access interrupt status only while holding lock (diff)
downloadkernel-qcow2-linux-c6d1d87a10d1e5317701676c39bbec20e4651b91.tar.gz
kernel-qcow2-linux-c6d1d87a10d1e5317701676c39bbec20e4651b91.tar.xz
kernel-qcow2-linux-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 *);
};