aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/wireless/wl12xx/scan.h
diff options
context:
space:
mode:
authorEyal Shapira <eyal@wizery.com>2012-02-02 13:54:28 +0200
committerLuciano Coelho <coelho@ti.com>2012-02-15 08:38:35 +0200
commitd647f2dd1a445f5a683372f1b47919fe92c19896 (patch)
tree0aab06854d18e0f9b538cd2b60cf22bbb09c91f2 /drivers/net/wireless/wl12xx/scan.h
parentwl12xx: increase max probe-req template size to WL1271_CMD_TEMPL_MAX_SIZE (diff)
downloadlinux-dev-d647f2dd1a445f5a683372f1b47919fe92c19896.tar.xz
linux-dev-d647f2dd1a445f5a683372f1b47919fe92c19896.zip
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 '')
-rw-r--r--drivers/net/wireless/wl12xx/scan.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/net/wireless/wl12xx/scan.h b/drivers/net/wireless/wl12xx/scan.h
index a7ed43dc08c9..96ff457a3a0b 100644
--- a/drivers/net/wireless/wl12xx/scan.h
+++ b/drivers/net/wireless/wl12xx/scan.h
@@ -48,7 +48,7 @@ void wl1271_scan_sched_scan_results(struct wl1271 *wl);
#define WL1271_SCAN_CURRENT_TX_PWR 0
#define WL1271_SCAN_OPT_ACTIVE 0
#define WL1271_SCAN_OPT_PASSIVE 1
-#define WL1271_SCAN_OPT_TRIGGERED_SCAN 2
+#define WL1271_SCAN_OPT_SPLIT_SCAN 2
#define WL1271_SCAN_OPT_PRIORITY_HIGH 4
/* scan even if we fail to enter psm */
#define WL1271_SCAN_OPT_FORCE 8