summaryrefslogtreecommitdiff
path: root/drivers/net/wireless/marvell/mwifiex/usb.h
diff options
context:
space:
mode:
authorGanapathi Bhat <gbhat@marvell.com>2017-03-27 18:27:44 +0530
committerKalle Valo <kvalo@codeaurora.org>2017-04-05 15:38:15 +0300
commit182f569660548d16af895af9fede54367c377f47 (patch)
tree682332ed0b51ce273a43b045972a81a7e6ece0e5 /drivers/net/wireless/marvell/mwifiex/usb.h
parent1c92af00a56032c10d1a43277b39515393860b02 (diff)
mwifiex: Support USB interrupt endpoint for command response/event
USB firmware added support for sending command response/event through interrupt endpoint, to enhance RX throughput. Added corresponding changes required to support this feature. This change takes care of backward compatibility with older firmware. Signed-off-by: Ganapathi Bhat <gbhat@marvell.com> Signed-off-by: Kalle Valo <kvalo@codeaurora.org>
Diffstat (limited to 'drivers/net/wireless/marvell/mwifiex/usb.h')
-rw-r--r--drivers/net/wireless/marvell/mwifiex/usb.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/drivers/net/wireless/marvell/mwifiex/usb.h b/drivers/net/wireless/marvell/mwifiex/usb.h
index 16017aeb8cfe..e36bd63172ff 100644
--- a/drivers/net/wireless/marvell/mwifiex/usb.h
+++ b/drivers/net/wireless/marvell/mwifiex/usb.h
@@ -90,6 +90,10 @@ struct usb_card_rec {
struct urb_context tx_cmd;
u8 mc_resync_flag;
struct usb_tx_data_port port[MWIFIEX_TX_DATA_PORT];
+ int rx_cmd_ep_type;
+ u8 rx_cmd_interval;
+ int tx_cmd_ep_type;
+ u8 tx_cmd_interval;
};
struct fw_header {