summaryrefslogtreecommitdiffstats
path: root/drivers/net/wireless/marvell/mwifiex/usb.h
diff options
context:
space:
mode:
authorGanapathi Bhat <gbhat@marvell.com>2016-09-12 18:55:27 +0530
committerKalle Valo <kvalo@codeaurora.org>2016-09-14 20:02:13 +0300
commit787764676f94114980d17e627b21937f4245c866 (patch)
treee0a5197734eaa952c93f83e418aabb2ebebd4993 /drivers/net/wireless/marvell/mwifiex/usb.h
parentd86e64768859fca82c78e52877ceeba04e25d27a (diff)
downloadop-kernel-dev-787764676f94114980d17e627b21937f4245c866.zip
op-kernel-dev-787764676f94114980d17e627b21937f4245c866.tar.gz
mwifiex: Command 7 handling for USB chipsets
Firmware image for newer USB chipsets starts with a command 7 block (special command). It doesn't contain data length field. This patch adds necessary handling. Signed-off-by: Ganapathi Bhat <gbhat@marvell.com> Signed-off-by: Amitkumar Karwar <akarwar@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.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/net/wireless/marvell/mwifiex/usb.h b/drivers/net/wireless/marvell/mwifiex/usb.h
index b4e9246..1b49c52 100644
--- a/drivers/net/wireless/marvell/mwifiex/usb.h
+++ b/drivers/net/wireless/marvell/mwifiex/usb.h
@@ -51,6 +51,7 @@
#define FW_DNLD_TX_BUF_SIZE 620
#define FW_DNLD_RX_BUF_SIZE 2048
#define FW_HAS_LAST_BLOCK 0x00000004
+#define FW_CMD_7 0x00000007
#define FW_DATA_XMIT_SIZE \
(sizeof(struct fw_header) + dlen + sizeof(u32))
OpenPOWER on IntegriCloud