Search Linux Wireless

Re: WPA3 support for mac80211 drivers

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On 6/12/2024 10:19 PM, Arend Van Spriel wrote:
On June 12, 2024 9:08:11 PM Johannes Berg <johannes@xxxxxxxxxxxxxxxx> wrote:

On Wed, 2024-06-12 at 20:56 +0200, Johannes Berg wrote:
On Wed, 2024-06-12 at 20:51 +0200, Arend van Spriel wrote:
Hi Johannes, Larry,

I got a query from a brcmsmac user about support for WPA3. I had no idea what would be needed and actually assumed/hoped mac80211 would take care
of it. My first attempt was looking in patchwork for other mac80211
drivers adding WPA3 and found this one interesting enough:

https://patchwork.kernel.org/project/linux-wireless/patch/20200526155909.5807-2-Larry.Finger@xxxxxxxxxxxx/

It only sets flag IEEE80211_HW_MFP_CAPABLE in hw->flags. So I suggested
to do the same in brcmsmac. Unfortunately no success so can you think of
anything else that would be required from brcmsmac.

You need the correct ciphers too (at least BIP, possibly GMAC)

No wait, you said brcmsmac, and it doesn't even have HW crypto?!

It probably has, but apparently we never implemented it.

Then it seems like it should just work, does wpa_s have errors?

I am waiting for logs/sniffer captures.

The user analyzed the wireshark captures himself and found he made a mistake with the sae_password configuration. So he got WPA3 working with the IEEE80211_HW_MFP_CAPABLE flag set. Will create a formal patch for that. Adding support for hw accelerated encryption would be better, but I don't think I can squeeze it in my schedule.

Regards,
Arend

Attachment: smime.p7s
Description: S/MIME Cryptographic Signature


[Index of Archives]     [Linux Host AP]     [ATH6KL]     [Linux Wireless Personal Area Network]     [Linux Bluetooth]     [Wireless Regulations]     [Linux Netdev]     [Kernel Newbies]     [Linux Kernel]     [IDE]     [Git]     [Netfilter]     [Bugtraq]     [Yosemite Hiking]     [MIPS Linux]     [ARM Linux]     [Linux RAID]

  Powered by Linux