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)
committerJiri Slaby <jslaby@suse.cz>
Sat, 22 Mar 2014 21:01:50 +0000 (22:01 +0100)
commit7f60220d325b42104f40a4bec8457f3f63da8dd4
treeb1b9b6c233582b1ac63c32d1a432672c85d1380c
parent46e70384f21825caab1a55f64e9fe6d3d16c28cc
ath9k: fix ps-poll responses under a-mpdu sessions

commit 558ff225de80ac95b132d3a115ddadcd64498b4f upstream.

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

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