[PATCH 2/2] wifi: mt76: connac: correct rate power limit logic
Felix Fietkau
nbd at nbd.name
Sat Nov 21 00:14:08 PST 2026
On 20.11.26 05:40, Shiji Yang wrote:
> When mac80211 sets the power to 0, it does not make sense to change
> the tx power to the maximum value. The original purpose should be to
> limit the tx power to not exceed the hardware limit.
>
> Fixes: 8225816d2974 ("mt76: mt7921: limit txpower according to userlevel power")
> Cc: stable at vger.kernel.org
> Signed-off-by: Shiji Yang <yangshiji66 at outlook.com>
I think in some cases (e.g. on mt792x), hw->conf.power_level is always
0, so this might cause regressions there.
- Felix
More information about the Linux-mediatek
mailing list