STRUCT BRCMF_EVENT_MSG(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’Œ 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 to ifname ✨
  • 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