ath9k: change maximum software retransmission handling
authorFelix Fietkau <nbd@openwrt.org>
Wed, 14 Dec 2011 21:08:03 +0000 (22:08 +0100)
committerJohn W. Linville <linville@tuxdriver.com>
Thu, 15 Dec 2011 19:46:35 +0000 (14:46 -0500)
commitda647626c7aa854755d32dc8e33d3c58314d2fdb
tree2033276d08a3b3f121402ec1b597e6bcfe52ce05
parent1478acb392d8564d109c4add9de6a0c6258c4057
ath9k: change maximum software retransmission handling

Instead of limiting a subframe to 10 A-MPDU software transmission attempts,
count hardware retransmissions as well and raise the limit a bit. That way
there will be fewer software retransmission attempts when traffic suffers
from lots of hardware retransmissions.

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