aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/wireless/wl12xx/wl1271_acx.h
diff options
context:
space:
mode:
authorJuuso Oikarinen <juuso.oikarinen@nokia.com>2009-10-08 14:56:35 -0400
committerJohn W. Linville <linville@tuxdriver.com>2009-10-27 16:47:54 -0400
commit1922167b9de575d9d1a56be9b80f0fa3b22785f9 (patch)
treec97c48f93fd5ef307bca6f46c73ee0b289924f45 /drivers/net/wireless/wl12xx/wl1271_acx.h
parentb771eee583343782c8b44d2b78cf53c29d0f3303 (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.h7
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 bb21bcbe163..0c2a1073449 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
401struct acx_beacon_filter_ie_table { 406struct 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);
1207int wl1271_acx_service_period_timeout(struct wl1271 *wl); 1212int wl1271_acx_service_period_timeout(struct wl1271 *wl);
1208int wl1271_acx_rts_threshold(struct wl1271 *wl, u16 rts_threshold); 1213int wl1271_acx_rts_threshold(struct wl1271 *wl, u16 rts_threshold);
1209int wl1271_acx_beacon_filter_opt(struct wl1271 *wl); 1214int wl1271_acx_beacon_filter_opt(struct wl1271 *wl, bool enable_filter);
1210int wl1271_acx_beacon_filter_table(struct wl1271 *wl); 1215int wl1271_acx_beacon_filter_table(struct wl1271 *wl);
1211int wl1271_acx_conn_monit_params(struct wl1271 *wl); 1216int wl1271_acx_conn_monit_params(struct wl1271 *wl);
1212int wl1271_acx_sg_enable(struct wl1271 *wl); 1217int wl1271_acx_sg_enable(struct wl1271 *wl);