diff options
author | Wey-Yi Guy <wey-yi.w.guy@intel.com> | 2010-06-14 20:09:54 -0400 |
---|---|---|
committer | Reinette Chatre <reinette.chatre@intel.com> | 2010-06-21 13:47:25 -0400 |
commit | f3aebeeebc9a18aa548f8c1da18f6cda28d8b732 (patch) | |
tree | 0943c87306cba89b40d6b7ad88568b47a871bbe4 /drivers/net/wireless/iwlwifi/iwl-dev.h | |
parent | 278fc73c0c6014bc2f55bce898bdeaa322bf4aba (diff) |
iwlwifi: move _agn statistics related structure
agn and 3945 has different statistics_notif data structure; since 3945
has it statistics_notif data structure inside the _3945 portion of
iwl_priv, it make sense to move the agn statistics_notif into _agn
portion.
Signed-off-by: Wey-Yi Guy <wey-yi.w.guy@intel.com>
Signed-off-by: Reinette Chatre <reinette.chatre@intel.com>
Diffstat (limited to 'drivers/net/wireless/iwlwifi/iwl-dev.h')
-rw-r--r-- | drivers/net/wireless/iwlwifi/iwl-dev.h | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/drivers/net/wireless/iwlwifi/iwl-dev.h b/drivers/net/wireless/iwlwifi/iwl-dev.h index da54e6cd18af..1af845c0f0b9 100644 --- a/drivers/net/wireless/iwlwifi/iwl-dev.h +++ b/drivers/net/wireless/iwlwifi/iwl-dev.h | |||
@@ -1224,13 +1224,6 @@ struct iwl_priv { | |||
1224 | struct iwl_power_mgr power_data; | 1224 | struct iwl_power_mgr power_data; |
1225 | struct iwl_tt_mgmt thermal_throttle; | 1225 | struct iwl_tt_mgmt thermal_throttle; |
1226 | 1226 | ||
1227 | struct iwl_notif_statistics statistics; | ||
1228 | #ifdef CONFIG_IWLWIFI_DEBUGFS | ||
1229 | struct iwl_notif_statistics accum_statistics; | ||
1230 | struct iwl_notif_statistics delta_statistics; | ||
1231 | struct iwl_notif_statistics max_delta; | ||
1232 | #endif | ||
1233 | |||
1234 | /* context information */ | 1227 | /* context information */ |
1235 | u8 bssid[ETH_ALEN]; /* used only on 3945 but filled by core */ | 1228 | u8 bssid[ETH_ALEN]; /* used only on 3945 but filled by core */ |
1236 | 1229 | ||
@@ -1323,6 +1316,13 @@ struct iwl_priv { | |||
1323 | 1316 | ||
1324 | u32 init_evtlog_ptr, init_evtlog_size, init_errlog_ptr; | 1317 | u32 init_evtlog_ptr, init_evtlog_size, init_errlog_ptr; |
1325 | u32 inst_evtlog_ptr, inst_evtlog_size, inst_errlog_ptr; | 1318 | u32 inst_evtlog_ptr, inst_evtlog_size, inst_errlog_ptr; |
1319 | |||
1320 | struct iwl_notif_statistics statistics; | ||
1321 | #ifdef CONFIG_IWLWIFI_DEBUGFS | ||
1322 | struct iwl_notif_statistics accum_statistics; | ||
1323 | struct iwl_notif_statistics delta_statistics; | ||
1324 | struct iwl_notif_statistics max_delta; | ||
1325 | #endif | ||
1326 | } _agn; | 1326 | } _agn; |
1327 | #endif | 1327 | #endif |
1328 | }; | 1328 | }; |