mt76x0: phy: introduce tssi calibration support

Run mt76x0 tssi calibration process if enabled in eeprom data.
Perform calibration procedure every 4s

Signed-off-by: Lorenzo Bianconi <[email protected]>
This commit is contained in:
Lorenzo Bianconi
2018-11-01 18:04:15 +01:00
committed by Felix Fietkau
parent bd568d9b39
commit 57b441dcae
3 changed files with 357 additions and 3 deletions
+3
View File
@@ -57,6 +57,9 @@ struct mt76x02_calibration {
bool tssi_comp_pending;
bool dpd_cal_done;
bool channel_cal_done;
int tssi_target;
s8 tssi_dc;
};
struct mt76x02_dev {