]> 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)
commit53ba54c946d9b576a774fe2dfc980a210e7cb6f2
tree8b44e0849ea7c503f2f7ecc563f4cf9ef1ab5076
parent33f67f57cd71a8ebbe8329954ba5e937af291324
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