Re: [PATCH 2/2] wifi: mt76: connac: correct rate power limit logic

From: Felix Fietkau

Date: Sat Nov 21 2026 - 03:14:24 EST


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@xxxxxxxxxxxxxxx
Signed-off-by: Shiji Yang <yangshiji66@xxxxxxxxxxx>
I think in some cases (e.g. on mt792x), hw->conf.power_level is always 0, so this might cause regressions there.

- Felix