From: "Michael Shih (史君仲)" <Michael.Shih@mediatek.com>
To: "nbd@nbd.name" <nbd@nbd.name>, "lorenzo@kernel.org" <lorenzo@kernel.org>
Cc: "Eason Lai (賴易聖)" <Eason.Lai@mediatek.com>,
"Kun Wu (吳謹至)" <kun.wu@mediatek.com>,
"Ryder Lee" <Ryder.Lee@mediatek.com>,
"Quan Zhou (周全)" <Quan.Zhou@mediatek.com>,
"Deren Wu (武德仁)" <Deren.Wu@mediatek.com>,
"Litien Chang (張立典)" <Litien.Chang@mediatek.com>,
"linux-wireless@vger.kernel.org" <linux-wireless@vger.kernel.org>,
"Sean Wang" <Sean.Wang@mediatek.com>,
"Leon Yen (顏良儒)" <Leon.Yen@mediatek.com>,
"linux-mediatek@lists.infradead.org"
<linux-mediatek@lists.infradead.org>,
"JB Tsai (蔡志彬)" <Jb.Tsai@mediatek.com>
Subject: Re: [PATCH v3] wifi: mt76: mt7928: Add MTK OUI support for nl80211 (ALOS support for wpa_supplicant to get MTK OUI)
Date: Mon, 23 Nov 2026 23:41:41 +0000 [thread overview]
Message-ID: <bfdbcb0071e680bda8c7de5d73f813cc92c618d3.camel@mediatek.com> (raw)
In-Reply-To: <2712203a-9b38-476e-80fa-b0c8f222e01c@nbd.name>
Hi Felix,
Thanks for the review.
The handler itself is minimal (returns chip revision and the MTK OUI),
but the point of this patch isn't the sub-command — it's to advertise
the MTK OUI on the wiphy so that wpa_supplicant (and other user space)
can detect an MTK driver via the standard NL80211_ATTR_VENDOR_DATA
list, the same way it already does for QCA, Broadcom and Intel in
driver_nl80211_capa.c.
There is no standard nl80211 attribute that serves this bootstrap role
— vendor-command OUI discovery is the mechanism cfg80211 provides for
it, and mac80211_hwsim, brcmfmac and iwlwifi/mvm all follow the same
pattern in-tree. This patch simply establishes the same entry point for
MTK drivers.
Best regards,
Michael.
> Hi Michael,
>
> What functionality sits behind this call, and is it something that
> might
> be worth implementing through a proper nl80211 API?
>
> Thanks,
>
> - Felix
>
> On 23.11.26 00:49, Michael Shih (史君仲) wrote:
> > Hi Felix,
> > This is a driver patch that supports advertising MediaTek OUI
> > vendor
> > command in the mt76 driver for WPA supplicant.
> > This support feature will only be triggered intentionally.
> >
> > Therefore, I have added build flag in Kconfig so that it will not
> > be
> > enabled in upstream if not required, it is supposed to be used in
> > Android platforms.
> >
> > I hope this will clarify your question.
> >
> > Thanks,
> > Michael.
> >
> > > Hi,
> > >
> > > On 18.11.26 02:17, Michael Shih wrote:
> > > > Customer request MTK to support OUI for wpa supplicant.
> > > >
> > > > Signed-off-by: Michael Shih <michael.shih@mediatek.com>
> > > What is this supposed to be used for?
> > >
> > > Thanks,
> > >
> > > - Felix
>
prev parent reply other threads:[~2026-11-23 23:41 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-10-30 3:17 [PATCH v1] wifi: mt76: mt792x: Add MTK OUI support for wpa supplicant Eason Lai
2026-11-18 1:03 ` [PATCH v2] wifi: mt76: mt7928: Add MTK OUI support for nl80211 (ALOS support for wpa_supplicant to get MTK OUI) Michael Shih
2026-11-18 1:17 ` [PATCH v3] " Michael Shih
2026-11-20 8:24 ` Felix Fietkau
2026-11-22 23:49 ` Michael Shih (史君仲)
2026-11-23 8:46 ` Felix Fietkau
2026-11-23 23:41 ` Michael Shih (史君仲) [this message]
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=bfdbcb0071e680bda8c7de5d73f813cc92c618d3.camel@mediatek.com \
--to=michael.shih@mediatek.com \
--cc=Deren.Wu@mediatek.com \
--cc=Eason.Lai@mediatek.com \
--cc=Jb.Tsai@mediatek.com \
--cc=Leon.Yen@mediatek.com \
--cc=Litien.Chang@mediatek.com \
--cc=Quan.Zhou@mediatek.com \
--cc=Ryder.Lee@mediatek.com \
--cc=Sean.Wang@mediatek.com \
--cc=kun.wu@mediatek.com \
--cc=linux-mediatek@lists.infradead.org \
--cc=linux-wireless@vger.kernel.org \
--cc=lorenzo@kernel.org \
--cc=nbd@nbd.name \
/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