aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/wireless/iwlwifi/iwl-dev.h
diff options
context:
space:
mode:
authorWey-Yi Guy <wey-yi.w.guy@intel.com>2009-10-09 16:20:24 -0400
committerJohn W. Linville <linville@tuxdriver.com>2009-10-27 16:47:58 -0400
commit55036d6602679fb88dd7b1c19bb7203a0213b684 (patch)
tree76c20e42bf6c31cd7fee1cd8b748d2b63c2d6a3c /drivers/net/wireless/iwlwifi/iwl-dev.h
parentbd35f150823c21000f4c0f029abb258bc1ae3b5f (diff)
iwlwifi: additional items in sensitivity range table
Add more items to sensitivity range table to avoid using hardcoded values. Initialize the table per device since unique per device information is required to perform sensitivity calibration. additional items in sensitivity range table: .barker_corr_th_min: Barker correlation threshold minimum .barker_corr_th_min_mrc: Barker correlation threshold minimum for MRC .nrg_th_cca: Energy threshold for Clear Channel Assessment Barker codes are a technique used in WLAN encoding for transmission. MRC is "Maximal Ratio Combining", a technique for optimally combining the signals from 2 or more receivers to achieve a better signal. Signed-off-by: Wey-Yi Guy <wey-yi.w.guy@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-dev.h')
-rw-r--r--drivers/net/wireless/iwlwifi/iwl-dev.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/drivers/net/wireless/iwlwifi/iwl-dev.h b/drivers/net/wireless/iwlwifi/iwl-dev.h
index 394402afaa57..c1b07e2045e6 100644
--- a/drivers/net/wireless/iwlwifi/iwl-dev.h
+++ b/drivers/net/wireless/iwlwifi/iwl-dev.h
@@ -629,6 +629,10 @@ struct iwl_sensitivity_ranges {
629 u16 auto_corr_max_cck_mrc; 629 u16 auto_corr_max_cck_mrc;
630 u16 auto_corr_min_cck; 630 u16 auto_corr_min_cck;
631 u16 auto_corr_min_cck_mrc; 631 u16 auto_corr_min_cck_mrc;
632
633 u16 barker_corr_th_min;
634 u16 barker_corr_th_min_mrc;
635 u16 nrg_th_cca;
632}; 636};
633 637
634 638
@@ -850,6 +854,10 @@ struct iwl_sensitivity_data {
850 s32 nrg_auto_corr_silence_diff; 854 s32 nrg_auto_corr_silence_diff;
851 u32 num_in_cck_no_fa; 855 u32 num_in_cck_no_fa;
852 u32 nrg_th_ofdm; 856 u32 nrg_th_ofdm;
857
858 u16 barker_corr_th_min;
859 u16 barker_corr_th_min_mrc;
860 u16 nrg_th_cca;
853}; 861};
854 862
855/* Chain noise (differential Rx gain) calib data */ 863/* Chain noise (differential Rx gain) calib data */