]> 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)
commite4b829ac221e45c86554355ba746f4501ef13122
tree3a11594d7becb06f2cc0344f13fb4ac06c0e4177
parent2b13540a256efdee45c16c7f749c115edf5d8ba8
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