]> git.openfabrics.org - ~emulex/infiniband.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)
commit84381b4ed58498e1e3d49a4a306fec9894b8e00c
tree3a11594d7becb06f2cc0344f13fb4ac06c0e4177
parent9662cbc712babe3f7a792af2bdd47fa0c631f27f
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