summaryrefslogtreecommitdiff
path: root/drivers/net/wireless/ti/wlcore/scan.h
diff options
context:
space:
mode:
authorEliad Peller <eliad@wizery.com>2012-11-26 18:05:40 +0200
committerLuciano Coelho <coelho@ti.com>2012-11-28 11:45:42 +0200
commit7c482c1040ae54e89a8fd4d6415577070d5a915d (patch)
treef95c28757cb6335030fb06f5154f23c8478cb6d6 /drivers/net/wireless/ti/wlcore/scan.h
parent6507babab4f7fe6c51c20abedd66d7449b7a9aca (diff)
wlcore: configure dwell times according to scan type
Allow configuring different dwell times to the different scan types (regular and scheduled). Add new configuration entry (dwell_time_dfs) to conf_scan_settings, in order to allow setting different values for normal scan and scheduled scan. Signed-off-by: Eliad Peller <eliad@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/wlcore/scan.h')
-rw-r--r--drivers/net/wireless/ti/wlcore/scan.h9
1 files changed, 8 insertions, 1 deletions
diff --git a/drivers/net/wireless/ti/wlcore/scan.h b/drivers/net/wireless/ti/wlcore/scan.h
index 8465f35c6a06..9ae606555aeb 100644
--- a/drivers/net/wireless/ti/wlcore/scan.h
+++ b/drivers/net/wireless/ti/wlcore/scan.h
@@ -150,12 +150,19 @@ struct wlcore_scan_channels {
struct conn_scan_ch_params channels_4[MAX_CHANNELS_4GHZ];
};
+enum {
+ SCAN_TYPE_SEARCH = 0,
+ SCAN_TYPE_PERIODIC = 1,
+ SCAN_TYPE_TRACKING = 2,
+};
+
bool
wlcore_set_scan_chan_params(struct wl1271 *wl,
struct wlcore_scan_channels *cfg,
struct ieee80211_channel *channels[],
u32 n_channels,
- u32 n_ssids);
+ u32 n_ssids,
+ int scan_type);
int
wlcore_scan_sched_scan_ssid_list(struct wl1271 *wl,