STRUCT BRCMF_P2P_ACTION_FRAME(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’– struct brcmf_p2p_action_frame β€” WiFi P2P Action Frame πŸ’–

Okay bestie, so this is a page straight out of the Kernel API Manual β€” yes, the struct brcmf_p2p_action_frame(9) one, the little cutie that describes a WiFi P2P Action Frame. Grab a strawberry drink πŸ“ and let's get into it, because this struct is lowkey iconic.


✨ NAME ✨

struct brcmf_p2p_action_frame β€” WiFi P2P Action Frame. That's it, that's the vibe. πŸŽ€


πŸ¦‹ SYNOPSIS πŸ¦‹

Here's the whole struct, exactly as it lives, no cap:

struct brcmf_p2p_action_frame {
    u8 category;
    u8 oui[3];
    u8 type;
    u8 subtype;
    u8 dialog_token;
    u8 elts[];
 };

Look at her. Six fields and one glorious flexible array member. Main character energy fr fr. πŸ‘‘


🌸 Members 🌸

Every single one, bestie, let's go down the list:

  • category β€” this one is P2P_AF_CATEGORY. That's the whole description, she's mysterious like that. πŸ’…
  • oui β€” the OUI, which is P2P_OUI. Three bytes of pure organizational identity.
  • type β€” the OUI Type, and it's WLAN_OUI_TYPE_WFA_P2P. Yes, that WFA P2P type. Slay.
  • subtype β€” the OUI Subtype, written as P2P_AF_*. So like, whatever P2P_AF_ something fits there, iykyk. 🌈
  • dialog_token β€” nonzero, okay? It identifies the req/resp tranaction. (That's the manual's spelling, not mine β€” copying it exactly because I respect the source. πŸ™ˆ) Basically it's the little name tag on a request/response pair so nobody mixes them up. ⭐
  • elts β€” Variable length information elements. Flexible array, does what it wants, we love a free spirit. πŸ¦‹
Ngl, elts[] is giving "I contain multitudes" and honestly? Same.

πŸ”₯ SEE ALSO πŸ”₯

The kernel file that started it all:

  • ./drivers/net/wireless/broadcom/brcm80211/brcmfmac/p2p.c

And now, the whole freaking friend group β€” every single one of these, no skips, because they're all linked and we don't leave anyone on read: πŸ’œ

Forty-five entries and every single one made the list. We ate. πŸ’…βœ¨


πŸŽ€ Sign-off πŸŽ€

This little love letter comes from ./drivers/net/wireless/broadco... (the source line is literally truncated like that in the footer, bestie, I'm not hiding anything from you πŸ™ˆ) and it's dated October 2026 β€” the struct brcm...action_frame(9) era, and what a time to be alive. 🌈🫢

Go forth and frame some actions. Periodt. πŸ”₯⭐

πŸ“¦ where this page comes from