diff options
author | Eyal Shapira <eyal@wizery.com> | 2012-12-07 19:58:23 -0500 |
---|---|---|
committer | Luciano Coelho <coelho@ti.com> | 2012-12-11 03:25:39 -0500 |
commit | 5d3a160365306c4161b7064d482c26a85829f170 (patch) | |
tree | a75e43ac714c63d23e0f36edb030138155fdfa48 /drivers/net/wireless/ti/wl12xx | |
parent | f4d02007cdd56c59bdb9362c699875cb2d02c0fe (diff) |
wlcore: increase scan dwell times if no activity
There's a limit on scan dwell times of max 30ms in order
to avoid degrading voip traffic which could be going on
while scanning. However these dwell times increase the
chance of missing out on nearby APs leading to partial
scan results. Allow configuration of longer dwell times
in case there no active interface (i.e. no STA associated
or AP up).
[Arik - count started vifs using an in-driver function]
[Fixed some new checkpatch warnings regarding comments in the
networking subsystem. -- Luca]
Signed-off-by: Eyal Shapira <eyal@wizery.com>
Signed-off-by: Arik Nemtsov <arik@wizery.com>
Signed-off-by: Luciano Coelho <coelho@ti.com>
Diffstat (limited to 'drivers/net/wireless/ti/wl12xx')
-rw-r--r-- | drivers/net/wireless/ti/wl12xx/main.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/net/wireless/ti/wl12xx/main.c b/drivers/net/wireless/ti/wl12xx/main.c index 8b4827f47deb..08b67625f7ff 100644 --- a/drivers/net/wireless/ti/wl12xx/main.c +++ b/drivers/net/wireless/ti/wl12xx/main.c | |||
@@ -269,6 +269,8 @@ static struct wlcore_conf wl12xx_conf = { | |||
269 | .scan = { | 269 | .scan = { |
270 | .min_dwell_time_active = 7500, | 270 | .min_dwell_time_active = 7500, |
271 | .max_dwell_time_active = 30000, | 271 | .max_dwell_time_active = 30000, |
272 | .min_dwell_time_active_long = 25000, | ||
273 | .max_dwell_time_active_long = 50000, | ||
272 | .dwell_time_passive = 100000, | 274 | .dwell_time_passive = 100000, |
273 | .dwell_time_dfs = 150000, | 275 | .dwell_time_dfs = 150000, |
274 | .num_probe_reqs = 2, | 276 | .num_probe_reqs = 2, |