mac80211: unify TIM bit handling
authorJohannes Berg <johannes.berg@intel.com>
Thu, 29 Sep 2011 14:04:27 +0000 (16:04 +0200)
committerJohn W. Linville <linville@tuxdriver.com>
Fri, 30 Sep 2011 19:57:10 +0000 (15:57 -0400)
commitc868cb35d013896ab6a80a554fb88baef06cedcd
tree48ed06dcf3c815e61f38f867e517d5a5dcfa6d79
parent042ec4533720122e6cb93dd9f3b6a75fe2fcff16
mac80211: unify TIM bit handling

Currently, the TIM bit for a given station is set
and cleared all over the place. Since the logic to
set/clear it will become much more complex when we
add uAPSD support, as a first step let's collect
the entire logic in one place. This requires a few
small adjustments to other places.

Signed-off-by: Johannes Berg <johannes.berg@intel.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
net/mac80211/sta_info.c
net/mac80211/sta_info.h
net/mac80211/status.c
net/mac80211/tx.c