diff options
Diffstat (limited to 'drivers/net/wireless/ath/ath9k/ar9003_calib.c')
-rw-r--r-- | drivers/net/wireless/ath/ath9k/ar9003_calib.c | 13 |
1 files changed, 0 insertions, 13 deletions
diff --git a/drivers/net/wireless/ath/ath9k/ar9003_calib.c b/drivers/net/wireless/ath/ath9k/ar9003_calib.c index 7c3334bd396e..75a1c6e5195c 100644 --- a/drivers/net/wireless/ath/ath9k/ar9003_calib.c +++ b/drivers/net/wireless/ath/ath9k/ar9003_calib.c | |||
@@ -616,11 +616,6 @@ static void ar9003_hw_tx_iq_cal(struct ath_hw *ah) | |||
616 | AR_PHY_TX_IQCAL_STATUS_B1, | 616 | AR_PHY_TX_IQCAL_STATUS_B1, |
617 | AR_PHY_TX_IQCAL_STATUS_B2, | 617 | AR_PHY_TX_IQCAL_STATUS_B2, |
618 | }; | 618 | }; |
619 | static const u32 rx_corr[AR9300_MAX_CHAINS] = { | ||
620 | AR_PHY_RX_IQCAL_CORR_B0, | ||
621 | AR_PHY_RX_IQCAL_CORR_B1, | ||
622 | AR_PHY_RX_IQCAL_CORR_B2, | ||
623 | }; | ||
624 | static const u_int32_t chan_info_tab[] = { | 619 | static const u_int32_t chan_info_tab[] = { |
625 | AR_PHY_CHAN_INFO_TAB_0, | 620 | AR_PHY_CHAN_INFO_TAB_0, |
626 | AR_PHY_CHAN_INFO_TAB_1, | 621 | AR_PHY_CHAN_INFO_TAB_1, |
@@ -703,18 +698,10 @@ static void ar9003_hw_tx_iq_cal(struct ath_hw *ah) | |||
703 | REG_RMW_FIELD(ah, tx_corr_coeff[i], | 698 | REG_RMW_FIELD(ah, tx_corr_coeff[i], |
704 | AR_PHY_TX_IQCAL_CORR_COEFF_01_COEFF_TABLE, | 699 | AR_PHY_TX_IQCAL_CORR_COEFF_01_COEFF_TABLE, |
705 | iqc_coeff[0]); | 700 | iqc_coeff[0]); |
706 | REG_RMW_FIELD(ah, rx_corr[i], | ||
707 | AR_PHY_RX_IQCAL_CORR_LOOPBACK_IQCORR_Q_Q_COFF, | ||
708 | iqc_coeff[1] >> 7); | ||
709 | REG_RMW_FIELD(ah, rx_corr[i], | ||
710 | AR_PHY_RX_IQCAL_CORR_LOOPBACK_IQCORR_Q_I_COFF, | ||
711 | iqc_coeff[1]); | ||
712 | } | 701 | } |
713 | 702 | ||
714 | REG_RMW_FIELD(ah, AR_PHY_TX_IQCAL_CONTROL_3, | 703 | REG_RMW_FIELD(ah, AR_PHY_TX_IQCAL_CONTROL_3, |
715 | AR_PHY_TX_IQCAL_CONTROL_3_IQCORR_EN, 0x1); | 704 | AR_PHY_TX_IQCAL_CONTROL_3_IQCORR_EN, 0x1); |
716 | REG_RMW_FIELD(ah, AR_PHY_RX_IQCAL_CORR_B0, | ||
717 | AR_PHY_RX_IQCAL_CORR_B0_LOOPBACK_IQCORR_EN, 0x1); | ||
718 | 705 | ||
719 | return; | 706 | return; |
720 | 707 | ||