mirror of
https://github.com/outbackdingo/mt76.git
synced 2026-10-24 13:26:48 +00:00
mt7603: skip efuse tx power data for mt7628
Sync with vendor driver behavior Signed-off-by: Felix Fietkau <[email protected]>
This commit is contained in:
+3
-3
@@ -106,14 +106,14 @@ mt7603_apply_cal_free_data(struct mt7603_dev *dev, u8 *efuse)
|
||||
{
|
||||
static const u8 cal_free_bytes[] = {
|
||||
MT_EE_TEMP_SENSOR_CAL,
|
||||
MT_EE_TX_POWER_1_START_2G,
|
||||
MT_EE_TX_POWER_1_START_2G + 1,
|
||||
MT_EE_CP_FT_VERSION,
|
||||
MT_EE_XTAL_FREQ_OFFSET,
|
||||
MT_EE_XTAL_WF_RFCAL,
|
||||
/* Skip for MT7628 */
|
||||
MT_EE_TX_POWER_0_START_2G,
|
||||
MT_EE_TX_POWER_0_START_2G + 1,
|
||||
MT_EE_TX_POWER_1_START_2G,
|
||||
MT_EE_TX_POWER_1_START_2G + 1,
|
||||
};
|
||||
u8 *eeprom = dev->mt76.eeprom.data;
|
||||
int n = ARRAY_SIZE(cal_free_bytes);
|
||||
@@ -123,7 +123,7 @@ mt7603_apply_cal_free_data(struct mt7603_dev *dev, u8 *efuse)
|
||||
return;
|
||||
|
||||
if (is_mt7628(dev))
|
||||
n -= 2;
|
||||
n -= 4;
|
||||
|
||||
for (i = 0; i < n; i++) {
|
||||
int offset = cal_free_bytes[i];
|
||||
|
||||
Reference in New Issue
Block a user