aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/wireless/iwlwifi/iwl-dev.h
diff options
context:
space:
mode:
authorWey-Yi Guy <wey-yi.w.guy@intel.com>2010-01-15 16:43:34 -0500
committerJohn W. Linville <linville@tuxdriver.com>2010-01-19 16:25:09 -0500
commite3ef2164386a13a37714ec033e30811d052c7999 (patch)
treedabe11f5a41ba1ceaff798f440cec6f3cc3fb0d5 /drivers/net/wireless/iwlwifi/iwl-dev.h
parent9ed333e0298c8f12cf7f3b4aec4258e81ef588a0 (diff)
iwlwifi: format and show statistics counter from uCode
To help debug uCode related problem, adding "delta" and "max" information in debugfs statistics counters display. Those information show the delta between two statistics report from uCode, user can monitor the counters for any "un-normal" behavior. Signed-off-by: Wey-Yi Guy <wey-yi.w.guy@intel.com> Signed-off-by: Jay Sternberg<jay.e.sternberg@intel.com> Signed-off-by: Zhu Yi <yi.zhu@intel.com> Signed-off-by: Reinette Chatre <reinette.chatre@intel.com> Signed-off-by: John W. Linville <linville@tuxdriver.com>
Diffstat (limited to 'drivers/net/wireless/iwlwifi/iwl-dev.h')
-rw-r--r--drivers/net/wireless/iwlwifi/iwl-dev.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/net/wireless/iwlwifi/iwl-dev.h b/drivers/net/wireless/iwlwifi/iwl-dev.h
index 70f0e79c8e4..63e45cd3f63 100644
--- a/drivers/net/wireless/iwlwifi/iwl-dev.h
+++ b/drivers/net/wireless/iwlwifi/iwl-dev.h
@@ -1162,6 +1162,8 @@ struct iwl_priv {
1162 struct iwl_notif_statistics statistics; 1162 struct iwl_notif_statistics statistics;
1163#ifdef CONFIG_IWLWIFI_DEBUG 1163#ifdef CONFIG_IWLWIFI_DEBUG
1164 struct iwl_notif_statistics accum_statistics; 1164 struct iwl_notif_statistics accum_statistics;
1165 struct iwl_notif_statistics delta_statistics;
1166 struct iwl_notif_statistics max_delta;
1165#endif 1167#endif
1166 1168
1167 /* context information */ 1169 /* context information */