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:Leon Yen <leon.yen@mediatek.com> Signed-off-by:
Ming Yen Hsieh <mingyen.hsieh@mediatek.com> Link: https://patch.msgid.link/20240916060157.10157-1-mingyen.hsieh@mediatek.com Signed-off-by:
Felix 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:
Douglas Anderson <dianders@chromium.org> Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/third_party/kernel/+/5937571 Reviewed-by:
Hsin-Yi Wang <hsinyi@chromium.org> Reviewed-by:
Sean Paul <sean@poorly.run> Reviewed-by:
David Ruth <druth@chromium.org> Signed-off-by:
Hubert Mazur <hmazur@google.com> Signed-off-by:
Tomasz Nowicki <tnowicki@google.com>
Loading
Please sign in to comment