aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/wireless/iwlwifi/iwl-dev.h
diff options
context:
space:
mode:
authorWey-Yi Guy <wey-yi.w.guy@intel.com>2010-06-28 16:05:17 -0400
committerWey-Yi Guy <wey-yi.w.guy@intel.com>2010-07-02 14:11:17 -0400
commitc8312facd99b4cd05998fe3440926b667a896c9e (patch)
tree26414342ff20db9f6501346102e997a7ee1a84e9 /drivers/net/wireless/iwlwifi/iwl-dev.h
parentbf3c7fddf9dffb0e5c76da3a94b8f5817a72f92c (diff)
iwlwifi: adding enhance sensitivity table entries
For newer devices (6000g2a and 6000g2b), the sensitivity table send to uCode require additional table entries to help sensitivity calibration. All the additional entries has fix data for now, but do expect the value will be change in the future when device become more stable. Signed-off-by: Wey-Yi Guy <wey-yi.w.guy@intel.com>
Diffstat (limited to 'drivers/net/wireless/iwlwifi/iwl-dev.h')
-rw-r--r--drivers/net/wireless/iwlwifi/iwl-dev.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/drivers/net/wireless/iwlwifi/iwl-dev.h b/drivers/net/wireless/iwlwifi/iwl-dev.h
index c637376a22db..dff1b17d5ea8 100644
--- a/drivers/net/wireless/iwlwifi/iwl-dev.h
+++ b/drivers/net/wireless/iwlwifi/iwl-dev.h
@@ -570,6 +570,7 @@ enum iwl_ucode_tlv_type {
570 IWL_UCODE_TLV_INIT_EVTLOG_PTR = 11, 570 IWL_UCODE_TLV_INIT_EVTLOG_PTR = 11,
571 IWL_UCODE_TLV_INIT_EVTLOG_SIZE = 12, 571 IWL_UCODE_TLV_INIT_EVTLOG_SIZE = 12,
572 IWL_UCODE_TLV_INIT_ERRLOG_PTR = 13, 572 IWL_UCODE_TLV_INIT_ERRLOG_PTR = 13,
573 IWL_UCODE_TLV_ENHANCE_SENS_TBL = 14,
573}; 574};
574 575
575struct iwl_ucode_tlv { 576struct iwl_ucode_tlv {
@@ -1193,7 +1194,9 @@ struct iwl_priv {
1193 u8 start_calib; 1194 u8 start_calib;
1194 struct iwl_sensitivity_data sensitivity_data; 1195 struct iwl_sensitivity_data sensitivity_data;
1195 struct iwl_chain_noise_data chain_noise_data; 1196 struct iwl_chain_noise_data chain_noise_data;
1197 bool enhance_sensitivity_table;
1196 __le16 sensitivity_tbl[HD_TABLE_SIZE]; 1198 __le16 sensitivity_tbl[HD_TABLE_SIZE];
1199 __le16 enhance_sensitivity_tbl[ENHANCE_HD_TABLE_ENTRIES];
1197 1200
1198 struct iwl_ht_config current_ht_config; 1201 struct iwl_ht_config current_ht_config;
1199 1202