mac80211: send (QoS) Null if no buffered frames
commitce662b44ce22e3e8886104d5feb2a451d7ba560f
authorJohannes Berg <johannes.berg@intel.com>
Thu, 29 Sep 2011 14:04:34 +0000 (29 16:04 +0200)
committerJohn W. Linville <linville@tuxdriver.com>
Fri, 30 Sep 2011 19:57:16 +0000 (30 15:57 -0400)
treeeb584058dec73807f192fc19725adfece5bad539
parent47086fc51aa2220f58049704a8b73e4fcdf372b9
mac80211: send (QoS) Null if no buffered frames

For PS-poll, there's a possible race between
us expiring a frame and the station polling
for it -- send it a null frame in that case.

For uAPSD, the standard says that we have to
send a frame in each SP, so send null if we
don't have any other frames.

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