]> git.baikalelectronics.ru Git - kernel.git/commit
mac80211: also expire filtered frames
authorJohannes Berg <johannes.berg@intel.com>
Thu, 29 Sep 2011 14:04:28 +0000 (16:04 +0200)
committerJohn W. Linville <linville@tuxdriver.com>
Fri, 30 Sep 2011 19:57:11 +0000 (15:57 -0400)
commit287aec388452302963a47b233a9186303e588b07
tree3efa9772e7428d800fd2d236c558ca37c0ef7bb4
parentd3c4121f6571a0c2cc8bc890c8178cdcd8adbc08
mac80211: also expire filtered frames

mac80211 will expire normal PS-buffered frames, but
if the device rejected some frames for a sleeping
station, these won't be on the ps_tx_buf queue but
on the tx_filtered queue instead; this is done to
avoid reordering.

However, mac80211 will not expire frames from the
filtered queue, let's fix that.

Also add a more comments to what all this expiry is
doing and how it works.

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/status.c