STRUCT BRCMF_VNDR_DCMD_HDR(9)
π 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 anint, not auint, 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,setandmagicare alluint, butlenis a plainint. 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
- nixpkgs unstable: linux-manual 7.3.1
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms