diff options
author | Victor Goldenshtein <victorg@ti.com> | 2012-05-15 14:04:40 (GMT) |
---|---|---|
committer | Luciano Coelho <coelho@ti.com> | 2012-06-06 16:40:27 (GMT) |
commit | 97511b15b1926337f90226b3cb735e52f2dc8a85 (patch) | |
tree | 5c38ec3a425fa0049b1044d22d57e108358ba841 /drivers/net/wireless/ti/wlcore/scan.h | |
parent | 587cc286c8a8e22bbe4521c331b88d62d0cb1076 (diff) | |
download | linux-97511b15b1926337f90226b3cb735e52f2dc8a85.tar.xz |
wlcore: set channels 12-14 as pactive for sched scan
Introduce “pactive” scan mode – which instructs the fw to
perform a passive scan until an activity/energy is detected
on these channels, once energy detected the channel becomes
active.
Signed-off-by: Victor Goldenshtein <victorg@ti.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.h | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/drivers/net/wireless/ti/wlcore/scan.h b/drivers/net/wireless/ti/wlcore/scan.h index 5b6a609..29f3c8d6 100644 --- a/drivers/net/wireless/ti/wlcore/scan.h +++ b/drivers/net/wireless/ti/wlcore/scan.h @@ -142,7 +142,8 @@ enum { SCAN_BSS_TYPE_ANY, }; -#define SCAN_CHANNEL_FLAGS_DFS BIT(0) +#define SCAN_CHANNEL_FLAGS_DFS BIT(0) /* channel is passive until an + activity is detected on it */ #define SCAN_CHANNEL_FLAGS_DFS_ENABLED BIT(1) struct conn_scan_ch_params { @@ -185,8 +186,10 @@ struct wl1271_cmd_sched_scan_config { u8 dfs; + u8 n_pactive_ch; /* number of pactive (passive until fw detects energy) + channels in BG band */ u8 role_id; - u8 padding[2]; + u8 padding[1]; struct conn_scan_ch_params channels_2[MAX_CHANNELS_2GHZ]; struct conn_scan_ch_params channels_5[MAX_CHANNELS_5GHZ]; |