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.h12
1 files changed, 12 insertions, 0 deletions
diff --git a/drivers/net/wireless/iwlwifi/iwl-dev.h b/drivers/net/wireless/iwlwifi/iwl-dev.h
index 86d38ae2ec7e..a1f3ecb69ed0 100644
--- a/drivers/net/wireless/iwlwifi/iwl-dev.h
+++ b/drivers/net/wireless/iwlwifi/iwl-dev.h
@@ -1026,6 +1026,15 @@ struct iwl_event_log {
1026#define IWL_HOST_INT_CALIB_TIMEOUT_DEF (0x10) 1026#define IWL_HOST_INT_CALIB_TIMEOUT_DEF (0x10)
1027#define IWL_HOST_INT_CALIB_TIMEOUT_MIN (0x0) 1027#define IWL_HOST_INT_CALIB_TIMEOUT_MIN (0x0)
1028 1028
1029/*
1030 * This is the threshold value of plcp error rate per 100mSecs. It is
1031 * used to set and check for the validity of plcp_delta.
1032 */
1033#define IWL_MAX_PLCP_ERR_THRESHOLD_MIN (0)
1034#define IWL_MAX_PLCP_ERR_THRESHOLD_DEF (50)
1035#define IWL_MAX_PLCP_ERR_LONG_THRESHOLD_DEF (100)
1036#define IWL_MAX_PLCP_ERR_THRESHOLD_MAX (255)
1037
1029struct iwl_priv { 1038struct iwl_priv {
1030 1039
1031 /* ieee device used by generic ieee processing code */ 1040 /* ieee device used by generic ieee processing code */
@@ -1055,6 +1064,9 @@ struct iwl_priv {
1055 u32 ucode_beacon_time; 1064 u32 ucode_beacon_time;
1056 int missed_beacon_threshold; 1065 int missed_beacon_threshold;
1057 1066
1067 /* storing the jiffies when the plcp error rate is received */
1068 unsigned long plcp_jiffies;
1069
1058 /* we allocate array of iwl4965_channel_info for NIC's valid channels. 1070 /* we allocate array of iwl4965_channel_info for NIC's valid channels.
1059 * Access via channel # using indirect index array */ 1071 * Access via channel # using indirect index array */
1060 struct iwl_channel_info *channel_info; /* channel info array */ 1072 struct iwl_channel_info *channel_info; /* channel info array */