diff options
author | Luciano Coelho <coelho@ti.com> | 2011-05-10 14:06:31 +0300 |
---|---|---|
committer | Luciano Coelho <coelho@ti.com> | 2011-05-13 00:06:32 +0300 |
commit | 3a9d60e5bd72f9533b05d39278fec50b181dbdd2 (patch) | |
tree | bff8549eb1081350aa8bc3a2b6c56318f2108d59 /drivers/net/wireless/wl12xx/main.c | |
parent | fcd23b6305e98f5ad3ddd7ff3f5081c75fcd4367 (diff) |
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/main.c')
-rw-r--r-- | drivers/net/wireless/wl12xx/main.c | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/drivers/net/wireless/wl12xx/main.c b/drivers/net/wireless/wl12xx/main.c index acfbbfd3b7dd..88d2e9052a0d 100644 --- a/drivers/net/wireless/wl12xx/main.c +++ b/drivers/net/wireless/wl12xx/main.c @@ -306,6 +306,15 @@ static struct conf_drv_settings default_conf = { .max_dwell_time_passive = 100000, .num_probe_reqs = 2, }, + .sched_scan = { + /* sched_scan requires dwell times in TU instead of TU/1000 */ + .min_dwell_time_active = 8, + .max_dwell_time_active = 30, + .dwell_time_passive = 100, + .num_probe_reqs = 2, + .rssi_threshold = -90, + .snr_threshold = 0, + }, .rf = { .tx_per_channel_power_compensation_2 = { 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, |