Commit 7f58c843 authored by Leon Yen's avatar Leon Yen Committed by Tomasz Nowicki
Browse files

FROMGIT: wifi: mt76: mt7921s: fix a potential firmware freeze during startup



The maximum command quota of the firmware may be exceeded because the
command to retrieve the quota setting has not been taken into account.

This patch considers not only the quota usage of the command retrieving
quota settings but also limits the total quota usage.

Signed-off-by: default avatarLeon Yen <leon.yen@mediatek.com>
Signed-off-by: default avatarMing Yen Hsieh <mingyen.hsieh@mediatek.com>
Link: https://patch.msgid.link/20240916060157.10157-1-mingyen.hsieh@mediatek.com


Signed-off-by: default avatarFelix Fietkau <nbd@nbd.name>
(cherry picked from commit 59e760d891c82536686d1749193840659a92bbd4
 https://github.com/nbd168/wireless

 mt76)

BUG=b:349064455, b:341364245, b:178754244, b:366933495
TEST=Verified on Corsola

Change-Id: Icddb339f65d971577844f05d5310df8411504e6f
Signed-off-by: default avatarDouglas Anderson <dianders@chromium.org>
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/third_party/kernel/+/5937571


Reviewed-by: default avatarHsin-Yi Wang <hsinyi@chromium.org>
Reviewed-by: default avatarSean Paul <sean@poorly.run>
Reviewed-by: default avatarDavid Ruth <druth@chromium.org>
Signed-off-by: default avatarHubert Mazur <hmazur@google.com>
Signed-off-by: default avatarTomasz Nowicki <tnowicki@google.com>
parent c603ea8a
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment