]> git.karo-electronics.de Git - karo-tx-linux.git/commit
ath9k: improve PS filter clearing and retry counting for A-MPDU
authorFelix Fietkau <nbd@openwrt.org>
Fri, 7 Oct 2011 00:28:14 +0000 (02:28 +0200)
committerJohn W. Linville <linville@tuxdriver.com>
Tue, 11 Oct 2011 20:41:14 +0000 (16:41 -0400)
commit26a64259b702ec3eccb785e32e473eefcc76b5a5
treec11de2f462a64df3a292543cbcbe8faeaa56a40b
parent030d6294351bfb0e29e2814bb8f6e6c2e25ffb54
ath9k: improve PS filter clearing and retry counting for A-MPDU

Do not increment the retry counter if packets to a sleeping station
were not sent because of tx failure, instead of only checking the filter
flag.
Clear the PS filter only after an A-MPDU was reported as filtered,
otherwise the hardware might do some unnecessary extra retransmissions.

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