diff options
author | Bing Zhao <bzhao@marvell.com> | 2012-06-07 00:12:40 -0400 |
---|---|---|
committer | John W. Linville <linville@tuxdriver.com> | 2012-06-11 14:59:43 -0400 |
commit | 38e8b7d977786b0059c02744e4b96bc1e206d891 (patch) | |
tree | 58e853b99247e448f76d426675769d235c8f80c5 /drivers/net/wireless/mwifiex/main.h | |
parent | b6038961dfeed49533e43fbedd86951a16cb4d2c (diff) |
mwifiex: shorten per channel scan time
Currently the scan time per channel for active scanning is set to
200ms. It takes quite a while to finsh scanning on all channels,
especially with a dual band configuration.
Change the per channel scan time settings to the following values:
passive scan: 110ms
active scan: 30ms
specific scan: 30ms
Above settings have been tested on x86 and arm platforms.
Signed-off-by: Bing Zhao <bzhao@marvell.com>
Signed-off-by: Amitkumar Karwar <akarwar@marvell.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
Diffstat (limited to 'drivers/net/wireless/mwifiex/main.h')
-rw-r--r-- | drivers/net/wireless/mwifiex/main.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/drivers/net/wireless/mwifiex/main.h b/drivers/net/wireless/mwifiex/main.h index bd3b0bf94b9e..cbad00d7eb11 100644 --- a/drivers/net/wireless/mwifiex/main.h +++ b/drivers/net/wireless/mwifiex/main.h | |||
@@ -79,9 +79,9 @@ enum { | |||
79 | 79 | ||
80 | #define SCAN_BEACON_ENTRY_PAD 6 | 80 | #define SCAN_BEACON_ENTRY_PAD 6 |
81 | 81 | ||
82 | #define MWIFIEX_PASSIVE_SCAN_CHAN_TIME 200 | 82 | #define MWIFIEX_PASSIVE_SCAN_CHAN_TIME 110 |
83 | #define MWIFIEX_ACTIVE_SCAN_CHAN_TIME 200 | 83 | #define MWIFIEX_ACTIVE_SCAN_CHAN_TIME 30 |
84 | #define MWIFIEX_SPECIFIC_SCAN_CHAN_TIME 110 | 84 | #define MWIFIEX_SPECIFIC_SCAN_CHAN_TIME 30 |
85 | 85 | ||
86 | #define SCAN_RSSI(RSSI) (0x100 - ((u8)(RSSI))) | 86 | #define SCAN_RSSI(RSSI) (0x100 - ((u8)(RSSI))) |
87 | 87 | ||