Skip to content

Commit

Permalink
mwifiex: increase dwell time for active scan
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Amitkumar Karwar authored and Kalle Valo committed Apr 27, 2016
1 parent 1b499cb commit 9d3f65b
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions drivers/net/wireless/marvell/mwifiex/main.h
Original file line number Diff line number Diff line change
Expand Up @@ -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)))
Expand Down

0 comments on commit 9d3f65b

Please sign in to comment.