summaryrefslogtreecommitdiff
path: root/drivers/net/wireless/ath/ath9k/hw.h
diff options
context:
space:
mode:
authorGabor Juhos <juhosg@openwrt.org>2009-06-21 00:02:15 +0200
committerJohn W. Linville <linville@tuxdriver.com>2009-07-24 15:05:26 -0400
commitf9b604f6c24ad161e9c9e30a138d5899724225c8 (patch)
treec8fcd6b608911370a63a0c461dc7157ae6202b2c /drivers/net/wireless/ath/ath9k/hw.h
parent1b7e528b2e39bfed37228eedaaf0665196d8ddc9 (diff)
downloadlwn-f9b604f6c24ad161e9c9e30a138d5899724225c8.tar.gz
lwn-f9b604f6c24ad161e9c9e30a138d5899724225c8.zip
ath9k: make use ath9k_hw_wait int ath9k_hw_reset_tsf
We have a dedicated function for this kind of checks, use that instead of duplicating the code. Changes-licensed-under: ISC Signed-off-by: Gabor Juhos <juhosg@openwrt.org> Signed-off-by: John W. Linville <linville@tuxdriver.com>
Diffstat (limited to 'drivers/net/wireless/ath/ath9k/hw.h')
-rw-r--r--drivers/net/wireless/ath/ath9k/hw.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/net/wireless/ath/ath9k/hw.h b/drivers/net/wireless/ath/ath9k/hw.h
index 9a4570d7ecbe..28bffdb365a2 100644
--- a/drivers/net/wireless/ath/ath9k/hw.h
+++ b/drivers/net/wireless/ath/ath9k/hw.h
@@ -95,6 +95,7 @@
#define MAX_RATE_POWER 63
#define AH_WAIT_TIMEOUT 100000 /* (us) */
+#define AH_TSF_WRITE_TIMEOUT 100 /* (us) */
#define AH_TIME_QUANTUM 10
#define AR_KEYTABLE_SIZE 128
#define POWER_UP_TIME 200000