diff options
author | Wey-Yi Guy <wey-yi.w.guy@intel.com> | 2010-07-06 13:39:33 -0400 |
---|---|---|
committer | Wey-Yi Guy <wey-yi.w.guy@intel.com> | 2010-07-17 10:37:41 -0400 |
commit | 9cae611ff2184878daa162b5322e9a9443ae3b47 (patch) | |
tree | 14663d305d859df38ee2d887a15523b1b89a72c0 /drivers | |
parent | 7c094c5cc4d28062abf0d33ca022dbea6c522558 (diff) |
iwlwifi: more statistics counter for agn in debugfs
Display "wait_for_silence_timeout_cnt" for _agn devices
in debugfs as part of uCode statistics
Signed-off-by: Wey-Yi Guy <wey-yi.w.guy@intel.com>
Diffstat (limited to 'drivers')
-rw-r--r-- | drivers/net/wireless/iwlwifi/iwl-agn-debugfs.c | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/drivers/net/wireless/iwlwifi/iwl-agn-debugfs.c b/drivers/net/wireless/iwlwifi/iwl-agn-debugfs.c index 75d6bfcbc607..5e5c5122fb15 100644 --- a/drivers/net/wireless/iwlwifi/iwl-agn-debugfs.c +++ b/drivers/net/wireless/iwlwifi/iwl-agn-debugfs.c | |||
@@ -813,6 +813,13 @@ ssize_t iwl_ucode_general_stats_read(struct file *file, char __user *user_buf, | |||
813 | delta_dbg->burst_count, max_dbg->burst_count); | 813 | delta_dbg->burst_count, max_dbg->burst_count); |
814 | pos += scnprintf(buf + pos, bufsz - pos, | 814 | pos += scnprintf(buf + pos, bufsz - pos, |
815 | " %-30s %10u %10u %10u %10u\n", | 815 | " %-30s %10u %10u %10u %10u\n", |
816 | "wait_for_silence_timeout_count:", | ||
817 | le32_to_cpu(dbg->wait_for_silence_timeout_cnt), | ||
818 | accum_dbg->wait_for_silence_timeout_cnt, | ||
819 | delta_dbg->wait_for_silence_timeout_cnt, | ||
820 | max_dbg->wait_for_silence_timeout_cnt); | ||
821 | pos += scnprintf(buf + pos, bufsz - pos, | ||
822 | " %-30s %10u %10u %10u %10u\n", | ||
816 | "sleep_time:", | 823 | "sleep_time:", |
817 | le32_to_cpu(general->sleep_time), | 824 | le32_to_cpu(general->sleep_time), |
818 | accum_general->sleep_time, | 825 | accum_general->sleep_time, |