]> git.baikalelectronics.ru Git - kernel.git/commit
mac80211: timeout tx agg sessions in way similar to rx agg sessions
authorNikolay Martynov <mar.kolya@gmail.com>
Wed, 23 Nov 2011 02:50:28 +0000 (21:50 -0500)
committerJohn W. Linville <linville@tuxdriver.com>
Mon, 28 Nov 2011 19:43:49 +0000 (14:43 -0500)
commit64711de9f61416ee53348d2b30bdb4d041d76b12
treec0c335499809c2b90ef145576e726543c508e67c
parent6b03312833e9076f5c3f955e9713093f7267ecfd
mac80211: timeout tx agg sessions in way similar to rx agg sessions

  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.
  This patch implements tx tid timeouting in way very similar to rx tid
timeouting.

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
net/mac80211/tx.c