diff options
author | Tomas Winkler <tomas.winkler@intel.com> | 2008-11-19 18:32:24 -0500 |
---|---|---|
committer | John W. Linville <linville@tuxdriver.com> | 2008-11-26 09:47:37 -0500 |
commit | 201706ac0b1ab6df5343119883964ec7272844b0 (patch) | |
tree | 66fc0989e4c1a63f3ae3388bd36123295e0cb0e7 /drivers/net/wireless/iwlwifi/iwl-5000.c | |
parent | 83dde8c90522b89366e241bdbd69113f7094c249 (diff) |
iwlwifi: enable base band calibration in 5000 HW
This patch adds base band calibration support.
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 | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/drivers/net/wireless/iwlwifi/iwl-5000.c b/drivers/net/wireless/iwlwifi/iwl-5000.c index aeb69ee8706f..478c5c3674e4 100644 --- a/drivers/net/wireless/iwlwifi/iwl-5000.c +++ b/drivers/net/wireless/iwlwifi/iwl-5000.c | |||
@@ -475,6 +475,9 @@ static void iwl5000_rx_calib_result(struct iwl_priv *priv, | |||
475 | case IWL_PHY_CALIBRATE_TX_IQ_PERD_CMD: | 475 | case IWL_PHY_CALIBRATE_TX_IQ_PERD_CMD: |
476 | index = IWL_CALIB_TX_IQ_PERD; | 476 | index = IWL_CALIB_TX_IQ_PERD; |
477 | break; | 477 | break; |
478 | case IWL_PHY_CALIBRATE_BASE_BAND_CMD: | ||
479 | index = IWL_CALIB_BASE_BAND; | ||
480 | break; | ||
478 | default: | 481 | default: |
479 | IWL_ERROR("Unknown calibration notification %d\n", | 482 | IWL_ERROR("Unknown calibration notification %d\n", |
480 | hdr->op_code); | 483 | hdr->op_code); |
@@ -841,8 +844,9 @@ static int iwl5000_hw_set_hw_params(struct iwl_priv *priv) | |||
841 | priv->hw_params.calib_init_cfg = | 844 | priv->hw_params.calib_init_cfg = |
842 | BIT(IWL_CALIB_XTAL) | | 845 | BIT(IWL_CALIB_XTAL) | |
843 | BIT(IWL_CALIB_LO) | | 846 | BIT(IWL_CALIB_LO) | |
844 | BIT(IWL_CALIB_TX_IQ) | | 847 | BIT(IWL_CALIB_TX_IQ) | |
845 | BIT(IWL_CALIB_TX_IQ_PERD); | 848 | BIT(IWL_CALIB_TX_IQ_PERD) | |
849 | BIT(IWL_CALIB_BASE_BAND); | ||
846 | break; | 850 | break; |
847 | case CSR_HW_REV_TYPE_5150: | 851 | case CSR_HW_REV_TYPE_5150: |
848 | priv->hw_params.calib_init_cfg = 0; | 852 | priv->hw_params.calib_init_cfg = 0; |