]> git.baikalelectronics.ru Git - kernel.git/commit
ath9k_hw: move the cycle counter tracking to ath
authorFelix Fietkau <nbd@openwrt.org>
Fri, 8 Oct 2010 20:13:53 +0000 (22:13 +0200)
committerJohn W. Linville <linville@tuxdriver.com>
Mon, 11 Oct 2010 19:04:20 +0000 (15:04 -0400)
commita28069a95d5da0d3f5df0e096a0ecb6717f2e5de
treeb9d182f42cbbfdea95ad7ab425302617c5f40db9
parentb2d54fa48a9cd44c81452925b2e6ac7d457e1027
ath9k_hw: move the cycle counter tracking to ath

Instead of keeping track of wraparound, clear the counters on every
access and keep separate deltas for ANI and later survey use.
Also moves the function for calculating the 'listen time' for ANI

Signed-off-by: Felix Fietkau <nbd@openwrt.org>
Signed-off-by: Bruno Randolf <br1@einfach.org>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
drivers/net/wireless/ath/ath.h
drivers/net/wireless/ath/ath9k/ani.c
drivers/net/wireless/ath/ath9k/ani.h
drivers/net/wireless/ath/ath9k/ar9003_phy.c
drivers/net/wireless/ath/ath9k/hw.h
drivers/net/wireless/ath/ath9k/main.c
drivers/net/wireless/ath/ath9k/reg.h
drivers/net/wireless/ath/hw.c
drivers/net/wireless/ath/reg.h