summaryrefslogtreecommitdiff
path: root/drivers/net/wireless/ath/carl9170/carl9170.h
diff options
context:
space:
mode:
authorChristian Lamparter <chunkeey@googlemail.com>2011-08-15 20:45:54 +0400
committerJohn W. Linville <linville@tuxdriver.com>2011-08-24 22:41:42 +0400
commit7ccc83b0fc69d5b18602aa250c10be0d3ae920c6 (patch)
tree3c6a3875b294d62df281f77edc0d392cee00a227 /drivers/net/wireless/ath/carl9170/carl9170.h
parentbfe2ed8f4df2e7b6991c4039bb624dee5f8b6583 (diff)
downloadlinux-7ccc83b0fc69d5b18602aa250c10be0d3ae920c6.tar.xz
carl9170: fix timekeeping for HW_COUNTER firmwares
AR9170_PWR_REG_PLL_ADDAC is used to set the main clock divisor which affects the AHB/CPU speed. Because this would interfere with the firmware internal timekeeping, the function has to be moved into the firmware. Signed-off-by: Christian Lamparter <chunkeey@googlemail.com> Signed-off-by: John W. Linville <linville@tuxdriver.com>
Diffstat (limited to 'drivers/net/wireless/ath/carl9170/carl9170.h')
-rw-r--r--drivers/net/wireless/ath/carl9170/carl9170.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/net/wireless/ath/carl9170/carl9170.h b/drivers/net/wireless/ath/carl9170/carl9170.h
index c5427a72a1e2..f7dbdaa74c63 100644
--- a/drivers/net/wireless/ath/carl9170/carl9170.h
+++ b/drivers/net/wireless/ath/carl9170/carl9170.h
@@ -282,6 +282,7 @@ struct ar9170 {
bool rx_stream;
bool tx_stream;
bool rx_filter;
+ bool hw_counters;
unsigned int mem_blocks;
unsigned int mem_block_size;
unsigned int rx_size;