aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/wireless/iwlwifi/iwl-4965.h
diff options
context:
space:
mode:
authorTomas Winkler <tomas.winkler@intel.com>2008-03-12 19:58:51 -0400
committerJohn W. Linville <linville@tuxdriver.com>2008-03-25 16:41:47 -0400
commit19758bef09abe9d2a14575ffb6f686947e97fcb1 (patch)
treee4975d3e59996b06e964b17af9be4fe692c5628a /drivers/net/wireless/iwlwifi/iwl-4965.h
parentc79dd5b5bc5a65822cdc9d571032c469ad7577d5 (diff)
iwlwifi: Add TX/RX statistcs to driver
This patch supports collecting of TX and RX statistics in the driver. Signed-off-by: Tomas Winkler <tomas.winkler@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-4965.h')
-rw-r--r--drivers/net/wireless/iwlwifi/iwl-4965.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/drivers/net/wireless/iwlwifi/iwl-4965.h b/drivers/net/wireless/iwlwifi/iwl-4965.h
index 60353b2645d4..aded6010ce20 100644
--- a/drivers/net/wireless/iwlwifi/iwl-4965.h
+++ b/drivers/net/wireless/iwlwifi/iwl-4965.h
@@ -1107,6 +1107,12 @@ struct iwl_priv {
1107 int last_rx_rssi; /* From Rx packet statisitics */ 1107 int last_rx_rssi; /* From Rx packet statisitics */
1108 int last_rx_noise; /* From beacon statistics */ 1108 int last_rx_noise; /* From beacon statistics */
1109 1109
1110 /* counts mgmt, ctl, and data packets */
1111 struct traffic_stats {
1112 u32 cnt;
1113 u64 bytes;
1114 } tx_stats[3], rx_stats[3];
1115
1110 struct iwl4965_power_mgr power_data; 1116 struct iwl4965_power_mgr power_data;
1111 1117
1112 struct iwl4965_notif_statistics statistics; 1118 struct iwl4965_notif_statistics statistics;