summaryrefslogtreecommitdiff
path: root/drivers/net/wireless/ti/wl18xx/scan.h
diff options
context:
space:
mode:
authorEliad Peller <eliad@wizery.com>2015-07-30 22:38:20 +0300
committerKalle Valo <kvalo@codeaurora.org>2015-08-10 22:16:21 +0300
commit8698a3a4fff2b63831fdc0283da87f9f46c2aeb8 (patch)
treecb65321c3042f01e0c571a34e7ddc33696a673a8 /drivers/net/wireless/ti/wl18xx/scan.h
parent6d5c898798aca634f493cabd2e7a47407ee5e95d (diff)
wl18xx: use long intervals in sched scan
Add support for long intervals on sched scan. If configured, the original request interval will be used num_short_interval times, and then the long interval will be used. While on it, fix the scan command field names to reflect the expected value is in ms (rather than secs). These values will be taken from the conf file, so bump its version accordingly. Signed-off-by: Eyal Shapira <eyal@wizery.com> Signed-off-by: Eliad Peller <eliad@wizery.com> Signed-off-by: Kalle Valo <kvalo@codeaurora.org>
Diffstat (limited to 'drivers/net/wireless/ti/wl18xx/scan.h')
-rw-r--r--drivers/net/wireless/ti/wl18xx/scan.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/net/wireless/ti/wl18xx/scan.h b/drivers/net/wireless/ti/wl18xx/scan.h
index 2e636aa5dba9..66a763f644d2 100644
--- a/drivers/net/wireless/ti/wl18xx/scan.h
+++ b/drivers/net/wireless/ti/wl18xx/scan.h
@@ -74,8 +74,8 @@ struct wl18xx_cmd_scan_params {
u8 dfs; /* number of dfs channels in 5ghz */
u8 passive_active; /* number of passive before active channels 2.4ghz */
- __le16 short_cycles_sec;
- __le16 long_cycles_sec;
+ __le16 short_cycles_msec;
+ __le16 long_cycles_msec;
u8 short_cycles_count;
u8 total_cycles; /* 0 - infinite */
u8 padding[2];