diff options
author | Stefan Steuerwald <salsasepp@googlemail.com> | 2009-07-10 14:42:55 -0400 |
---|---|---|
committer | John W. Linville <linville@tuxdriver.com> | 2009-07-24 15:05:11 -0400 |
commit | 930c06f27120fa8cf0bfb6fa000a701cfaf01ed6 (patch) | |
tree | b254d84fd7ad756f31cbf736d02b808d84881c25 /drivers/net/wireless/rt2x00/rt2x00.h | |
parent | 48ab905d1a81b7df33a33def04a890e4e0c51460 (diff) |
rt2x00: Implement set_tim callback for all drivers
Implement set_tim callback for all rt2x00 drivers, this makes the
device wake up powersaving stations properly while in AP mode.
The only way to update the beacon is by simply calling mac80211 and
requesting the new beacon. This means the set_tim() event is mostly the
same as a beacon_done() event which was already defined in rt2x00lib.
Signed-off-by: Stefan Steuerwald <salsasepp@googlemail.com>
Signed-off-by: Ivo van Doorn <IvDoorn@gmail.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
Diffstat (limited to 'drivers/net/wireless/rt2x00/rt2x00.h')
-rw-r--r-- | drivers/net/wireless/rt2x00/rt2x00.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/net/wireless/rt2x00/rt2x00.h b/drivers/net/wireless/rt2x00/rt2x00.h index 71f37cb476b0..3e177175e34b 100644 --- a/drivers/net/wireless/rt2x00/rt2x00.h +++ b/drivers/net/wireless/rt2x00/rt2x00.h | |||
@@ -963,6 +963,8 @@ void rt2x00mac_configure_filter(struct ieee80211_hw *hw, | |||
963 | unsigned int changed_flags, | 963 | unsigned int changed_flags, |
964 | unsigned int *total_flags, | 964 | unsigned int *total_flags, |
965 | int mc_count, struct dev_addr_list *mc_list); | 965 | int mc_count, struct dev_addr_list *mc_list); |
966 | int rt2x00mac_set_tim(struct ieee80211_hw *hw, struct ieee80211_sta *sta, | ||
967 | bool set); | ||
966 | #ifdef CONFIG_RT2X00_LIB_CRYPTO | 968 | #ifdef CONFIG_RT2X00_LIB_CRYPTO |
967 | int rt2x00mac_set_key(struct ieee80211_hw *hw, enum set_key_cmd cmd, | 969 | int rt2x00mac_set_key(struct ieee80211_hw *hw, enum set_key_cmd cmd, |
968 | struct ieee80211_vif *vif, struct ieee80211_sta *sta, | 970 | struct ieee80211_vif *vif, struct ieee80211_sta *sta, |