diff options
author | Luis R. Rodriguez <lrodriguez@atheros.com> | 2010-05-13 13:33:43 -0400 |
---|---|---|
committer | John W. Linville <linville@tuxdriver.com> | 2010-06-02 16:13:00 -0400 |
commit | aea702b70ae0964c16e17944e4a5ce2c2b038ced (patch) | |
tree | 8d4bcd9197d442e293a0479fbab3297df95da859 /drivers/net/wireless/ath/ath9k/hw.c | |
parent | ec8aa669b8393b6789b1954d587c63264af7ff99 (diff) |
ath9k_hw: add support for the AR9003 baseband watchdog
The baseband watchdog will monitor blocks of the baseband
through timers and will issue an interrupt when things are
detected to be stalled. It is only available on the AR9003
family.
Cc: Sam Ng <sam.ng@atheros.com>
Cc: Paul Shaw <paul.shaw@atheros.com>
Cc: Don Breslin <don.breslin@atheros.com>
Cc: Cliff Holden <cliff.holden@atheros.com
Signed-off-by: Luis R. Rodriguez <lrodriguez@atheros.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
Diffstat (limited to 'drivers/net/wireless/ath/ath9k/hw.c')
-rw-r--r-- | drivers/net/wireless/ath/ath9k/hw.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/net/wireless/ath/ath9k/hw.c b/drivers/net/wireless/ath/ath9k/hw.c index c33f17dbe6f..6bfac1ca07f 100644 --- a/drivers/net/wireless/ath/ath9k/hw.c +++ b/drivers/net/wireless/ath/ath9k/hw.c | |||
@@ -627,6 +627,7 @@ static int __ath9k_hw_init(struct ath_hw *ah) | |||
627 | ar9003_hw_set_nf_limits(ah); | 627 | ar9003_hw_set_nf_limits(ah); |
628 | 628 | ||
629 | ath9k_init_nfcal_hist_buffer(ah); | 629 | ath9k_init_nfcal_hist_buffer(ah); |
630 | ah->bb_watchdog_timeout_ms = 25; | ||
630 | 631 | ||
631 | common->state = ATH_HW_INITIALIZED; | 632 | common->state = ATH_HW_INITIALIZED; |
632 | 633 | ||
@@ -1441,6 +1442,7 @@ int ath9k_hw_reset(struct ath_hw *ah, struct ath9k_channel *chan, | |||
1441 | if (AR_SREV_9300_20_OR_LATER(ah)) { | 1442 | if (AR_SREV_9300_20_OR_LATER(ah)) { |
1442 | ath9k_hw_loadnf(ah, curchan); | 1443 | ath9k_hw_loadnf(ah, curchan); |
1443 | ath9k_hw_start_nfcal(ah); | 1444 | ath9k_hw_start_nfcal(ah); |
1445 | ar9003_hw_bb_watchdog_config(ah); | ||
1444 | } | 1446 | } |
1445 | 1447 | ||
1446 | return 0; | 1448 | return 0; |