aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/wireless/iwlwifi/iwl-debug.h
diff options
context:
space:
mode:
authorWey-Yi Guy <wey-yi.w.guy@intel.com>2009-08-07 18:41:40 -0400
committerJohn W. Linville <linville@tuxdriver.com>2009-08-14 09:13:47 -0400
commit22fdf3c9e19dce6d66bcfdbed547a5aa52b89933 (patch)
treed2f0cf8e6f4f133ad08036d6ee01978fc0d51803 /drivers/net/wireless/iwlwifi/iwl-debug.h
parent20594eb0daa67f7a0cc19d74a1bafceb1bb09f4a (diff)
iwlwifi: Traffic type and counter for debugFs
Break down the traffic type and counter for both Tx and Rx. Enhance the tx_statistics and rx_statistics debugfs function and move to /sys/kernel/debug/ieee80211/phy0/iwlagn/debug directory to help better debugging both driver and uCode related problems. Signed-off-by: Wey-Yi Guy <wey-yi.w.guy@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-debug.h')
-rw-r--r--drivers/net/wireless/iwlwifi/iwl-debug.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/net/wireless/iwlwifi/iwl-debug.h b/drivers/net/wireless/iwlwifi/iwl-debug.h
index 335ff5c43966..4ac06ad69ed3 100644
--- a/drivers/net/wireless/iwlwifi/iwl-debug.h
+++ b/drivers/net/wireless/iwlwifi/iwl-debug.h
@@ -78,8 +78,6 @@ struct iwl_debugfs {
78 struct dentry *file_sram; 78 struct dentry *file_sram;
79 struct dentry *file_nvm; 79 struct dentry *file_nvm;
80 struct dentry *file_stations; 80 struct dentry *file_stations;
81 struct dentry *file_rx_statistics;
82 struct dentry *file_tx_statistics;
83 struct dentry *file_log_event; 81 struct dentry *file_log_event;
84 struct dentry *file_channels; 82 struct dentry *file_channels;
85 struct dentry *file_status; 83 struct dentry *file_status;
@@ -97,6 +95,8 @@ struct iwl_debugfs {
97 struct dentry *file_disable_tx_power; 95 struct dentry *file_disable_tx_power;
98 } dbgfs_rf_files; 96 } dbgfs_rf_files;
99 struct dir_debug_files { 97 struct dir_debug_files {
98 struct dentry *file_rx_statistics;
99 struct dentry *file_tx_statistics;
100 struct dentry *file_traffic_log; 100 struct dentry *file_traffic_log;
101 } dbgfs_debug_files; 101 } dbgfs_debug_files;
102 u32 sram_offset; 102 u32 sram_offset;