]> git.baikalelectronics.ru Git - kernel.git/commit
ath9k: do not sampling on ani timer when chip is in sleep
authorRajkumar Manoharan <rmanohar@qca.qualcomm.com>
Tue, 19 Jun 2012 09:20:28 +0000 (14:50 +0530)
committerJohn W. Linville <linville@tuxdriver.com>
Wed, 20 Jun 2012 19:14:56 +0000 (15:14 -0400)
commitd97d62a2e098d84aa86212e5bd5b2c002cfe36f8
tree9448a63abfe3aa058c9fef69b7198c7fffd5aa58
parenta2395d7f3b89cd52389cb5c91610d13bb1807d07
ath9k: do not sampling on ani timer when chip is in sleep

The baseband and cycle counters are being sampled during ani
processing for debugging purpose. Whenever the ani is postponded
due to sleep state, taking samples on that time is of no use and
also unneccesarily waking up the chip might increase the power
consumption on idle associated state. Hence moving debug function
within powersave block.

Signed-off-by: Rajkumar Manoharan <rmanohar@qca.qualcomm.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
drivers/net/wireless/ath/ath9k/link.c