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)
commit09ebb810927a110e4c354beb20308830d108a54b
tree8b44e0849ea7c503f2f7ecc563f4cf9ef1ab5076
parent5f2f9e44badc5e322523ef3b4583684255b80a07
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