Re: [PATCH] wifi: mwifiex: ignore ROM regulatory hint on WRT3200ACM/WRT32x

From: Jeff Chen

Date: Wed Jul 29 2026 - 22:31:50 EST


On Tue, Jul 28, 2026 at 01:35:36 PM +0300, Georgi Valkov wrote:
> WRT3200ACM and WRT32x routers always report a fixed US regulatory domain
> from the mwifiex ROM, which conflicts with the platform regulatory
> configuration on units sold outside the US market. For example:
> - phy0 mwlwifi 5 GHz, hard-coded region 98 EU mapped to FR
> - phy1 mwlwifi 2.4 GHz, hard-coded region 98 EU mapped to FR
> - phy2 mwifiex 2.4 and 5 GHz, hard-coded region US

Hi Georgi,

Thanks for the patch. I have a question about these compatible strings:

> if (country_code &&
> + !of_machine_is_compatible("linksys,wrt3200acm") &&
> + !of_machine_is_compatible("linksys,wrt32x") &&

I checked the mainline kernel source, but these names are not found
in the DTS files under arch/arm/boot/dts/marvell/. Instead, mainline uses
"linksys,rango" and "linksys,venom".

As a result, this machine check will always fail on a pure mainline kernel,
making the quirk ineffective.

Jeff