Re: [PATCH v8 3/3] ARM: dts: armada: WRT3200ACM: add marvell,invalid-reg-hint-in-rom
George Valkov <[email protected]>
| Newsgroups | org.kernel.vger.linux-wireless,org.infradead.lists.linux-arm-kernel,org.kernel.vger.linux-devicetree,org.kernel.vger.linux-kernel,org.kernel.vger.stable |
|---|---|
| Message-ID | <CADOrJmZ8u8Gj0dA=CqzUwxM32uN5ZOJ_GdaXJNi1ttYpp4FvrA@mail.gmail.com> |
On Thu, 27 Aug 2026 at 21:05, Francesco Dolcini <[email protected]> wrote: > > > > On 27 August 2026 20:02:27 CEST, George Valkov <[email protected]> wrote: > >On Thu, 27 Aug 2026 at 20:40, Francesco Dolcini <[email protected]> wrote: > >> > >> > >> > >> On 27 August 2026 19:19:37 CEST, Georgi Valkov <[email protected]> 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 > >> > > >> >When the system boots, it detects a conflict between the user selected > >> >region and the radios, e.g. BG FR US, and applies extreme restrictions, > >> >preventing phy0 from starting on any DFS channel. phy2 works. > >> > > >> >Add node wifi@1 with a flag marvell,invalid-reg-hint-in-rom to the > >> >WRT3200ACM device-tree, which signals mwifiex that its regulatory > >> >hint from ROM conflicts with the platform and should be ignored, so the > >> >platform regulatory domain can be used. This does not allow the user to > >> >change the regulatory config of any radio. It only allows phy0 to start > >> >and operate according to its certified configuration. All radios in > >> >WRT3200ACM/WRT32x are locked to the hard-coded configuration for which > >> >they are certified. > >> > > >> >On WRT3200ACM, the platform configuration is stored on the devinfo mtd3 > >> >partition, which is read-only: cert_region=EU modelNumber=WRT3200ACM-EU > >> > > >> >The Linux kernel sources do not have support for WRT32x. An equivalent > >> >patch for these routers has to be sent to OpenWrt. > >> > > >> >[1] https://github.com/kaloz/mwlwifi/issues/173#issuecomment-307879699 > >> >[2] https://github.com/openwrt/openwrt/issues/9956 > >> > > >> >Cc: [email protected] > >> > >> This whole series is not material for stable. Please drop thia tag from all the patches. > > > >Dropped CC: stable from all patches, and sent v9: > >https://lore.kernel.org/linux-wireless/[email protected]/T/#t > > Please, you are not supposed to send a new patch series revision every time you get a single comment and you did send the previous version just 2 hours ago. > > It does not work like that, you just create additional overhead. > > I assume this is all documented, please look into the Documentation directory. ok, I will make sure to wait for a few days in the future. I apologise! Georgi Valkov