ath9k: defer ath_tx_setup_buffer setup to the first tx attempt during aggr
authorFelix Fietkau <nbd@openwrt.org>
Sat, 27 Aug 2011 22:32:25 +0000 (00:32 +0200)
committerJohn W. Linville <linville@tuxdriver.com>
Tue, 30 Aug 2011 19:38:53 +0000 (15:38 -0400)
commit44f1d26c16d5806f23f8d7ce5b85362a1897fbef
treeea36e26cd67be99ac706a48d0a22c6840e91e761
parentfa05f87ad4213a3e99bea6f5e73611dc27b4304a
ath9k: defer ath_tx_setup_buffer setup to the first tx attempt during aggr

With sequence number and buffer allocation deferred to when they're needed
for the first time, it becomes much easier to start dropping packets from
the tid queue if necessary, e.g. when latency suddenly increases. This can
lead to some future improvements in buffer management for better latency.

Signed-off-by: Felix Fietkau <nbd@openwrt.org>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
drivers/net/wireless/ath/ath9k/xmit.c