diff options
author | Juuso Oikarinen <juuso.oikarinen@nokia.com> | 2009-10-08 14:56:35 -0400 |
---|---|---|
committer | John W. Linville <linville@tuxdriver.com> | 2009-10-27 16:47:54 -0400 |
commit | 1922167b9de575d9d1a56be9b80f0fa3b22785f9 (patch) | |
tree | c97c48f93fd5ef307bca6f46c73ee0b289924f45 /drivers/net/wireless/wl12xx/wl1271_acx.h | |
parent | b771eee583343782c8b44d2b78cf53c29d0f3303 (diff) |
wl1271: Configure beacon filtering on if PSM used
Enable beacon filtering when PSM is enabled
Signed-off-by: Juuso Oikarinen <juuso.oikarinen@nokia.com>
Reviewed-by: Luciano Coelho <luciano.coelho@nokia.com>
Signed-off-by: Luciano Coelho <luciano.coelho@nokia.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
Diffstat (limited to 'drivers/net/wireless/wl12xx/wl1271_acx.h')
-rw-r--r-- | drivers/net/wireless/wl12xx/wl1271_acx.h | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/drivers/net/wireless/wl12xx/wl1271_acx.h b/drivers/net/wireless/wl12xx/wl1271_acx.h index bb21bcbe1638..0c2a10734493 100644 --- a/drivers/net/wireless/wl12xx/wl1271_acx.h +++ b/drivers/net/wireless/wl12xx/wl1271_acx.h | |||
@@ -398,6 +398,11 @@ struct acx_beacon_filter_option { | |||
398 | (BEACON_FILTER_TABLE_MAX_VENDOR_SPECIFIC_IE_NUM * \ | 398 | (BEACON_FILTER_TABLE_MAX_VENDOR_SPECIFIC_IE_NUM * \ |
399 | BEACON_FILTER_TABLE_EXTRA_VENDOR_SPECIFIC_IE_SIZE)) | 399 | BEACON_FILTER_TABLE_EXTRA_VENDOR_SPECIFIC_IE_SIZE)) |
400 | 400 | ||
401 | #define BEACON_RULE_PASS_ON_CHANGE BIT(0) | ||
402 | #define BEACON_RULE_PASS_ON_APPEARANCE BIT(1) | ||
403 | |||
404 | #define BEACON_FILTER_IE_ID_CHANNEL_SWITCH_ANN (37) | ||
405 | |||
401 | struct acx_beacon_filter_ie_table { | 406 | struct acx_beacon_filter_ie_table { |
402 | struct acx_header header; | 407 | struct acx_header header; |
403 | 408 | ||
@@ -1206,7 +1211,7 @@ int wl1271_acx_group_address_tbl(struct wl1271 *wl, bool enable, | |||
1206 | void *mc_list, u32 mc_list_len); | 1211 | void *mc_list, u32 mc_list_len); |
1207 | int wl1271_acx_service_period_timeout(struct wl1271 *wl); | 1212 | int wl1271_acx_service_period_timeout(struct wl1271 *wl); |
1208 | int wl1271_acx_rts_threshold(struct wl1271 *wl, u16 rts_threshold); | 1213 | int wl1271_acx_rts_threshold(struct wl1271 *wl, u16 rts_threshold); |
1209 | int wl1271_acx_beacon_filter_opt(struct wl1271 *wl); | 1214 | int wl1271_acx_beacon_filter_opt(struct wl1271 *wl, bool enable_filter); |
1210 | int wl1271_acx_beacon_filter_table(struct wl1271 *wl); | 1215 | int wl1271_acx_beacon_filter_table(struct wl1271 *wl); |
1211 | int wl1271_acx_conn_monit_params(struct wl1271 *wl); | 1216 | int wl1271_acx_conn_monit_params(struct wl1271 *wl); |
1212 | int wl1271_acx_sg_enable(struct wl1271 *wl); | 1217 | int wl1271_acx_sg_enable(struct wl1271 *wl); |