Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(241)

Unified Diff: chromeos/compat-wireless/drivers/net/wireless/ath/ath9k/ar9003_calib.c

Issue 5990016: ath9k: AR9380 PAPRD changes to improve tx performance (Closed) Base URL: ssh://git@gitrw.chromium.org:9222/kernel.git@master
Patch Set: Created 9 years, 12 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | chromeos/compat-wireless/drivers/net/wireless/ath/ath9k/ar9003_eeprom.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chromeos/compat-wireless/drivers/net/wireless/ath/ath9k/ar9003_calib.c
diff --git a/chromeos/compat-wireless/drivers/net/wireless/ath/ath9k/ar9003_calib.c b/chromeos/compat-wireless/drivers/net/wireless/ath/ath9k/ar9003_calib.c
index c36734bde44410d16b3ee7fc0c0c26cc9aff2411..d45d88108a2f7bcc565bf1f7d672273881b4e371 100644
--- a/chromeos/compat-wireless/drivers/net/wireless/ath/ath9k/ar9003_calib.c
+++ b/chromeos/compat-wireless/drivers/net/wireless/ath/ath9k/ar9003_calib.c
@@ -634,11 +634,6 @@ static void ar9003_hw_tx_iq_cal(struct ath_hw *ah)
AR_PHY_TX_IQCAL_CORR_COEFF_01_B1,
AR_PHY_TX_IQCAL_CORR_COEFF_01_B2,
};
- const u32 rx_corr[AR9300_MAX_CHAINS] = {
- AR_PHY_RX_IQCAL_CORR_B0,
- AR_PHY_RX_IQCAL_CORR_B1,
- AR_PHY_RX_IQCAL_CORR_B2,
- };
const u_int32_t chan_info_tab[] = {
AR_PHY_CHAN_INFO_TAB_0,
AR_PHY_CHAN_INFO_TAB_1,
@@ -716,18 +711,10 @@ static void ar9003_hw_tx_iq_cal(struct ath_hw *ah)
REG_RMW_FIELD(ah, tx_corr_coeff[i],
AR_PHY_TX_IQCAL_CORR_COEFF_01_COEFF_TABLE,
iqc_coeff[0]);
- REG_RMW_FIELD(ah, rx_corr[i],
- AR_PHY_RX_IQCAL_CORR_LOOPBACK_IQCORR_Q_Q_COFF,
- iqc_coeff[1] >> 7);
- REG_RMW_FIELD(ah, rx_corr[i],
- AR_PHY_RX_IQCAL_CORR_LOOPBACK_IQCORR_Q_I_COFF,
- iqc_coeff[1]);
}
REG_RMW_FIELD(ah, AR_PHY_TX_IQCAL_CONTROL_3,
AR_PHY_TX_IQCAL_CONTROL_3_IQCORR_EN, 0x1);
- REG_RMW_FIELD(ah, AR_PHY_RX_IQCAL_CORR_B0,
- AR_PHY_RX_IQCAL_CORR_B0_LOOPBACK_IQCORR_EN, 0x1);
return;
« no previous file with comments | « no previous file | chromeos/compat-wireless/drivers/net/wireless/ath/ath9k/ar9003_eeprom.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698