STRUCT BRCMF_EVENT_MSG(9)
π struct brcmf_event_msg(9) β the kernel API manual bestie
okay so this is struct brcmf_event_msg(9), and if you're here you're probably poking at brcmfmac firmware events and wondering what all these fields mean. don't stress β it's literally just a firmware event message, and we're gonna go through every single member together π«Ά
β¨ NAME β¨
struct brcmf_event_msg β firmware event message. that's it, that's the vibe. it's the lil' struct that carries the news when the firmware wants to tell you something π
πΈ SYNOPSIS πΈ
here's the whole glow-up, exactly as it lives in the header β no edits, no notes, copy-paste ready:
struct brcmf_event_msg {
u16 version;
u16 flags;
u32 event_code;
u32 status;
u32 reason;
s32 auth_type;
u32 datalen;
u8 addr[ETH_ALEN];
char ifname[IFNAMSIZ];
u8 ifidx;
u8 bsscfgidx;
};
π Members π
okay bestie, member-by-member, no skipping, we're doing the whole roster β
versionβ the version information. it's giving "hi, which version of me are you talking to" π¦flagsβ the event flags. lil' bitty bits of extra context for the event πevent_codeβ the firmware event code. this is the main character, the thing that tells you what happened π₯statusβ status information. how'd it go? this knows πreasonβ the reason code. the "why tho" field, essential for the lore πauth_typeβ the authentication type. yeah, that kind of auth πdatalenβ the length of the event data buffer. so you know how much data you're working with, no guesses πaddrβ the ether address. ethernet address things, you know how it is πifnameβ the interface name. which interface is this event about, exactly π§ifidxβ the interface index. the numeric bestie toifnameβ¨bsscfgidxβ the bsscfg index. yes it's a real field, yes you need it, yes it's iconic π
ngl there are a lot of fields here but every single one is pulling its weight. zero filler. periodt π
π SEE ALSO π
go touch these next, they're all in the same friend group:
- Kernel file
./drivers/net/wireless/broadcom/brcm80211/brcmfmac/fweh.h struct brcm_ethhdr(9)struct brcmf_event(9)struct brcmf_fweh_event_map_item(9)struct brcmf_fweh_event_map(9)struct brcmf_fweh_info(9)
and that's the whole page, bestie!! π this lil' cutie came out of ./drivers/net/wireless/broadco... and it's dated October 2026, filed under struct brcmf_event_msg(9) β go slay your firmware events, iykyk ππ
π¦ 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