diff options
author | Bruno Randolf | 2010-09-17 04:37:02 +0200 |
---|---|---|
committer | John W. Linville | 2010-09-21 17:05:14 +0200 |
commit | 923e5b3d3d773b9956b943ac64f782d5a127bdea (patch) | |
tree | 04baaf5b5f2edb1b467f6e9debc075c2bb2b62cc /drivers/net/wireless/ath/ath5k/base.h | |
parent | ath5k: Add watchdog for stuck TX queues (diff) | |
download | kernel-qcow2-linux-923e5b3d3d773b9956b943ac64f782d5a127bdea.tar.gz kernel-qcow2-linux-923e5b3d3d773b9956b943ac64f782d5a127bdea.tar.xz kernel-qcow2-linux-923e5b3d3d773b9956b943ac64f782d5a127bdea.zip |
ath5k: Count how many times a queue got stuck
Add a counter to show how many times a queue got stuck in the debugfs queue
file.
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/base.h')
-rw-r--r-- | drivers/net/wireless/ath/ath5k/base.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/net/wireless/ath/ath5k/base.h b/drivers/net/wireless/ath/ath5k/base.h index d8e2674aec71..7f9d0d3018e8 100644 --- a/drivers/net/wireless/ath/ath5k/base.h +++ b/drivers/net/wireless/ath/ath5k/base.h @@ -88,6 +88,7 @@ struct ath5k_txq { bool setup; int txq_len; /* number of queued buffers */ bool txq_poll_mark; + unsigned int txq_stuck; /* informational counter */ }; #define ATH5K_LED_MAX_NAME_LEN 31 |