aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net
diff options
context:
space:
mode:
authorVasanthakumar Thiagarajan <vasanth@atheros.com>2010-12-15 10:30:48 -0500
committerJohn W. Linville <linville@tuxdriver.com>2010-12-16 15:22:30 -0500
commitd8a8440e3f1f0cdd23074c6d2d8cbbde204a4374 (patch)
tree90dc968bf8336531e64a86e38e1167179dece752 /drivers/net
parent7e68b746681289c00e8fd818fdd0144c6896d425 (diff)
ath9k_hw: Remove unnecessary Rx IQ cal register configuration in ar9003_hw_tx_iq_cal()
Signed-off-by: Vasanthakumar Thiagarajan <vasanth@atheros.com> Signed-off-by: John W. Linville <linville@tuxdriver.com>
Diffstat (limited to 'drivers/net')
-rw-r--r--drivers/net/wireless/ath/ath9k/ar9003_calib.c13
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