]> git.baikalelectronics.ru Git - kernel.git/commit
ath9k_hw: fix clock rate calculations for ANI
authorLuis R. Rodriguez <lrodriguez@atheros.com>
Sat, 12 Jun 2010 04:33:40 +0000 (00:33 -0400)
committerJohn W. Linville <linville@tuxdriver.com>
Mon, 14 Jun 2010 19:39:29 +0000 (15:39 -0400)
commit6590d70e9663c352ac51c7674475efce733b09cf
treeaec79f56fac9cdf6ff1b749804039693735fa34b
parent2d7d9a31688dc79cb9ab54437bcf47d7f1dbdffc
ath9k_hw: fix clock rate calculations for ANI

The clock rate was assumed to be static but it actually
changes depending on the mode of operation, correct this
to help improve the calcuation of the listenTime for ANI.
This change will help adjust ANI more accurately on different
PHY thresholds.

Signed-off-by: Luis R. Rodriguez <lrodriguez@atheros.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
drivers/net/wireless/ath/ath9k/ani.c