summaryrefslogtreecommitdiff
path: root/drivers/net/wireless/wl12xx/main.c
diff options
context:
space:
mode:
authorEyal Shapira <eyal@wizery.com>2012-02-02 11:54:28 (GMT)
committerLuciano Coelho <coelho@ti.com>2012-02-15 06:38:35 (GMT)
commitd647f2dd1a445f5a683372f1b47919fe92c19896 (patch)
tree0aab06854d18e0f9b538cd2b60cf22bbb09c91f2 /drivers/net/wireless/wl12xx/main.c
parentc08e371a683021cfb99632db799bea9b69d176e5 (diff)
downloadlinux-fsl-qoriq-d647f2dd1a445f5a683372f1b47919fe92c19896.tar.xz
wl12xx: use split scan for normal scan
Split scan allows the FW to schedule other activities during a scan which may be a long operation. This is achieved by setting a trigger TID to ANY_TID and a scan trigger timeout other than 0. The default one is set to 50ms. Signed-off-by: Eyal Shapira <eyal@wizey.com> Signed-off-by: Igal Chernobelsky <igalc@ti.com> Signed-off-by: Eliad Peller <eliad@wizery.com> Signed-off-by: Luciano Coelho <coelho@ti.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 253847f..723df48 100644
--- a/drivers/net/wireless/wl12xx/main.c
+++ b/drivers/net/wireless/wl12xx/main.c
@@ -272,6 +272,7 @@ static struct conf_drv_settings default_conf = {
.min_dwell_time_passive = 100000,
.max_dwell_time_passive = 100000,
.num_probe_reqs = 2,
+ .split_scan_timeout = 50000,
},
.sched_scan = {
/* sched_scan requires dwell times in TU instead of TU/1000 */