[PATCH mt76 4/6] wifi: mt76: mt7996: adjust timeout value for boot-up calibration commands
Shayne Chen
shayne.chen at mediatek.com
Thu Mar 12 02:57:22 PDT 2026
From: Rex Lu <rex.lu at mediatek.com>
Align the vendor driver by adjusting the timeout values for the
MCU_UNI_CMD_EFUSE_CTRL and MCU_UNI_CMD_EXT_EEPROM_CTRL commands.
Without this adjustment, false positive command timeout errors may occur,
especially on some iPA variants.
Signed-off-by: Rex Lu <rex.lu at mediatek.com>
Signed-off-by: Shayne Chen <shayne.chen at mediatek.com>
---
drivers/net/wireless/mediatek/mt76/mt7996/mcu.c | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/drivers/net/wireless/mediatek/mt76/mt7996/mcu.c b/drivers/net/wireless/mediatek/mt76/mt7996/mcu.c
index bdb9e30c54c1..2a9c59d15894 100644
--- a/drivers/net/wireless/mediatek/mt76/mt7996/mcu.c
+++ b/drivers/net/wireless/mediatek/mt76/mt7996/mcu.c
@@ -271,7 +271,8 @@ mt7996_mcu_set_timeout(struct mt76_dev *mdev, int cmd)
mdev->mcu.timeout = 2 * HZ;
return;
case MCU_UNI_CMD_EFUSE_CTRL:
- mdev->mcu.timeout = 20 * HZ;
+ case MCU_UNI_CMD_EXT_EEPROM_CTRL:
+ mdev->mcu.timeout = 30 * HZ;
return;
default:
break;
--
2.51.0
More information about the Linux-mediatek
mailing list