summaryrefslogtreecommitdiff
path: root/drivers/net/wireless/marvell/mwifiex/ioctl.h
diff options
context:
space:
mode:
authorAmitkumar Karwar <akarwar@marvell.com>2016-06-16 18:52:25 +0530
committerKalle Valo <kvalo@codeaurora.org>2016-06-29 18:54:01 +0300
commit568fb26ec8be5890a698d672472aeb6b6db34e57 (patch)
treeb86463f3f87ca48530d6bb06eb92b0714d65831f /drivers/net/wireless/marvell/mwifiex/ioctl.h
parent437322ea2a36d112e20aa7282c869bf924b3a836 (diff)
mwifiex: fix AP unable to start in VHT40 problem
This patch populates secondary channel offset and downloads it to firmware to fix the problem. Signed-off-by: Amitkumar Karwar <akarwar@marvell.com> Signed-off-by: Cathy Luo <cluo@marvell.com> Signed-off-by: Kalle Valo <kvalo@codeaurora.org>
Diffstat (limited to 'drivers/net/wireless/marvell/mwifiex/ioctl.h')
-rw-r--r--drivers/net/wireless/marvell/mwifiex/ioctl.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/net/wireless/marvell/mwifiex/ioctl.h b/drivers/net/wireless/marvell/mwifiex/ioctl.h
index a5a48c183d37..f5b8fd1fad1b 100644
--- a/drivers/net/wireless/marvell/mwifiex/ioctl.h
+++ b/drivers/net/wireless/marvell/mwifiex/ioctl.h
@@ -83,6 +83,8 @@ struct wep_key {
#define MWIFIEX_AUTH_MODE_AUTO 0xFF
#define BAND_CONFIG_BG 0x00
#define BAND_CONFIG_A 0x01
+#define MWIFIEX_SEC_CHAN_BELOW 0x30
+#define MWIFIEX_SEC_CHAN_ABOVE 0x10
#define MWIFIEX_SUPPORTED_RATES 14
#define MWIFIEX_SUPPORTED_RATES_EXT 32
#define MWIFIEX_TDLS_SUPPORTED_RATES 8