[PATCH mt76 v2 1/3] dt-bindings: net: wireless: mt76: Document power-limits country property
Sven Eckelmann
se at simonwunderlich.de
Tue Oct 7 00:56:58 PDT 2025
On Monday, 6 October 2025 22:48:15 CEST Johannes Berg wrote:
> On Mon, 2025-10-06 at 15:45 -0500, Rob Herring wrote:
> >
> > > + country:
> > > + $ref: /schemas/types.yaml#/definitions/string
> > > + description:
> > > + ISO 3166-1 alpha-2 country code for power limits
> >
> > This would be constrained to something like this?:
> >
> > pattern: '^[A-Z]{2}$'
>
> There's a "00" special case for "world roaming", so maybe that would
> have to be '^([A-Z]{2}|00)$'? Not sure you'd ever want to specify that
> though. We also use '99' internally for even more special cases, but I'm
> pretty sure that shouldn't be specified externally.
Good point. I would say that 00 is already handled by the "fallback" limit
code. If it finds neither a country nor a regdomain, it just marks this entry
as "fallback".
Regards,
Sven
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 228 bytes
Desc: This is a digitally signed message part.
URL: <http://lists.infradead.org/pipermail/linux-arm-kernel/attachments/20251007/92fb7e34/attachment.sig>
More information about the linux-arm-kernel
mailing list