summaryrefslogtreecommitdiffstats
path: root/drivers/net/wireless/ti/wlcore/conf.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/conf.h
parent6507babab4f7fe6c51c20abedd66d7449b7a9aca (diff)
downloadlinux-7c482c1040ae54e89a8fd4d6415577070d5a915d.tar.bz2
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/conf.h')
-rw-r--r--drivers/net/wireless/ti/wlcore/conf.h18
1 files changed, 5 insertions, 13 deletions
diff --git a/drivers/net/wireless/ti/wlcore/conf.h b/drivers/net/wireless/ti/wlcore/conf.h
index a5d190816f34..c9de4d5c8965 100644
--- a/drivers/net/wireless/ti/wlcore/conf.h
+++ b/drivers/net/wireless/ti/wlcore/conf.h
@@ -1059,19 +1059,11 @@ struct conf_scan_settings {
*/
u32 max_dwell_time_active;
- /*
- * The minimum time to wait on each channel for passive scans
- *
- * Range: u32 tu/1000
- */
- u32 min_dwell_time_passive;
+ /* time to wait on the channel for passive scans (in TU/1000) */
+ u32 dwell_time_passive;
- /*
- * The maximum time to wait on each channel for passive scans
- *
- * Range: u32 tu/1000
- */
- u32 max_dwell_time_passive;
+ /* time to wait on the channel for DFS scans (in TU/1000) */
+ u32 dwell_time_dfs;
/*
* Number of probe requests to transmit on each active scan channel
@@ -1281,7 +1273,7 @@ struct conf_hangover_settings {
* version, the two LSB are the lower driver's private conf
* version.
*/
-#define WLCORE_CONF_VERSION (0x0002 << 16)
+#define WLCORE_CONF_VERSION (0x0003 << 16)
#define WLCORE_CONF_MASK 0xffff0000
#define WLCORE_CONF_SIZE (sizeof(struct wlcore_conf_header) + \
sizeof(struct wlcore_conf))