]> git.karo-electronics.de Git - karo-tx-linux.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)
commitb5bfc5683db44a121ad47ec0a9f4efd4aac040e0
treeb9d182f42cbbfdea95ad7ab425302617c5f40db9
parent9d119f3ebd074bde0b801f476a44ca60d222efb2
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