Skip to content

Commit

Permalink
iwlagn: change default sensitivity value for 5000 and 6000 series
Browse files Browse the repository at this point in the history
Update the default sensitivity value for both 5000 and 6000 series devices

Signed-off-by: Wey-Yi Guy <wey-yi.w.guy@intel.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
  • Loading branch information
Wey-Yi Guy authored and John W. Linville committed Aug 8, 2011
1 parent b4ca608 commit e7515ba
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 10 deletions.
12 changes: 6 additions & 6 deletions drivers/net/wireless/iwlwifi/iwl-5000.c
Original file line number Diff line number Diff line change
Expand Up @@ -83,12 +83,12 @@ static void iwl5000_nic_config(struct iwl_priv *priv)
}

static struct iwl_sensitivity_ranges iwl5000_sensitivity = {
.min_nrg_cck = 95,
.min_nrg_cck = 100,
.max_nrg_cck = 0, /* not used, set to 0 */
.auto_corr_min_ofdm = 90,
.auto_corr_min_ofdm_mrc = 170,
.auto_corr_min_ofdm_x1 = 120,
.auto_corr_min_ofdm_mrc_x1 = 240,
.auto_corr_min_ofdm_x1 = 105,
.auto_corr_min_ofdm_mrc_x1 = 220,

.auto_corr_max_ofdm = 120,
.auto_corr_max_ofdm_mrc = 210,
Expand All @@ -97,10 +97,10 @@ static struct iwl_sensitivity_ranges iwl5000_sensitivity = {

.auto_corr_min_cck = 125,
.auto_corr_max_cck = 200,
.auto_corr_min_cck_mrc = 170,
.auto_corr_min_cck_mrc = 200,
.auto_corr_max_cck_mrc = 400,
.nrg_th_cck = 95,
.nrg_th_ofdm = 95,
.nrg_th_cck = 100,
.nrg_th_ofdm = 100,

.barker_corr_th_min = 190,
.barker_corr_th_min_mrc = 390,
Expand Down
8 changes: 4 additions & 4 deletions drivers/net/wireless/iwlwifi/iwl-6000.c
Original file line number Diff line number Diff line change
Expand Up @@ -113,7 +113,7 @@ static void iwl6000_nic_config(struct iwl_priv *priv)
}

static struct iwl_sensitivity_ranges iwl6000_sensitivity = {
.min_nrg_cck = 97,
.min_nrg_cck = 110,
.max_nrg_cck = 0, /* not used, set to 0 */
.auto_corr_min_ofdm = 80,
.auto_corr_min_ofdm_mrc = 128,
Expand All @@ -129,11 +129,11 @@ static struct iwl_sensitivity_ranges iwl6000_sensitivity = {
.auto_corr_max_cck = 175,
.auto_corr_min_cck_mrc = 160,
.auto_corr_max_cck_mrc = 310,
.nrg_th_cck = 97,
.nrg_th_ofdm = 100,
.nrg_th_cck = 110,
.nrg_th_ofdm = 110,

.barker_corr_th_min = 190,
.barker_corr_th_min_mrc = 390,
.barker_corr_th_min_mrc = 336,
.nrg_th_cca = 62,
};

Expand Down

0 comments on commit e7515ba

Please sign in to comment.