]> git.baikalelectronics.ru Git - kernel.git/commit
mac80211: split addba retries in time
authorNikolay Martynov <mar.kolya@gmail.com>
Sun, 18 Dec 2011 00:39:35 +0000 (19:39 -0500)
committerJohn W. Linville <linville@tuxdriver.com>
Mon, 19 Dec 2011 19:31:37 +0000 (14:31 -0500)
commit9079fb04dc29d445a0719f92b786c83b5527d9c5
tree3a11594d7becb06f2cc0344f13fb4ac06c0e4177
parent208fc68f23b2121dc5a22eea5dcc751bc350609f
mac80211: split addba retries in time

  Currently code allows three (HT_AGG_MAX_RETRIES) unanswered addba
requests. When this limit is reached aggregation is turned off for
given TID permanently. This doesn't seem right: three requests is
not that much, some 'blackout' can happen, but effect of it affects
whole connection indefinitely.
  This patch increases number of retries to 15. Also, when there have
been 3 or more retries it splits further retries apart by 15 seconds
instead of sending them in very short period of time.

Signed-off-by: Nikolay Martynov <mar.kolya@gmail.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
net/mac80211/agg-tx.c
net/mac80211/sta_info.h