Re: brcmfmac SAE/WPA3 negotiation - Part 2

KeithG
2025-01-06T17:13:50Z

On Mon, Jan 6, 2025 at 9:26 AM Denis Kenzior <denkenz@gmail.com> wrote:
>
> Hi Keith,
>
> On 1/5/25 6:41 PM, KeithG wrote:
> > I am looking at the iwmon logs for a successful wpa_supplicant
> > connection versus one from IWD. Both connect and both pass data and
> > both grab a DHCP address. I do note one difference in the connection,
> > though.
> >
> > Request : Connect
> > through the responses RTNL
> > wpa_supplicant knows it is dynamic
>
> wpa_supplicant doesn't manage network interfaces. I assume you're using ConnMan
> for this? If so, ConnMan sets the IFF_DYNAMIC flag. See
> https://git.kernel.org/pub/scm/network/connman/connman.git/tree/src/inet.c#n372
>
> >
> > Whereas the iwd log does not:
>
> iwd doesn't use IFF_DYNAMIC in its DHCP implementation at the moment.
>
> According to 'man netdevice':
>
> IFF_DYNAMIC The addresses are lost when the interface
> goes down.
>
> I doubt this is the cause of your DHCP / connection problems.
>
> Regards,
> -Denis

Denis,

I am using connman to manage the connections. The connman config is
the same. The one iwmon snippet was with iwd masked and stopped but
wpa_supplicant installed and the connect performed in connmanctl. The
other is with wpa_supplicant removed and purged and iwd started,
running then restarted connman then initiated a connect form
connmanctl.

I pored over these logs yesterday and saw a few differences, but this
was one that stood out. I can look closer again tonight and see if I
notice anything else that I can summarize.

Keith