]> git.baikalelectronics.ru Git - kernel.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)
commit79676bc1885d8b92bd5f43b28e1761fb767a07d5
treebfb9d1bbf749e5709be1c210078940a6be354621
parentb4084842a6a054226becc9f4850f399eb65db262
ath9k_hw: fix a RTS/CTS timeout regression

commit 42f2986 "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