diff options
author | Kalle Valo <kalle.valo@nokia.com> | 2009-03-22 15:57:35 -0400 |
---|---|---|
committer | John W. Linville <linville@tuxdriver.com> | 2009-03-27 20:13:13 -0400 |
commit | 04de83815993714a7ba2618f637fa1092a5f664b (patch) | |
tree | 7e491e890a66a3be3e4eae9636914858a6f3bba8 /net/mac80211/ieee80211_i.h | |
parent | a08c1c1ac0c26229ca1ca45d554b209a56edc8be (diff) |
mac80211: add beacon filtering support
Add IEEE80211_HW_BEACON_FILTERING flag so that driver inform that it supports
beacon filtering. Drivers need to call the new function
ieee80211_beacon_loss() to notify about beacon loss.
Signed-off-by: Kalle Valo <kalle.valo@nokia.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
Diffstat (limited to 'net/mac80211/ieee80211_i.h')
-rw-r--r-- | net/mac80211/ieee80211_i.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/net/mac80211/ieee80211_i.h b/net/mac80211/ieee80211_i.h index 8a617a7fc090..acba78e1a5ca 100644 --- a/net/mac80211/ieee80211_i.h +++ b/net/mac80211/ieee80211_i.h | |||
@@ -275,6 +275,7 @@ struct ieee80211_if_managed { | |||
275 | struct timer_list chswitch_timer; | 275 | struct timer_list chswitch_timer; |
276 | struct work_struct work; | 276 | struct work_struct work; |
277 | struct work_struct chswitch_work; | 277 | struct work_struct chswitch_work; |
278 | struct work_struct beacon_loss_work; | ||
278 | 279 | ||
279 | u8 bssid[ETH_ALEN], prev_bssid[ETH_ALEN]; | 280 | u8 bssid[ETH_ALEN], prev_bssid[ETH_ALEN]; |
280 | 281 | ||
@@ -1086,6 +1087,7 @@ void ieee80211_send_nullfunc(struct ieee80211_local *local, | |||
1086 | int powersave); | 1087 | int powersave); |
1087 | void ieee80211_sta_rx_notify(struct ieee80211_sub_if_data *sdata, | 1088 | void ieee80211_sta_rx_notify(struct ieee80211_sub_if_data *sdata, |
1088 | struct ieee80211_hdr *hdr); | 1089 | struct ieee80211_hdr *hdr); |
1090 | void ieee80211_beacon_loss_work(struct work_struct *work); | ||
1089 | 1091 | ||
1090 | void ieee80211_wake_queues_by_reason(struct ieee80211_hw *hw, | 1092 | void ieee80211_wake_queues_by_reason(struct ieee80211_hw *hw, |
1091 | enum queue_stop_reason reason); | 1093 | enum queue_stop_reason reason); |