mwifiex: increase dwell time for active scan
authorAmitkumar Karwar <akarwar@marvell.com>
Mon, 25 Apr 2016 06:49:52 +0000 (23:49 -0700)
committerKalle Valo <kvalo@codeaurora.org>
Wed, 27 Apr 2016 13:52:56 +0000 (16:52 +0300)
It's been observed that sometimes AP's probe response is
received after scan duration gets completed for the channel.
This happens especially when wildcard scan is performed
along with specific SSID scan.
We will increase the time from 30 msecs to 40 msecs.

Signed-off-by: Amitkumar Karwar <akarwar@marvell.com>
Signed-off-by: Kalle Valo <kvalo@codeaurora.org>
drivers/net/wireless/marvell/mwifiex/main.h

index 4c742a5..0207af0 100644 (file)
@@ -111,8 +111,8 @@ enum {
 #define SCAN_BEACON_ENTRY_PAD                  6
 
 #define MWIFIEX_PASSIVE_SCAN_CHAN_TIME 110
-#define MWIFIEX_ACTIVE_SCAN_CHAN_TIME  30
-#define MWIFIEX_SPECIFIC_SCAN_CHAN_TIME        30
+#define MWIFIEX_ACTIVE_SCAN_CHAN_TIME  40
+#define MWIFIEX_SPECIFIC_SCAN_CHAN_TIME        40
 #define MWIFIEX_DEF_SCAN_CHAN_GAP_TIME  50
 
 #define SCAN_RSSI(RSSI)                                        (0x100 - ((u8)(RSSI)))