diff options
author | Tomas Winkler <tomas.winkler@intel.com> | 2008-12-01 19:32:19 -0500 |
---|---|---|
committer | John W. Linville <linville@tuxdriver.com> | 2008-12-05 09:35:48 -0500 |
commit | 819500c5892aeeed079d3ea1671df40f2dd1d417 (patch) | |
tree | a06bde048f3c925fb5d639a86b7b538889cfb427 /drivers/net/wireless/iwlwifi/iwl-5000.c | |
parent | 7100e924661cc23609de8e7ab9fc3a13e0173891 (diff) |
iwlwifi: 5150 enable DC calibration
This patch enables DC calibration for 5150
Signed-off-by: Tomas Winkler <tomas.winkler@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 | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/drivers/net/wireless/iwlwifi/iwl-5000.c b/drivers/net/wireless/iwlwifi/iwl-5000.c index 8f92ab0fa378..c1e7a4264086 100644 --- a/drivers/net/wireless/iwlwifi/iwl-5000.c +++ b/drivers/net/wireless/iwlwifi/iwl-5000.c | |||
@@ -477,6 +477,9 @@ static void iwl5000_rx_calib_result(struct iwl_priv *priv, | |||
477 | * uCode. iwl_send_calib_results sends them in a row according to their | 477 | * uCode. iwl_send_calib_results sends them in a row according to their |
478 | * index. We sort them here */ | 478 | * index. We sort them here */ |
479 | switch (hdr->op_code) { | 479 | switch (hdr->op_code) { |
480 | case IWL_PHY_CALIBRATE_DC_CMD: | ||
481 | index = IWL_CALIB_DC; | ||
482 | break; | ||
480 | case IWL_PHY_CALIBRATE_LO_CMD: | 483 | case IWL_PHY_CALIBRATE_LO_CMD: |
481 | index = IWL_CALIB_LO; | 484 | index = IWL_CALIB_LO; |
482 | break; | 485 | break; |
@@ -873,7 +876,9 @@ static int iwl5000_hw_set_hw_params(struct iwl_priv *priv) | |||
873 | BIT(IWL_CALIB_BASE_BAND); | 876 | BIT(IWL_CALIB_BASE_BAND); |
874 | break; | 877 | break; |
875 | case CSR_HW_REV_TYPE_5150: | 878 | case CSR_HW_REV_TYPE_5150: |
876 | priv->hw_params.calib_init_cfg = 0; | 879 | priv->hw_params.calib_init_cfg = |
880 | BIT(IWL_CALIB_DC); | ||
881 | |||
877 | break; | 882 | break; |
878 | } | 883 | } |
879 | 884 | ||