minstrel_ht: fix Open BA session request floods
commit64ed5cf01345da60b5fd9f27e22e5e2e2ffb0a33
authorChristian Lamparter <chunkeey@googlemail.com>
Sat, 3 Sep 2011 07:06:20 +0000 (3 09:06 +0200)
committerJohn W. Linville <linville@tuxdriver.com>
Wed, 14 Sep 2011 17:56:23 +0000 (14 13:56 -0400)
treea51db28e065d693ea3323612e2e419a10ceb81ed
parent43c3528430bd29f5e52438cad7cf7c0c62bf4583
minstrel_ht: fix Open BA session request floods

Minstrel HT tries very hard to establish a BA session with
each peer once there's some data on the way. However the
stack does not inform minstrel if an aggregation session
is already in place, so it keeps trying and wastes good
cycles in the tx status path.

[ 8149.946393] Open BA session requested for $AP tid 0
[ 8150.048765] Open BA session requested for $AP tid 0
[ 8150.174509] Open BA session requested for $AP tid 0
[ 8150.274376] Open BA session requested for $AP tid 0
...

Signed-off-by: Christian Lamparter <chunkeey@googlemail.com>
Acked-by: Felix Fietkau <nbd@openwrt.org>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
net/mac80211/rc80211_minstrel_ht.c