Re: [PATCH] wifi: brcmfmac: configure SAE PWE method for external SAE AP
From: Arend van Spriel
Date: Wed Jul 29 2026 - 09:06:26 EST
On 29/07/2026 13:48, Bogdan Nicolae wrote:
Than we should only invoke the parse function for cyw vendor.On Wed, Jul 29, 2026, 04:48 Arend van Spriel <arend.vanspriel@xxxxxxxxxxxx <mailto:arend.vanspriel@xxxxxxxxxxxx>> wrote:Hi Arend,
On 29/07/2026 07:34, Bogdan Nicolae wrote:
> When bringing up a WPA3-SAE SoftAP with external (user space)
SAE, the
> driver never told the firmware which SAE Password Element (PWE)
method to
> accept. The firmware was observed to corrupt its heap over time
due to
> this omission, leading to firmware trap (data abort in heap
allocator).
>
> Parse the beacon IEs on start_ap() and set the extsae_pwe iovar
> accordingly: 2 when the RSNX IE advertises H2E, 1 when an H2E-only
> membership selector is present, 0 otherwise. This matches the
behaviour
> of the upstream/vendor driver and only applies to SAE-capable APs
when
> external SAE is supported.
This makes sense, but may I ask what device do you have? Suspect it
is a
Cypress/Infineon chip. I could not find the iovar in our (Broadcom bca)
code base so I suspect it is vendor specific.
Indeed, this is a bcm43455 as found on Raspberry Pi SoCs.
Regards,
Arend