]> git.baikalelectronics.ru Git - kernel.git/commit
ath9k: use a timer to put hardware into full sleep
authorFelix Fietkau <nbd@openwrt.org>
Mon, 11 Nov 2013 21:23:33 +0000 (22:23 +0100)
committerJohn W. Linville <linville@tuxdriver.com>
Mon, 2 Dec 2013 19:24:59 +0000 (14:24 -0500)
commitfc1f0dce0a158f242755316f9f5103b0b457b20f
tree79b2b90a70f3c06eaf5bac8f78aa232da284a9a0
parent10c93966a25c98055abacb6f77b21481c5a5886a
ath9k: use a timer to put hardware into full sleep

When operating in client mode, the short period of time between scanning
and associating is often enough to put the hardware through several
FULL-SLEEP <-> AWAKE transitions, each wakeup requiring a reset to fully
recover the hardware.
This is completely unnecessary and can easily be avoided by deferring
the switch to full sleep.

Signed-off-by: Felix Fietkau <nbd@openwrt.org>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
drivers/net/wireless/ath/ath9k/ath9k.h
drivers/net/wireless/ath/ath9k/init.c
drivers/net/wireless/ath/ath9k/main.c