mt76: mt7915: disable pre-calibration support for now

It needs more testing and more bugfixes until it is ready

Signed-off-by: Felix Fietkau <[email protected]>
This commit is contained in:
Felix Fietkau
2021-05-15 09:09:22 +02:00
parent 28b162366d
commit 9d736545bb
+2 -2
View File
@@ -3450,7 +3450,7 @@ int mt7915_mcu_apply_group_cal(struct mt7915_dev *dev)
u8 idx = 0, *cal = dev->cal, *eep = dev->mt76.eeprom.data;
u32 total = MT_EE_CAL_GROUP_SIZE;
if (!(eep[MT_EE_DO_PRE_CAL] & MT_EE_WIFI_CAL_GROUP))
if (1 || !(eep[MT_EE_DO_PRE_CAL] & MT_EE_WIFI_CAL_GROUP))
return 0;
/*
@@ -3534,7 +3534,7 @@ int mt7915_mcu_apply_tx_dpd(struct mt7915_phy *phy)
u8 *cal = dev->cal, *eep = dev->mt76.eeprom.data;
int idx;
if (!(eep[MT_EE_DO_PRE_CAL] & MT_EE_WIFI_CAL_DPD))
if (1 || !(eep[MT_EE_DO_PRE_CAL] & MT_EE_WIFI_CAL_DPD))
return 0;
idx = mt7915_dpd_freq_idx(center_freq, chandef->width);