STRUCT BRCMF_VNDR_DCMD_HDR(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’– struct brcmf_vndr_dcmd_hdr(9) πŸ’–

okay bestie, so this is a page from the Kernel API Manual, section 9 β€” yes we're reading kernel docs for fun now, that's just who we are πŸ’… and honestly? this one's a little cutie.

✨ NAME ✨

struct brcmf_vndr_dcmd_hdr β€” the message header for the cfg80211 vendor command dcmd support 🫢 like, it's literally the little name tag every vendor dcmd message wears so everybody knows what it is.

🌸 SYNOPSIS 🌸

struct brcmf_vndr_dcmd_hdr {
    uint cmd;
    int len;
    uint offset;
    uint set;
    uint magic;
 };

five fields. that's it. she's compact, she's iconic, she's doing her job πŸ‘‘

πŸŽ€ Members πŸŽ€

  • cmd β€” the common dongle cmd definition πŸ’« iykyk, this is the "which command are we even doing" field.
  • len β€” length of expecting return buffer πŸ“ notice it's an int, not a uint, ok? we're being precise. it's the length of the buffer you're expecting to get back.
  • offset β€” offset of data buffer 🧭 like where in the buffer the data actually starts.
  • set β€” get or set request (optional) πŸ” yeah it's got that optional energy β€” are we getting or are we setting, that's the whole vibe check.
  • magic β€” magic number for verification ⭐ very main character of her. it's there so you can verify stuff, no cap.
bestie pls don't sleep on the types β€” cmd, offset, set and magic are all uint, but len is a plain int. the original says it that way and so do I πŸ™ˆ

πŸ¦‹ SEE ALSO πŸ¦‹

  • Kernel file ./drivers/net/wireless/broadcom/brcm80211/brcmfmac/vendor.h πŸ“ (literally the whole file, go read it, it's giving source of truth)
  • enum brcmf_nlattrs(9) ✨

and that's the whole page, bestie, you ate that πŸŽ‰ this was from the Kernel API Manual, page sourced from ./drivers/net/wireless/broadco..., dated October 2026 β€” see you at struct brcmf_vndr_dcmd_hdr(9) again next time, mwah πŸ’œπŸŒˆ

πŸ“¦ where this page comes from