]> 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)
commit183f4916361c03b067c2465288d68fc7b1101152
tree79b2b90a70f3c06eaf5bac8f78aa232da284a9a0
parent995215498cd871c08263738633dd1dd64f399897
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