aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/wireless/iwlwifi/iwl-dev.h
diff options
context:
space:
mode:
authorDavid S. Miller <davem@davemloft.net>2010-07-01 20:34:14 -0400
committerDavid S. Miller <davem@davemloft.net>2010-07-01 20:34:14 -0400
commit05318bc905467237d4aa68a701f6e92a2b332218 (patch)
tree3b7577383bca50aeb442568aa16cf8f2167b8694 /drivers/net/wireless/iwlwifi/iwl-dev.h
parentea812ca1b06113597adcd8e70c0f84a413d97544 (diff)
parent88c1f4f6dffe66e2fed8e7e3276e091ee850bed0 (diff)
Merge branch 'master' of git://git.kernel.org/pub/scm/linux/kernel/git/linville/wireless-next-2.6
Conflicts: drivers/net/wireless/libertas/host.h
Diffstat (limited to 'drivers/net/wireless/iwlwifi/iwl-dev.h')
-rw-r--r--drivers/net/wireless/iwlwifi/iwl-dev.h17
1 files changed, 9 insertions, 8 deletions
diff --git a/drivers/net/wireless/iwlwifi/iwl-dev.h b/drivers/net/wireless/iwlwifi/iwl-dev.h
index 338b5177029d..728752aa1bb5 100644
--- a/drivers/net/wireless/iwlwifi/iwl-dev.h
+++ b/drivers/net/wireless/iwlwifi/iwl-dev.h
@@ -1036,11 +1036,12 @@ struct iwl_event_log {
1036 * This is the threshold value of plcp error rate per 100mSecs. It is 1036 * This is the threshold value of plcp error rate per 100mSecs. It is
1037 * used to set and check for the validity of plcp_delta. 1037 * used to set and check for the validity of plcp_delta.
1038 */ 1038 */
1039#define IWL_MAX_PLCP_ERR_THRESHOLD_MIN (0) 1039#define IWL_MAX_PLCP_ERR_THRESHOLD_MIN (1)
1040#define IWL_MAX_PLCP_ERR_THRESHOLD_DEF (50) 1040#define IWL_MAX_PLCP_ERR_THRESHOLD_DEF (50)
1041#define IWL_MAX_PLCP_ERR_LONG_THRESHOLD_DEF (100) 1041#define IWL_MAX_PLCP_ERR_LONG_THRESHOLD_DEF (100)
1042#define IWL_MAX_PLCP_ERR_EXT_LONG_THRESHOLD_DEF (200) 1042#define IWL_MAX_PLCP_ERR_EXT_LONG_THRESHOLD_DEF (200)
1043#define IWL_MAX_PLCP_ERR_THRESHOLD_MAX (255) 1043#define IWL_MAX_PLCP_ERR_THRESHOLD_MAX (255)
1044#define IWL_MAX_PLCP_ERR_THRESHOLD_DISABLE (0)
1044 1045
1045#define IWL_DELAY_NEXT_FORCE_RF_RESET (HZ*3) 1046#define IWL_DELAY_NEXT_FORCE_RF_RESET (HZ*3)
1046#define IWL_DELAY_NEXT_FORCE_FW_RELOAD (HZ*5) 1047#define IWL_DELAY_NEXT_FORCE_FW_RELOAD (HZ*5)
@@ -1224,13 +1225,6 @@ struct iwl_priv {
1224 struct iwl_power_mgr power_data; 1225 struct iwl_power_mgr power_data;
1225 struct iwl_tt_mgmt thermal_throttle; 1226 struct iwl_tt_mgmt thermal_throttle;
1226 1227
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 */ 1228 /* context information */
1235 u8 bssid[ETH_ALEN]; /* used only on 3945 but filled by core */ 1229 u8 bssid[ETH_ALEN]; /* used only on 3945 but filled by core */
1236 1230
@@ -1323,6 +1317,13 @@ struct iwl_priv {
1323 1317
1324 u32 init_evtlog_ptr, init_evtlog_size, init_errlog_ptr; 1318 u32 init_evtlog_ptr, init_evtlog_size, init_errlog_ptr;
1325 u32 inst_evtlog_ptr, inst_evtlog_size, inst_errlog_ptr; 1319 u32 inst_evtlog_ptr, inst_evtlog_size, inst_errlog_ptr;
1320
1321 struct iwl_notif_statistics statistics;
1322#ifdef CONFIG_IWLWIFI_DEBUGFS
1323 struct iwl_notif_statistics accum_statistics;
1324 struct iwl_notif_statistics delta_statistics;
1325 struct iwl_notif_statistics max_delta;
1326#endif
1326 } _agn; 1327 } _agn;
1327#endif 1328#endif
1328 }; 1329 };