aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/wireless/wl12xx/main.c
diff options
context:
space:
mode:
authorLuciano Coelho <coelho@ti.com>2011-05-27 15:34:47 +0300
committerJohn W. Linville <linville@tuxdriver.com>2011-05-31 14:47:25 -0400
commit50a66d7f04adbfab9db55144c58dc693358cb635 (patch)
tree5b332a377b92a58991666a57fbaa274d15a7797b /drivers/net/wireless/wl12xx/main.c
parent2497a246e880d1fb537f754f551177c01fa39242 (diff)
downloadkernel_samsung_smdk4412-50a66d7f04adbfab9db55144c58dc693358cb635.zip
kernel_samsung_smdk4412-50a66d7f04adbfab9db55144c58dc693358cb635.tar.gz
kernel_samsung_smdk4412-50a66d7f04adbfab9db55144c58dc693358cb635.tar.bz2
wl12xx: add separate config value for DFS dwell time on sched scan
Use a different value for DFS dwell time when performing a scheduled scan. Previously we were using the same value as for normal passive scans. This adds some flexibility between these two different types of passive scan. For now we use 150 TUs for DFS channel dwell time. This may need to be fine-tuned in the future. Signed-off-by: Luciano Coelho <coelho@ti.com> Signed-off-by: John W. Linville <linville@tuxdriver.com>
Diffstat (limited to 'drivers/net/wireless/wl12xx/main.c')
-rw-r--r--drivers/net/wireless/wl12xx/main.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/net/wireless/wl12xx/main.c b/drivers/net/wireless/wl12xx/main.c
index bc00e52..e6497dc 100644
--- a/drivers/net/wireless/wl12xx/main.c
+++ b/drivers/net/wireless/wl12xx/main.c
@@ -311,6 +311,7 @@ static struct conf_drv_settings default_conf = {
.min_dwell_time_active = 8,
.max_dwell_time_active = 30,
.dwell_time_passive = 100,
+ .dwell_time_dfs = 150,
.num_probe_reqs = 2,
.rssi_threshold = -90,
.snr_threshold = 0,