Re: [PATCH wireless-next v2 6/6] wifi: brcmfmac: pass AWDL frames and role changes to user space

From: Arend van Spriel

Date: Thu Nov 26 2026 - 11:15:16 EST


On Wed, 25 Nov 2026 20:02:54 +0100, Andre Eikmeyer <dev@deq.rocks> wrote:
> User space runs the AWDL election and peer discovery from the AWDL
> action frames of other devices. The firmware reports them on the AWDL
> interface with ACTION_FRAME_RX and AWDL_EVENT, behind a header of
> version 1 (16 bytes) or 2 (24 bytes), and its AWDL role with AWDL_ROLE.
>
> AWDL_AW, AWDL_ROLE, AWDL_EVENT, AWDL_STATS and SDB_STATE are event codes
> of the Apple firmware. Add them as abstract event codes, mapped and
> registered by the WCC vendor module like the CYW module does for its
> events.
>
> Pass the AWDL action frames and role changes to user space as the
> vendor events AWDL_FRAME and AWDL_ROLE.
>
> Tested-by: Yossef Osman <Yossef.Osman@xxxxxxxxx>
> Tested-by: Aditya Garg <aditya.garg@xxxxxxxxx>
> Signed-off-by: Andre Eikmeyer <dev@deq.rocks>
> ---
> .../broadcom/brcm80211/brcmfmac/awdl.c | 110 +++++++++++++++++-
> .../broadcom/brcm80211/brcmfmac/awdl.h | 3 +
> .../broadcom/brcm80211/brcmfmac/fweh.c | 8 +-
> .../broadcom/brcm80211/brcmfmac/fweh.h | 7 +-
> .../broadcom/brcm80211/brcmfmac/vendor.c | 8 ++
> .../broadcom/brcm80211/brcmfmac/vendor.h | 12 ++
> .../broadcom/brcm80211/brcmfmac/wcc/core.c | 39 +++++++
> 7 files changed, 177 insertions(+), 10 deletions(-)

You may add my acknowledgement in v3.

Acked-by: Arend van Spriel <arend.vanspriel@xxxxxxxxxxxx>

Regards,
Arend