wifi: mt76: mt7996: apply calibration-free data from OTP

Before sending the current EEPROM data to the firmware, read the
calibration-free data (FT data) from the efuse and merge it with
the existing EEPROM data.

Co-developed-by: Shayne Chen <[email protected]>
Signed-off-by: Shayne Chen <[email protected]>
Signed-off-by: StanleyYP Wang <[email protected]>
Link: https://patch.msgid.link/[email protected]
Signed-off-by: Felix Fietkau <[email protected]>
This commit is contained in:
StanleyYP Wang
2026-02-21 08:56:45 +00:00
committed by Felix Fietkau
parent f656567eff
commit 36c59c31bf
2 changed files with 157 additions and 19 deletions
+5
View File
@@ -184,6 +184,11 @@ enum mt7996_eeprom_mode {
EEPROM_MODE_EXT,
};
#define MT7996_EFUSE_BASE_OFFS_ADIE0 0x400
#define MT7996_EFUSE_BASE_OFFS_ADIE1 0x1e00
#define MT7996_EFUSE_BASE_OFFS_ADIE2 0x1200
#define MT7992_EFUSE_BASE_OFFS_ADIE1 0x1200
enum mt7996_txq_id {
MT7996_TXQ_FWDL = 16,
MT7996_TXQ_MCU_WM,