]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
dt-bindings: net: wireless: mt76: Document power-limits country property
authorSven Eckelmann (Plasma Cloud) <se@simonwunderlich.de>
Tue, 7 Oct 2025 08:11:14 +0000 (10:11 +0200)
committerFelix Fietkau <nbd@nbd.name>
Mon, 24 Nov 2025 13:37:53 +0000 (14:37 +0100)
commit9a04a69b68ad10dee793c887b367760651777c42
tree575e7182bd17654b6f159a35704a0a4f6f10969d
parent38b845e1f9e810869b0a0b69f202b877b7b7fb12
dt-bindings: net: wireless: mt76: Document power-limits country property

The commit 22b980badc0f ("mt76: add functions for parsing rate power limits
from DT") added filtering of the power limits based on two properties:

* regdomain
* country

If either the country or the regdomain matches, the power limits are
applied and the search is aborted. If none of the two is defined for the
power limit, it is a global (or "fallback") power limit. The last
"fallback" power limit in the list will be returned when not matching
regdomain or country was found.

The idea is here to allow to specify "overwriting" country limits in front
of the list - just in case a regdomain is shared but a country has
additional limitations.

But this property was forgotten to be defined in commit 2de6ccebe0e7
("dt-bindings:net:wireless:mediatek,mt76: introduce power-limits node").

Signed-off-by: Sven Eckelmann (Plasma Cloud) <se@simonwunderlich.de>
Reviewed-by: Rob Herring (Arm) <robh@kernel.org>
Link: https://patch.msgid.link/20251007-backoff-table-support-v3-1-fd6e2684988f@simonwunderlich.de
Signed-off-by: Felix Fietkau <nbd@nbd.name>
Documentation/devicetree/bindings/net/wireless/mediatek,mt76.yaml