STRUCT BRCMF_P2P_PUB_ACT_FRAME(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’– struct brcmf_p2p_pub_act_frame(9) β€” the WiFi P2P Public Action Frame page, bestie edition

okay so this is the struct brcmf_p2p_pub_act_frame(9) manual page from the Kernel API Manual, and honestly? it's giving "tiny struct, big main character energy" ✨ it's a WiFi P2P Public Action Frame and we're gonna go through it field by field, no skips, no cap 🫢


✨ NAME ✨

struct brcmf_p2p_pub_act_frame β€” WiFi P2P Public Action Frame 🌸


πŸ¦‹ SYNOPSIS πŸ¦‹

look at her. she's small. she's iconic. she's literally:

struct brcmf_p2p_pub_act_frame {
    u8 category;
    u8 action;
    u8 oui[3];
    u8 oui_type;
    u8 subtype;
    u8 dialog_token;
    u8 elts[];
 };

that elts[] with the empty brackets? variable length, she grows, we love a flexible queen πŸ’…


πŸŽ€ Members πŸŽ€

  • category β€” this one's WLAN_CATEGORY_PUBLIC, periodt. that's the whole vibe check for this field 🐝
  • action β€” set to WLAN_PUB_ACTION_VENDOR_SPECIFIC, so like, it's the vendor-specific action, iykyk πŸ’œ
  • oui β€” P2P_OUI, the OUI bytes, three of them, cute little array of 3 πŸ“
  • oui_type β€” the OUI type, which is WLAN_OUI_TYPE_WFA_P2P πŸŽ€
  • subtype β€” the OUI subtype, and it's one of the P2P_TYPE_* fam 🌈
  • dialog_token β€” nonzero, and it identifies the req/rsp transaction. so like, not zero. ever. it's zero's whole thing to NOT be here πŸ™ˆ
  • elts β€” Variable length information elements. that's it, that's the field, she's variable length and she's thriving πŸ’«

πŸ‘‘ SEE ALSO πŸ‘‘

okay the reference list is long bestie, buckle up, we're going through all of it, not one single one skipped πŸ’–

the kernel file in question: ./drivers/net/wireless/broadcom/brcm80211/brcmfmac/p2p.c

and then, in order, the whole squad:

like I said. the whole squad. ate and left no crumbs πŸ”₯

ngl if you're implementing against this, those (9) suffixes mean "these are manpage sections in the kernel API manual", so go read them, bestie, they're right there πŸ’€

🌸 and that's the page!! this one came from ./drivers/net/wireless/broadcom/brcm80211/brcmfmac/p2p.c (shown truncated in the original footer as ./drivers/net/wireless/broadco...), dated October 2026, and it's struct brcmf_p2p_pub_act_frame(9) β€” go forth and slay your P2P action frames, ily πŸ«ΆπŸ’œβœ¨

πŸ“¦ where this page comes from