2024-04-22 08:36:24

by David Lin

[permalink] [raw]
Subject: RE: [EXT] [PATCH v10 0/2] wifi: mwifiex: add code to support host mlme

> From: Brian Norris <[email protected]>
> Sent: Saturday, April 20, 2024 5:42 AM
> To: David Lin <[email protected]>
> Cc: Marcel Holtmann <[email protected]>;
> [email protected]; LKML <[email protected]>; Kalle
> Valo <[email protected]>; [email protected]; Pete Hsieh
> <[email protected]>; rafael.beims <[email protected]>;
> Francesco Dolcini <[email protected]>
> Subject: Re: [EXT] [PATCH v10 0/2] wifi: mwifiex: add code to support host
> mlme
>
> Caution: This is an external email. Please take care when clicking links or
> opening attachments. When in doubt, report the message using the 'Report
> this email' button
>
>
> On Fri, Apr 19, 2024 at 04:00:17AM +0000, David Lin wrote:
> > Can you let me know what does "external_auth" mean?
>
> Look around for NL80211_CMD_EXTERNAL_AUTH. It's in nl80211.h with
> plenty of comments. (And also cfg80211_ops::cfg80211_ops,
> cfg80211_external_auth_request, ...)
>
> I've never looked at this interface before, personally. It seems to rely on
> cfg80211_ops::mgmt_tx support too; that seems to exist in mwifiex,
> although I have no clue the quality of support there.
>
> Brian

Thanks for your information. If "external_auth" means only offloading SAE
authentication to SME of wpa_supplicant and hostapd (driver should hook
cfg80211_ops. external_auth() to achieve this kind of offloading).
Then it is not the same as the job done by this patch.
This patch fully leverages SME of wpa_supplicant and hostapd.

David


2024-04-23 02:30:06

by David Lin

[permalink] [raw]
Subject: RE: [EXT] [PATCH v10 0/2] wifi: mwifiex: add code to support host mlme

Hi Brian and Kalle,

Johannes agreed that cfg80211 is the correct way for the development of mwifiex
(mac80211 can't offload association process to driver/FW).
This patch is used to fully leverage SME of wpa_supplicant and hostapd which can complete the missing WPA3 feature of mwifiex.
The patch series had been reviewed and discussed. It looks like there is no more comments for patch v10.
I wonder can patch v10 be accepted by you?

David

2024-04-24 08:11:35

by Marcel Holtmann

[permalink] [raw]
Subject: Re: [EXT] [PATCH v10 0/2] wifi: mwifiex: add code to support host mlme

Hi David,

> Johannes agreed that cfg80211 is the correct way for the development of mwifiex
> (mac80211 can't offload association process to driver/FW).

that was never my question here.

> This patch is used to fully leverage SME of wpa_supplicant and hostapd which can complete the missing WPA3 feature of mwifiex.
> The patch series had been reviewed and discussed. It looks like there is no more comments for patch v10.
> I wonder can patch v10 be accepted by you?

If your hardware is a FullMac hardware then what is the point in now separating
auth/assoc out. Is this done just for WPA3 or also for WPA2/WPA1. Are you no
longer a FullMac hardware?

You keep saying that you just want to support WPA3 and if previously the HW
worked as FullMac hardware, then external_auth should be the way to go for
having SAE handled by wpa_supplicant (or iwd for that matter).

Now if you are fully embracing to auth/assoc and we can remove the support
for the connect ops, then lets do it. However I don’t see anything properly
described in the commit message. You keep saying WPA3 support and nothing
else explain what the new Key V2 API of the firmware would do.

Regards

Marcel


2024-04-25 02:10:05

by David Lin

[permalink] [raw]
Subject: RE: [EXT] [PATCH v10 0/2] wifi: mwifiex: add code to support host mlme

> From: David Lin <[email protected]>
> Sent: Monday, April 22, 2024 4:35 PM
> To: Brian Norris <[email protected]>
> Cc: Marcel Holtmann <[email protected]>; [email protected];
> LKML <[email protected]>; Kalle Valo <[email protected]>;
> [email protected]; Pete Hsieh <[email protected]>; rafael.beims
> <[email protected]>; Francesco Dolcini
> <[email protected]>
> Subject: RE: [EXT] [PATCH v10 0/2] wifi: mwifiex: add code to support host
> mlme
>
> > From: Brian Norris <[email protected]>
> > Sent: Saturday, April 20, 2024 5:42 AM
> > To: David Lin <[email protected]>
> > Cc: Marcel Holtmann <[email protected]>;
> > [email protected]; LKML <[email protected]>;
> > Kalle Valo <[email protected]>; [email protected]; Pete Hsieh
> > <[email protected]>; rafael.beims <[email protected]>;
> > Francesco Dolcini <[email protected]>
> > Subject: Re: [EXT] [PATCH v10 0/2] wifi: mwifiex: add code to support
> > host mlme
> >
> > Caution: This is an external email. Please take care when clicking
> > links or opening attachments. When in doubt, report the message using
> > the 'Report this email' button
> >
> >
> > On Fri, Apr 19, 2024 at 04:00:17AM +0000, David Lin wrote:
> > > Can you let me know what does "external_auth" mean?
> >
> > Look around for NL80211_CMD_EXTERNAL_AUTH. It's in nl80211.h with
> > plenty of comments. (And also cfg80211_ops::cfg80211_ops,
> > cfg80211_external_auth_request, ...)
> >
> > I've never looked at this interface before, personally. It seems to
> > rely on cfg80211_ops::mgmt_tx support too; that seems to exist in
> > mwifiex, although I have no clue the quality of support there.
> >
> > Brian
>
> Thanks for your information. If "external_auth" means only offloading SAE
> authentication to SME of wpa_supplicant and hostapd (driver should hook
> cfg80211_ops. external_auth() to achieve this kind of offloading).
> Then it is not the same as the job done by this patch.
> This patch fully leverages SME of wpa_supplicant and hostapd.
>
> David

Should I give more detail information about this question? BTW, if there are other blocked items to let this patch be accepted,
please let me know. Thanks for your help.

David