Add MCU_CAL_TX_SHAPING calibration in mt76x2u_phy_channel_calibrate
routine since now mt76x2 and mt76x2u driver run the same firmware

Signed-off-by: Lorenzo Bianconi <[email protected]>
---
 drivers/net/wireless/mediatek/mt76/mt76x2/usb_phy.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/drivers/net/wireless/mediatek/mt76/mt76x2/usb_phy.c 
b/drivers/net/wireless/mediatek/mt76/mt76x2/usb_phy.c
index 8011c261c658..24e292e895b6 100644
--- a/drivers/net/wireless/mediatek/mt76/mt76x2/usb_phy.c
+++ b/drivers/net/wireless/mediatek/mt76/mt76x2/usb_phy.c
@@ -35,6 +35,7 @@ void mt76x2u_phy_channel_calibrate(struct mt76x02_dev *dev)
        mt76x02_mcu_calibrate(dev, MCU_CAL_TXIQ, is_5ghz, false);
        mt76x02_mcu_calibrate(dev, MCU_CAL_RXIQC_FI, is_5ghz, false);
        mt76x02_mcu_calibrate(dev, MCU_CAL_TEMP_SENSOR, 0, false);
+       mt76x02_mcu_calibrate(dev, MCU_CAL_TX_SHAPING, 0, false);
 
        mt76x2u_mac_resume(dev);
 }
-- 
2.17.2

Reply via email to