aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/wireless/wl12xx/conf.h
diff options
context:
space:
mode:
authorLuciano Coelho <coelho@ti.com>2011-05-10 14:06:31 +0300
committerLuciano Coelho <coelho@ti.com>2011-05-13 00:06:32 +0300
commit3a9d60e5bd72f9533b05d39278fec50b181dbdd2 (patch)
treebff8549eb1081350aa8bc3a2b6c56318f2108d59 /drivers/net/wireless/wl12xx/conf.h
parentfcd23b6305e98f5ad3ddd7ff3f5081c75fcd4367 (diff)
downloadkernel_samsung_smdk4412-3a9d60e5bd72f9533b05d39278fec50b181dbdd2.zip
kernel_samsung_smdk4412-3a9d60e5bd72f9533b05d39278fec50b181dbdd2.tar.gz
kernel_samsung_smdk4412-3a9d60e5bd72f9533b05d39278fec50b181dbdd2.tar.bz2
wl12xx: add configuration values for scheduled scan
Add the structures and values for driver-configured scheduled scan parameters. Signed-off-by: Luciano Coelho <coelho@ti.com>
Diffstat (limited to 'drivers/net/wireless/wl12xx/conf.h')
-rw-r--r--drivers/net/wireless/wl12xx/conf.h21
1 files changed, 21 insertions, 0 deletions
diff --git a/drivers/net/wireless/wl12xx/conf.h b/drivers/net/wireless/wl12xx/conf.h
index 1f94736..ba558fc 100644
--- a/drivers/net/wireless/wl12xx/conf.h
+++ b/drivers/net/wireless/wl12xx/conf.h
@@ -1147,6 +1147,26 @@ struct conf_scan_settings {
};
+struct conf_sched_scan_settings {
+ /* minimum time to wait on the channel for active scans (in TUs) */
+ u16 min_dwell_time_active;
+
+ /* maximum time to wait on the channel for active scans (in TUs) */
+ u16 max_dwell_time_active;
+
+ /* time to wait on the channel for passive scans (in TUs) */
+ u32 dwell_time_passive;
+
+ /* number of probe requests to send on each channel in active scans */
+ u8 num_probe_reqs;
+
+ /* RSSI threshold to be used for filtering */
+ s8 rssi_threshold;
+
+ /* SNR threshold to be used for filtering */
+ s8 snr_threshold;
+};
+
/* these are number of channels on the band divided by two, rounded up */
#define CONF_TX_PWR_COMPENSATION_LEN_2 7
#define CONF_TX_PWR_COMPENSATION_LEN_5 18
@@ -1234,6 +1254,7 @@ struct conf_drv_settings {
struct conf_pm_config_settings pm_config;
struct conf_roam_trigger_settings roam_trigger;
struct conf_scan_settings scan;
+ struct conf_sched_scan_settings sched_scan;
struct conf_rf_settings rf;
struct conf_ht_setting ht;
struct conf_memory_settings mem_wl127x;