mac80211: add a function for setting the TIM bit for a specific station
authorFelix Fietkau <nbd@openwrt.org>
Sun, 17 Apr 2011 15:45:00 +0000 (17:45 +0200)
committerJohn W. Linville <linville@tuxdriver.com>
Tue, 19 Apr 2011 19:38:05 +0000 (15:38 -0400)
commitdcf55fb5d43bd82e1e3bf94f065cfe8f75a4bc5a
tree34b8bb4d1c1dcb45d0e5e134fd6373b8fcc1e689
parentcea3235cf578b5e952f5a0cec9bc6c2e862eb697
mac80211: add a function for setting the TIM bit for a specific station

This allows a driver to buffer frames for a PS station and tell mac80211
to wake it up even though mac80211 does not have any buffered frames for
it.
This is necessary for properly handling aggregation related buffering,
in ath9k, because the driver needs to keep its frames in order to keep
track of the Block-ACK window.

Signed-off-by: Felix Fietkau <nbd@openwrt.org>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
include/net/mac80211.h
net/mac80211/sta_info.c
net/mac80211/sta_info.h