diff options
author | Amitkumar Karwar <akarwar@marvell.com> | 2013-06-18 19:36:58 -0400 |
---|---|---|
committer | John W. Linville <linville@tuxdriver.com> | 2013-06-19 15:28:43 -0400 |
commit | b887664d882ee4f6a67e0bf05e5f141d32fcc067 (patch) | |
tree | 743c252756bcdfc8d129a594ee52a99085d42477 /drivers/net/wireless/mwifiex/fw.h | |
parent | 2a7305c88d245f104c3d6bd3babafb029fd07477 (diff) |
mwifiex: channel switch handling for station
After receiving channel switch announcement from AP, scan and
association on that channel is blocked for DFS_CHAN_MOVE_TIME
(10 seconds). Hence station will be able to connect to the AP,
once it is moved to new channel.
Signed-off-by: Amitkumar Karwar <akarwar@marvell.com>
Signed-off-by: Bing Zhao <bzhao@marvell.com>
Signed-off-by: Paul Stewart <pstew@chromium.org>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
Diffstat (limited to 'drivers/net/wireless/mwifiex/fw.h')
-rw-r--r-- | drivers/net/wireless/mwifiex/fw.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/net/wireless/mwifiex/fw.h b/drivers/net/wireless/mwifiex/fw.h index b6fbbf64cf96..1b45aa533300 100644 --- a/drivers/net/wireless/mwifiex/fw.h +++ b/drivers/net/wireless/mwifiex/fw.h | |||
@@ -245,6 +245,8 @@ enum MWIFIEX_802_11_PRIVACY_FILTER { | |||
245 | #define HT_BW_20 0 | 245 | #define HT_BW_20 0 |
246 | #define HT_BW_40 1 | 246 | #define HT_BW_40 1 |
247 | 247 | ||
248 | #define DFS_CHAN_MOVE_TIME 10000 | ||
249 | |||
248 | #define HostCmd_CMD_GET_HW_SPEC 0x0003 | 250 | #define HostCmd_CMD_GET_HW_SPEC 0x0003 |
249 | #define HostCmd_CMD_802_11_SCAN 0x0006 | 251 | #define HostCmd_CMD_802_11_SCAN 0x0006 |
250 | #define HostCmd_CMD_802_11_GET_LOG 0x000b | 252 | #define HostCmd_CMD_802_11_GET_LOG 0x000b |