From: Krzysztof Kozlowski <krzk@kernel.org>
To: George Valkov <gvalkov@gmail.com>
Cc: briannorris@chromium.org, johannes@sipsolutions.net,
andrew@lunn.ch, francesco@dolcini.it, johannes.berg@intel.com,
kees@kernel.org, miriam.rachel.korenblit@intel.com,
wenst@chromium.org, rafael.beims@toradex.com,
avraham.stern@intel.com, error27@gmail.com,
s.kerkmann@pengutronix.de, gregory.clement@bootlin.com,
sebastian.hesselbarth@gmail.com, robh@kernel.org,
krzk+dt@kernel.org, conor+dt@kernel.org, Frank.Li@nxp.com,
chunfan.chen@gmail.com, linux-arm-kernel@lists.infradead.org,
linux-wireless@vger.kernel.org, linux-kernel@vger.kernel.org,
devicetree@vger.kernel.org, stable@vger.kernel.org
Subject: Re: [PATCH 1/3] dt-bindings: net: wireless: add flag marvell,ignore-regulatory-hint
Date: Mon, 17 Aug 2026 13:06:48 +0200 [thread overview]
Message-ID: <9b3b6f29-35a8-4b79-a002-bd0aac5dbee4@kernel.org> (raw)
In-Reply-To: <CADOrJmb3uJPpYR481rB-CnL0A9B_5PQ683XP+Gdis47uihqMBw@mail.gmail.com>
On 17/08/2026 12:43, George Valkov wrote:
> On Mon, 17 Aug 2026 at 11:54, Krzysztof Kozlowski <krzk@kernel.org> wrote:
>>
>> On Fri, Aug 14, 2026 at 03:50:23PM +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
>>
>> v1 as reply to v3 in big thread. How tools can parse that?
>
> Hello Krzysztof,
> I apologise, I forgot to add the v4 tag to the subject.
> I have documented the changes between each revision.
> I saw my mistake after sending the mail. But I wasn't sure
> what to do? I will make sure to add v5 to my next revision.
>
>> Does b4 diff work?
>>
>> b4 diff '20260814125025.90522-1-gvalkov@gmail.com'
>
> What is b4?
Tool used by maintainers and contributors to handle/send patches. See
korg docs (or just google "What is b4 Linux kernel").
>
>
>>> 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 use of 5 GHz and DFS channels. This also affects phy0.
>>>
>>> Add a device-tree flag, which allows affected platforms to ignore
>>> an incorrect regulatory hint from ROM, so userspace can set the
>>> correct platform regulatory domain.
>>>
>>> [1] https://github.com/kaloz/mwlwifi/issues/173#issuecomment-307879699
>>> [2] https://github.com/openwrt/openwrt/issues/9956
>>>
>>> Tested-on: WRT3200ACM, OpenWrt
>>
>> Not a valid tag, drop.
>
> I believe the tag is helpful because it describes that my changes
> have been tested on a certain device and platform. It's a common
> practice in OpenWrt contributions. My last two accepted patches
> have this tag. Should I still remove it?
Drop the tag everywhere and instead on the patches which were possible
to be tested mention how did you test it.
>
>
>> And you cannot even do that, otherwise explain me
>> how did your device execute THIS (exactly THIS) code?
>
> I am not used to your terminology and this gets me completely confused.
> You have not quoted any particular code change, so I'm not sure what
> you are referring to. Here is a summary of the patch series:
Tested means executing or parsing or using the code on the device under
test. How can you execute/parse/use this code on the device?
>
> Patch 1 documents a new flag: marvell,ignore-regulatory-hint.
> Patch 2 adds a device-tree node with the radio and the flag.
> Patch 3 skips the regulatory_hint() call when the flag is set.
I can read your patchsets and above does not proof how can you test binding.
>
>>> Cc: stable@vger.kernel.org
>>
>> Drop, what is the bug being fixed here?
>
Best regards,
Krzysztof
next prev parent reply other threads:[~2026-08-17 11:07 UTC|newest]
Thread overview: 17+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <anWWr80yAcOQaVVS@nxpwireless-Inspiron-14-Plus-7440>
2026-08-07 18:21 ` [PATCH v3 1/2] wifi: mwifiex: ignore ROM regulatory hint on WRT3200ACM/WRT32x Georgi Valkov
2026-08-07 18:21 ` [PATCH v3 2/2] ARM: dts: armada: WRT3200ACM: add marvell,ignore-regulatory-hint Georgi Valkov
2026-08-07 18:43 ` sashiko-bot
2026-08-07 18:37 ` [PATCH v3 1/2] wifi: mwifiex: ignore ROM regulatory hint on WRT3200ACM/WRT32x sashiko-bot
2026-08-07 18:39 ` Johannes Berg
2026-08-07 19:49 ` George Valkov
2026-08-10 18:30 ` Brian Norris
2026-08-14 12:50 ` [PATCH 1/3] dt-bindings: net: wireless: add flag marvell,ignore-regulatory-hint Georgi Valkov
2026-08-14 12:50 ` [PATCH 2/3] ARM: dts: armada: WRT3200ACM: add marvell,ignore-regulatory-hint Georgi Valkov
2026-08-14 13:00 ` sashiko-bot
2026-08-14 12:50 ` [PATCH 3/3] wifi: mwifiex: add dt flag to ignore incorrect ROM regulatory hint Georgi Valkov
2026-08-17 8:54 ` [PATCH 1/3] dt-bindings: net: wireless: add flag marvell,ignore-regulatory-hint Krzysztof Kozlowski
2026-08-17 10:43 ` George Valkov
2026-08-17 11:06 ` Krzysztof Kozlowski [this message]
2026-08-17 13:20 ` George Valkov
2026-08-17 13:24 ` Krzysztof Kozlowski
2026-08-17 13:48 ` George Valkov
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=9b3b6f29-35a8-4b79-a002-bd0aac5dbee4@kernel.org \
--to=krzk@kernel.org \
--cc=Frank.Li@nxp.com \
--cc=andrew@lunn.ch \
--cc=avraham.stern@intel.com \
--cc=briannorris@chromium.org \
--cc=chunfan.chen@gmail.com \
--cc=conor+dt@kernel.org \
--cc=devicetree@vger.kernel.org \
--cc=error27@gmail.com \
--cc=francesco@dolcini.it \
--cc=gregory.clement@bootlin.com \
--cc=gvalkov@gmail.com \
--cc=johannes.berg@intel.com \
--cc=johannes@sipsolutions.net \
--cc=kees@kernel.org \
--cc=krzk+dt@kernel.org \
--cc=linux-arm-kernel@lists.infradead.org \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-wireless@vger.kernel.org \
--cc=miriam.rachel.korenblit@intel.com \
--cc=rafael.beims@toradex.com \
--cc=robh@kernel.org \
--cc=s.kerkmann@pengutronix.de \
--cc=sebastian.hesselbarth@gmail.com \
--cc=stable@vger.kernel.org \
--cc=wenst@chromium.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox