mwl8k: use traffic threshold to decide when to start ampdu
authorBrian Cavagnolo <brian@cozybit.com>
Tue, 12 Apr 2011 18:06:28 +0000 (11:06 -0700)
committerJohn W. Linville <linville@tuxdriver.com>
Wed, 13 Apr 2011 19:21:56 +0000 (15:21 -0400)
Currently, ampdu stream is created on the first qos packet to an
HT sta. The overhead of setting up the BA session may not be
justified if the outgoing packet rate is minimal (e.g., ping). So
we only allow ampdu streams after seeing a critical number of
packets in an arbitrary one-second interval.

Based on work by Nishant Sarmukadam <nishants@marvell.com>

Signed-off-by: Brian Cavagnolo <brian@cozybit.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>

No differences found