]> git.baikalelectronics.ru Git - kernel.git/commit
mac80211: retry sending failed BAR frames later instead of tearing down aggr
authorFelix Fietkau <nbd@openwrt.org>
Sun, 28 Aug 2011 19:11:01 +0000 (21:11 +0200)
committerJohn W. Linville <linville@tuxdriver.com>
Tue, 13 Sep 2011 19:42:30 +0000 (15:42 -0400)
commit1fc08d8b41820ae9059df7871aefca3c0791cf25
tree5a8966c3172557e80fa0a4903ade8a76e5d21415
parentb4e93d6295f015a44c516bbc4b9e2d6b52f652e3
mac80211: retry sending failed BAR frames later instead of tearing down aggr

Unfortunately failed BAR tx attempts happen more frequently than I
expected, and the resulting aggregation teardowns cause performance
issues, as the aggregation session does not always get re-established
properly.
Instead of tearing down the entire aggr session, we can simply store the
SSN of the last failed BAR tx attempt, wait for the first successful
tx status event, and then send another BAR with the same SSN.

Signed-off-by: Felix Fietkau <nbd@openwrt.org>
Cc: Helmut Schaa <helmut.schaa@googlemail.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
net/mac80211/sta_info.h
net/mac80211/status.c