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)
commitd0805c1c5758f8fd16c88bf1efa8fb4be4408ce1
treee60f4ed86277190171d1b5281a982386224175cf
parent4114fa21465ec7ee9526173676d3122a98bbbbd8
mwl8k: use traffic threshold to decide when to start ampdu

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>
drivers/net/wireless/mwl8k.c