[PATCH mt76 4/6] wifi: mt76: mt7996: adjust timeout value for boot-up calibration commands
Lorenzo Bianconi
lorenzo at kernel.org
Thu Mar 12 03:43:16 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.
I guess we are missing a Fixes tag here.
Regards,
Lorenzo
>
> 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
>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 228 bytes
Desc: not available
URL: <http://lists.infradead.org/pipermail/linux-mediatek/attachments/20260312/b0666e12/attachment.sig>
More information about the Linux-mediatek
mailing list