]> git.karo-electronics.de Git - karo-tx-linux.git/commit
ath9k_hw: fix a RTS/CTS timeout regression
authorFelix Fietkau <nbd@openwrt.org>
Sun, 5 Feb 2012 20:15:18 +0000 (21:15 +0100)
committerJohn W. Linville <linville@tuxdriver.com>
Mon, 6 Feb 2012 16:34:02 +0000 (11:34 -0500)
commit55a2bb4a6d5e8c7b324d003e130fd9aaf33be4e6
treebfb9d1bbf749e5709be1c210078940a6be354621
parentf88373fa47f3ce6590fdfaa742d0ddacc2ae017f
ath9k_hw: fix a RTS/CTS timeout regression

commit adb5066 "ath9k_hw: do not apply the 2.4 ghz ack timeout
workaround to cts" reduced the hardware CTS timeout to the normal
values specified by the standard, but it turns out while it doesn't
need the same extra time that it needs for the ACK timeout, it
does need more than the value specified in the standard, but only
for 2.4 GHz.

This patch brings the CTS timeout value in sync with the initialization
values, while still allowing adjustment for bigger distances.

Signed-off-by: Felix Fietkau <nbd@openwrt.org>
Cc: stable@vger.kernel.org
Reported-by: Seth Forshee <seth.forshee@canonical.com>
Reported-by: Marek Lindner <lindner_marek@yahoo.de>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
drivers/net/wireless/ath/ath9k/hw.c