Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 4f833fad authored by Lorenzo Bianconi's avatar Lorenzo Bianconi Committed by Felix Fietkau
Browse files

mt76x2u: phy: add TX_SHAPING calibration



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: default avatarLorenzo Bianconi <lorenzo.bianconi@redhat.com>
Signed-off-by: default avatarFelix Fietkau <nbd@nbd.name>
parent 8f2fbff5
Loading
Loading
Loading
Loading
+1 −0
Original line number Original line Diff line number Diff line
@@ -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_TXIQ, is_5ghz, false);
	mt76x02_mcu_calibrate(dev, MCU_CAL_RXIQC_FI, 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_TEMP_SENSOR, 0, false);
	mt76x02_mcu_calibrate(dev, MCU_CAL_TX_SHAPING, 0, false);


	mt76x2u_mac_resume(dev);
	mt76x2u_mac_resume(dev);
}
}