aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/wireless/iwlwifi/iwl-commands.h
diff options
context:
space:
mode:
authorWey-Yi Guy <wey-yi.w.guy@intel.com>2010-01-15 16:43:35 -0500
committerJohn W. Linville <linville@tuxdriver.com>2010-01-19 16:25:10 -0500
commit11fc524941248dc717f1af5dfa844eceb7c0217f (patch)
treeb4d4284c8f6910c0667068eec737051a89edf0b7 /drivers/net/wireless/iwlwifi/iwl-commands.h
parente3ef2164386a13a37714ec033e30811d052c7999 (diff)
iwlwifi: add num_of_sos_stats to statistics counter
When uCode detects number of beacon missed consecutively above the internal missed beacon threshold (set by uCode), it will reset and re-tune the radio in order to get out of bad PHY state. This "num_of_sos_states" counter monitors number of time uCode encounters this bad condition and has to re-tune the radio. Signed-off-by: Wey-Yi Guy <wey-yi.w.guy@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-commands.h')
-rw-r--r--drivers/net/wireless/iwlwifi/iwl-commands.h7
1 files changed, 6 insertions, 1 deletions
diff --git a/drivers/net/wireless/iwlwifi/iwl-commands.h b/drivers/net/wireless/iwlwifi/iwl-commands.h
index 3320cce3d57b..8dc34a3d4f7e 100644
--- a/drivers/net/wireless/iwlwifi/iwl-commands.h
+++ b/drivers/net/wireless/iwlwifi/iwl-commands.h
@@ -3095,7 +3095,12 @@ struct statistics_general {
3095 __le32 ttl_timestamp; 3095 __le32 ttl_timestamp;
3096 struct statistics_div div; 3096 struct statistics_div div;
3097 __le32 rx_enable_counter; 3097 __le32 rx_enable_counter;
3098 __le32 reserved1; 3098 /*
3099 * num_of_sos_states:
3100 * count the number of times we have to re-tune
3101 * in order to get out of bad PHY status
3102 */
3103 __le32 num_of_sos_states;
3099 __le32 reserved2; 3104 __le32 reserved2;
3100 __le32 reserved3; 3105 __le32 reserved3;
3101} __attribute__ ((packed)); 3106} __attribute__ ((packed));