From: Felix Fietkau Date: Thu, 16 Dec 2010 23:57:00 +0000 (+0100) Subject: ath9k: fix queue depth check for forming new aggregates X-Git-Tag: v2.6.38-rc1~476^2~104^2~4^2~12 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=4b3ba66a47311770b21e7aba481f4f2a90ba3084;p=pandora-kernel.git ath9k: fix queue depth check for forming new aggregates To improve aggregation length, there should not be more than two fully formed A-MPDU frames in the hardware queue. To ensure this, the code checks the tx queue length before forming new A-MPDUs. This can reduce the throughput (or maybe even starve out A-MPDU traffic) when too many non-aggregated frames are in the queue. Fix this by keeping track of pending A-MPDU frames (even when they're sent out as single frames), but exclude rate control probing frames to improve performance. Signed-off-by: Felix Fietkau Signed-off-by: John W. Linville --- Reading git-diff-tree failed