From 7dfc0f77fa59b170d6cff30647a21e502663342c Mon Sep 17 00:00:00 2001 From: Felix Fietkau Date: Wed, 18 Mar 2015 13:56:42 +0100 Subject: [PATCH] phy: add tx shaping calibration Signed-off-by: Felix Fietkau --- mcu.h | 2 ++ phy.c | 1 + 2 files changed, 3 insertions(+) diff --git a/mcu.h b/mcu.h index 2cbea8b9..21d643e3 100644 --- a/mcu.h +++ b/mcu.h @@ -120,6 +120,8 @@ enum mcu_calibration { MCU_CAL_DPD, MCU_CAL_RXIQC_FI, MCU_CAL_RXIQC_FD, + MCU_CAL_PWRON, + MCU_CAL_TX_SHAPING, }; enum mt76_mcu_cr_mode { diff --git a/phy.c b/phy.c index 947cea37..60c2296c 100644 --- a/phy.c +++ b/phy.c @@ -228,6 +228,7 @@ mt76_phy_channel_calibrate(struct mt76_dev *dev, bool mac_stopped) mt76_mcu_calibrate(dev, MCU_CAL_TXIQ, is_5ghz); mt76_mcu_calibrate(dev, MCU_CAL_RXIQC_FI, is_5ghz); mt76_mcu_calibrate(dev, MCU_CAL_TEMP_SENSOR, 0); + mt76_mcu_calibrate(dev, MCU_CAL_TX_SHAPING, 0); if (!mac_stopped) mt76_mac_resume(dev);