diff options
author | Sujith Manoharan | 2012-06-04 12:57:41 +0200 |
---|---|---|
committer | John W. Linville | 2012-06-06 21:20:25 +0200 |
commit | 97ba515a201bc61c7d36c41ad728b0a7debd5d88 (patch) | |
tree | e8e374ca13b799ecf62a0f1f28b381bc3d6fd267 /drivers/net/wireless/ath/ath9k/debug.c | |
parent | ath9k_hw: Cleanup power mode API (diff) | |
download | kernel-qcow2-linux-97ba515a201bc61c7d36c41ad728b0a7debd5d88.tar.gz kernel-qcow2-linux-97ba515a201bc61c7d36c41ad728b0a7debd5d88.tar.xz kernel-qcow2-linux-97ba515a201bc61c7d36c41ad728b0a7debd5d88.zip |
ath9k: Add MCI interrupt to debugfs statistics
Signed-off-by: Sujith Manoharan <c_manoha@qca.qualcomm.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
Diffstat (limited to 'drivers/net/wireless/ath/ath9k/debug.c')
-rw-r--r-- | drivers/net/wireless/ath/ath9k/debug.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/drivers/net/wireless/ath/ath9k/debug.c b/drivers/net/wireless/ath/ath9k/debug.c index fde700c4e490..c134ddaa10a1 100644 --- a/drivers/net/wireless/ath/ath9k/debug.c +++ b/drivers/net/wireless/ath/ath9k/debug.c @@ -374,6 +374,8 @@ void ath_debug_stat_interrupt(struct ath_softc *sc, enum ath9k_int status) sc->debug.stats.istats.dtim++; if (status & ATH9K_INT_TSFOOR) sc->debug.stats.istats.tsfoor++; + if (status & ATH9K_INT_MCI) + sc->debug.stats.istats.mci++; } static ssize_t read_file_interrupt(struct file *file, char __user *user_buf, @@ -418,6 +420,7 @@ static ssize_t read_file_interrupt(struct file *file, char __user *user_buf, PR_IS("DTIMSYNC", dtimsync); PR_IS("DTIM", dtim); PR_IS("TSFOOR", tsfoor); + PR_IS("MCI", mci); PR_IS("TOTAL", total); len += snprintf(buf + len, mxlen - len, |