diff options
author | Bruno Randolf <br1@einfach.org> | 2010-09-17 02:36:56 (GMT) |
---|---|---|
committer | John W. Linville <linville@tuxdriver.com> | 2010-09-21 15:05:12 (GMT) |
commit | 4edd761f4075b03be5932682a2f7b9368dc9e536 (patch) | |
tree | 2920eb3213e722a68e560eed472c24542812ac77 /drivers/net/wireless/ath/ath5k/ath5k.h | |
parent | 1440401e7051d4cf66084a7c36125834901bb90d (diff) | |
download | linux-fsl-qoriq-4edd761f4075b03be5932682a2f7b9368dc9e536.tar.xz |
ath5k: Add watchdog for stuck TX queues
Since we do not know any better solution to the problem that TX queues can get
stuck, this adds a timer-based watchdog, which will check for stuck queues and
reset the hardware if necessary.
Ported from ath9k commit 164ace38536849966ffa377b1b1132993a5a375d.
Signed-off-by: Bruno Randolf <br1@einfach.org>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
Diffstat (limited to 'drivers/net/wireless/ath/ath5k/ath5k.h')
-rw-r--r-- | drivers/net/wireless/ath/ath5k/ath5k.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/net/wireless/ath/ath5k/ath5k.h b/drivers/net/wireless/ath/ath5k/ath5k.h index 50209ae..9475b21 100644 --- a/drivers/net/wireless/ath/ath5k/ath5k.h +++ b/drivers/net/wireless/ath/ath5k/ath5k.h @@ -206,6 +206,8 @@ #define ATH5K_TUNE_CALIBRATION_INTERVAL_ANI 1000 /* 1 sec */ #define ATH5K_TUNE_CALIBRATION_INTERVAL_NF 60000 /* 60 sec */ +#define ATH5K_TX_COMPLETE_POLL_INT 3000 /* 3 sec */ + #define AR5K_INIT_CARR_SENSE_EN 1 /*Swap RX/TX Descriptor for big endian archs*/ |