summaryrefslogtreecommitdiff
path: root/drivers/net/wireless/marvell/mwifiex/decl.h
diff options
context:
space:
mode:
authorXinming Hu <huxm@marvell.com>2016-02-02 22:05:07 -0800
committerKalle Valo <kvalo@codeaurora.org>2016-02-07 09:15:41 +0200
commit56486026c282983c390b264493a4619d997b86f1 (patch)
tree317c32fc467ce6121fd92c0a9ce93e157c927393 /drivers/net/wireless/marvell/mwifiex/decl.h
parent50632092dfda712dec2232d6ddf75e803c397c70 (diff)
mwifiex: dynamically increase preallocated firmware dump memory size
This patch increase firmware dump memory 4K each time, until meet the demand. Signed-off-by: Xinming Hu <huxm@marvell.com> Signed-off-by: Cathy Luo <cluo@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/decl.h')
-rw-r--r--drivers/net/wireless/marvell/mwifiex/decl.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/net/wireless/marvell/mwifiex/decl.h b/drivers/net/wireless/marvell/mwifiex/decl.h
index c744a7030866..a184f9fdfbcb 100644
--- a/drivers/net/wireless/marvell/mwifiex/decl.h
+++ b/drivers/net/wireless/marvell/mwifiex/decl.h
@@ -122,6 +122,8 @@
#define BLOCK_NUMBER_OFFSET 15
#define SDIO_HEADER_OFFSET 28
+#define MWIFIEX_SIZE_4K 0x4000
+
enum mwifiex_bss_type {
MWIFIEX_BSS_TYPE_STA = 0,
MWIFIEX_BSS_TYPE_UAP = 1,