Wireless Daemon for Linux
 help / color / mirror / Atom feed
From: James Prestwood <prestwoj@gmail.com>
To: KeithG <ys3al35l@gmail.com>, Denis Kenzior <denkenz@gmail.com>
Cc: iwd@lists.linux.dev
Subject: Re: [Request] iwd to support brcmfmac 'SAE with AUTHENTICATE'
Date: Mon, 12 Aug 2024 04:36:04 -0700	[thread overview]
Message-ID: <cf5ba208-58d9-44e8-bd91-0639ea062d5d@gmail.com> (raw)
In-Reply-To: <CAG17S_Oh_1NS9SUSadAJkMXtJ3s_AjMhnUDSqrKMzEiO69jBPA@mail.gmail.com>

Hi Keith,

On 8/11/24 6:19 PM, KeithG wrote:
> On Sun, Aug 11, 2024 at 2:38 PM Denis Kenzior <denkenz@gmail.com> wrote:
>> Hi Keith,
>>
>>>       Supported extended features:
>>>           * [ CQM_RSSI_LIST ]: multiple CQM_RSSI_THOLD records
>>>           * [ DFS_OFFLOAD ]: DFS offload
>>>
>> <snip>
>>
>>> The pcap is uploaded to my gdrive:
>>> https://drive.google.com/file/d/1vIuje60MGFPklcXtSNMi9-IOlV_6sBJ8/view?usp=drivesdk
>> What is the PCAP supposed to show?  There's no Connection attempt in there.
>>
>>> Hopefully, this helps to get started.
>>>
>> Anyway, I was curious and snooped on wpa_s from git trying to connect to an
>> iPhone 12 Personal Hotspot (Maximum Compatibility option off, so it uses SAE).
>> Not a pretty sight.  Firmware fails with errno=-52, Invalid exchange.  Has
>> anyone from RPI team actually tested this firmware before pushing it out?
>>
>> I also tried the old firmware with SAE_OFFLOAD bits, and that doesn't work with
>> wpa_s or iwd either.
>>
>> Until someone sends me a iwmon trace showing CMD_EXTERNAL_AUTH exchange working
>> on an WPA3-Personal Only network, I remain skeptical that any of the Cypress
>> firmwares actually work.
>>
>> Regards,
>> -Denis
> Denis,
>
> I did not attempt a connect with that first log. I misunderstood what
> James was asking for.

You didn't misunderstand :) I was confused by what I thought brcmfmac 
supported but Denis pointed out that the "Device supports SAE with 
AUTHENTICATE command" only mean NL80211_FEATURE_SAE was set, not that 
CMD_AUTHENTICATE is actually supported (really dumb and confusing, I know).

What is interesting though is even in your pcap CMD_EXTERNAL_AUTH isn't 
showing up as a supported command.

     Supported Commands:
         New Interface [7]
         Set Interface [6]
         New Key [11]
         Start AP [15]
         Join IBSS [43]
         Set PMKSA [52]
         Del PMKSA [53]
         Flush PMKSA [54]
         Remain on Channel [55]
         Frame [59]
         Set Wiphy Netns [49]
         Set Channel [65]
         Start Sched Scan [75]
         Start P2P Device [89]
         Connect [46]
         Disconnect [48]
         Crit Protocol Start [98]
         Crit Protocol Stop [99]
         Update Connect Params [122]

So I'm even more confused now. But as Denis said, we do need a iwmon 
pcap of wpa_supplicant working I think to see how its actually 
connecting successfully.

Thanks,

James

>   I tried connecting
> with my Samsung phone and was able to connect so it seems that the AP
> is working and allows a
> connection from my phone.
>
> I tried to connect from the Pi with iwctl:
> https://drive.google.com/file/d/1f1jnD0EUOJSaJXd8l7uYG9nisAxCPeo4/view?usp=drivesdk
>
> I uninstalled iwd, installed wpa_supplicant (built from git) rebooted
> and tried to connect with connman and collected another pcap and it
> did not connect:
> https://drive.google.com/file/d/1zuVSF0xu4Nk2fN9ketBSv1tiquT-Sc-p/view?usp=drivesdk
>
> I then tried from wpa_cli and did not connect. I tried again with a
> wpa_supplicant.conf and also could not connect.
>
> Now I am trying to figure out what I did to allow this connection to a
> sae AP... Now that I have nlmon
> module and iwmon, I will see if I can re-connect, somehow.
> The brcmfmac is such a pain.
> When I get a wpa3/SAE connection, I will make a pcap and post it.
> I actually was able to make one with wpa_supplicant once and actually
> passed data, but it does not seem to work today.
>
> Keith

  reply	other threads:[~2024-08-12 11:36 UTC|newest]

Thread overview: 13+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2024-08-04 17:08 [Request] iwd to support brcmfmac 'SAE with AUTHENTICATE' KeithG
2024-08-05 12:34 ` James Prestwood
2024-08-05 13:56   ` Denis Kenzior
2024-08-11 14:35     ` KeithG
2024-08-11 19:38       ` Denis Kenzior
2024-08-12  1:19         ` KeithG
2024-08-12 11:36           ` James Prestwood [this message]
2024-08-17 20:49             ` KeithG
2024-08-17 22:03               ` KeithG
2024-08-17 23:36                 ` KeithG
2024-08-30 16:37             ` Any recent wifi certifications with IWD? Bryce Johnson
2024-09-04 18:59               ` James Prestwood
2024-09-05 14:26                 ` Bryce Johnson

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=cf5ba208-58d9-44e8-bd91-0639ea062d5d@gmail.com \
    --to=prestwoj@gmail.com \
    --cc=denkenz@gmail.com \
    --cc=iwd@lists.linux.dev \
    --cc=ys3al35l@gmail.com \
    /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