Linux wireless drivers development
 help / color / mirror / Atom feed
* [PATCH v2 0/3] mac80211: timeout tx agg sessions in way similar to rx agg sessions
@ 2011-11-23  2:50 Nikolay Martynov
  2011-11-23  2:50 ` [PATCH v2 1/3] " Nikolay Martynov
                   ` (3 more replies)
  0 siblings, 4 replies; 11+ messages in thread
From: Nikolay Martynov @ 2011-11-23  2:50 UTC (permalink / raw)
  To: linville; +Cc: linux-wireless, Nikolay Martynov

  Currently tx aggregation is not being timed out even if timeout is
specified when aggregation is opened. Tx tid stays active until delba
arrives from recipient (i.e. recipient times out tid when it is
inactive).
  The problem with this approach is that delba can get lost in the air
and tx tid will stay perpetually opened on the originator while closed
on recipient thus all data sent via this tid will be lost.
 The problem manifests itself with connection becoming slow/unusable
with ping times jumping to 4s. At such time opened tx tid can be seen
on one side of the connection without corresponding rx tid one the
other side. This seems to be happening quite often soon after
connection on ar9102 I have.
  This patch implements tx tid timeouting in way very similar to rx tid
timeouting.

  All comments and suggestions are appreciated.

Signed-off-by: Nikolay Martynov <mar.kolya@gmail.com>

Nikolay Martynov (3):
  mac80211: timeout tx agg sessions in way similar to rx agg sessions
  mac80211: trivial: use WLAN_BACK_RECIPIENT instead of hardcoded 0
  mac80211: log reason and initiator when rx agg is stopped

 net/mac80211/agg-rx.c   |    9 ++++++---
 net/mac80211/agg-tx.c   |   35 ++++++++++++++++++++++++++++++++++-
 net/mac80211/sta_info.h |    2 ++
 net/mac80211/tx.c       |    8 ++++++++
 4 files changed, 50 insertions(+), 4 deletions(-)

-- 
1.7.4.1


^ permalink raw reply	[flat|nested] 11+ messages in thread

end of thread, other threads:[~2011-11-25  7:34 UTC | newest]

Thread overview: 11+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-11-23  2:50 [PATCH v2 0/3] mac80211: timeout tx agg sessions in way similar to rx agg sessions Nikolay Martynov
2011-11-23  2:50 ` [PATCH v2 1/3] " Nikolay Martynov
2011-11-23  2:50 ` [PATCH v2 2/3] mac80211: trivial: use WLAN_BACK_RECIPIENT instead of hardcoded 0 Nikolay Martynov
2011-11-23  2:50 ` [PATCH v2 3/3] mac80211: log reason and initiator when rx agg is stopped Nikolay Martynov
2011-11-24 18:17 ` [PATCH v2 0/3] mac80211: timeout tx agg sessions in way similar to rx agg sessions Johannes Berg
2011-11-24 18:34   ` Nikolay Martynov
     [not found]   ` <CALGY4fv6NTRDPUEa-7h+DqaHZwdKnNG4fEmzyHrYZukz3B1gqA@mail.gmail.com>
2011-11-24 18:39     ` Johannes Berg
2011-11-24 18:45       ` Johannes Berg
2011-11-24 18:57         ` Nikolay Martynov
2011-11-25  4:43       ` Nikolay Martynov
2011-11-25  7:34         ` Johannes Berg

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox