mirror of
https://github.com/outbackdingo/mt76.git
synced 2026-10-24 13:26:48 +00:00
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:
committed by
Felix Fietkau
parent
f656567eff
commit
36c59c31bf
@@ -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,
|
||||
|
||||
Reference in New Issue
Block a user