]> git.baikalelectronics.ru Git - kernel.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)
commit27f7817d079ca0b3829e7c59010b77c5395ecc91
treec11de2f462a64df3a292543cbcbe8faeaa56a40b
parent234af7f860c975652d6f331a260e56d82ca884b2
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