aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/wireless/iwlwifi/iwl-dev.h
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/net/wireless/iwlwifi/iwl-dev.h')
-rw-r--r--drivers/net/wireless/iwlwifi/iwl-dev.h18
1 files changed, 18 insertions, 0 deletions
diff --git a/drivers/net/wireless/iwlwifi/iwl-dev.h b/drivers/net/wireless/iwlwifi/iwl-dev.h
index 59930f398f31..0922e33a7d42 100644
--- a/drivers/net/wireless/iwlwifi/iwl-dev.h
+++ b/drivers/net/wireless/iwlwifi/iwl-dev.h
@@ -819,6 +819,21 @@ enum {
819 MEASUREMENT_ACTIVE = (1 << 1), 819 MEASUREMENT_ACTIVE = (1 << 1),
820}; 820};
821 821
822/* interrupt statistics */
823struct isr_statistics {
824 u32 hw;
825 u32 sw;
826 u32 sw_err;
827 u32 sch;
828 u32 alive;
829 u32 rfkill;
830 u32 ctkill;
831 u32 wakeup;
832 u32 rx;
833 u32 rx_handlers[REPLY_MAX];
834 u32 tx;
835 u32 unhandled;
836};
822 837
823#define IWL_MAX_NUM_QUEUES 20 /* FIXME: do dynamic allocation */ 838#define IWL_MAX_NUM_QUEUES 20 /* FIXME: do dynamic allocation */
824 839
@@ -975,6 +990,9 @@ struct iwl_priv {
975 u64 bytes; 990 u64 bytes;
976 } tx_stats[3], rx_stats[3]; 991 } tx_stats[3], rx_stats[3];
977 992
993 /* counts interrupts */
994 struct isr_statistics isr_stats;
995
978 struct iwl_power_mgr power_data; 996 struct iwl_power_mgr power_data;
979 997
980 struct iwl_notif_statistics statistics; 998 struct iwl_notif_statistics statistics;