]> git.baikalelectronics.ru Git - kernel.git/commit
ath9k: Calculate sleep duration
authorRajkumar Manoharan <rmanohar@qti.qualcomm.com>
Thu, 26 Jun 2014 11:24:42 +0000 (16:54 +0530)
committerJohn W. Linville <linville@tuxdriver.com>
Tue, 1 Jul 2014 18:26:26 +0000 (14:26 -0400)
commit654d1df2e7c79f24a057c0107b2db8c33809f022
tree8b44e0849ea7c503f2f7ecc563f4cf9ef1ab5076
parent6f652092814e3831a5caf9bd967535c37ac9ba1f
ath9k: Calculate sleep duration

Right now sleep duration is configured as beacon interval. It should be
the multiple of beacon interval by listen period which helps to
reduce station power consumption.

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