ath9k: fix ps-poll responses under a-mpdu sessions
authorFelix Fietkau <nbd@openwrt.org>
Sat, 22 Feb 2014 12:48:19 +0000 (13:48 +0100)
committerJohn W. Linville <linville@tuxdriver.com>
Mon, 24 Feb 2014 19:55:27 +0000 (14:55 -0500)
commit558ff225de80ac95b132d3a115ddadcd64498b4f
tree781f54dfb404cb9e5a8f01275ef7bcd75d26dc01
parente4ceb0f40da5dc26f84025d121c2fe6ff7d8a947
ath9k: fix ps-poll responses under a-mpdu sessions

When passing tx frames to the U-APSD queue for powersave poll responses,
the ath_atx_tid pointer needs to be passed to ath_tx_setup_buffer for
proper sequence number accounting.

This fixes high latency and connection stability issues with ath9k
running as AP and a few kinds of mobile phones as client, when PS-Poll
is heavily used

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