diff options
author | Wey-Yi Guy <wey-yi.w.guy@intel.com> | 2009-10-09 16:20:24 -0400 |
---|---|---|
committer | John W. Linville <linville@tuxdriver.com> | 2009-10-27 16:47:58 -0400 |
commit | 55036d6602679fb88dd7b1c19bb7203a0213b684 (patch) | |
tree | 76c20e42bf6c31cd7fee1cd8b748d2b63c2d6a3c /drivers/net/wireless/iwlwifi/iwl-5000.c | |
parent | bd35f150823c21000f4c0f029abb258bc1ae3b5f (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-5000.c')
-rw-r--r-- | drivers/net/wireless/iwlwifi/iwl-5000.c | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/drivers/net/wireless/iwlwifi/iwl-5000.c b/drivers/net/wireless/iwlwifi/iwl-5000.c index 33b38aa0d8c3..a9d1aa3ad57b 100644 --- a/drivers/net/wireless/iwlwifi/iwl-5000.c +++ b/drivers/net/wireless/iwlwifi/iwl-5000.c | |||
@@ -329,6 +329,10 @@ static struct iwl_sensitivity_ranges iwl5000_sensitivity = { | |||
329 | .auto_corr_max_cck_mrc = 400, | 329 | .auto_corr_max_cck_mrc = 400, |
330 | .nrg_th_cck = 95, | 330 | .nrg_th_cck = 95, |
331 | .nrg_th_ofdm = 95, | 331 | .nrg_th_ofdm = 95, |
332 | |||
333 | .barker_corr_th_min = 190, | ||
334 | .barker_corr_th_min_mrc = 390, | ||
335 | .nrg_th_cca = 62, | ||
332 | }; | 336 | }; |
333 | 337 | ||
334 | static struct iwl_sensitivity_ranges iwl5150_sensitivity = { | 338 | static struct iwl_sensitivity_ranges iwl5150_sensitivity = { |
@@ -351,6 +355,10 @@ static struct iwl_sensitivity_ranges iwl5150_sensitivity = { | |||
351 | .auto_corr_max_cck_mrc = 400, | 355 | .auto_corr_max_cck_mrc = 400, |
352 | .nrg_th_cck = 95, | 356 | .nrg_th_cck = 95, |
353 | .nrg_th_ofdm = 95, | 357 | .nrg_th_ofdm = 95, |
358 | |||
359 | .barker_corr_th_min = 190, | ||
360 | .barker_corr_th_min_mrc = 390, | ||
361 | .nrg_th_cca = 62, | ||
354 | }; | 362 | }; |
355 | 363 | ||
356 | const u8 *iwl5000_eeprom_query_addr(const struct iwl_priv *priv, | 364 | const u8 *iwl5000_eeprom_query_addr(const struct iwl_priv *priv, |