STRUCT BRCMF_FWEH_QUEUE_ITEM(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’… NAME πŸ’…

struct brcmf_fweh_queue_item β€” bestie, this is literally the event item that lives on the event queue. That's it, that's the vibe. (Also hiii, this is the Kernel API Manual, welcome to the group chat ✨)


✨ SYNOPSIS ✨

Okay so this is the whole shape of it, no notes, absolutely iconic:

struct brcmf_fweh_queue_item {
    struct list_head q;
    u32 code;
    u8 ifidx;
    u8 ifaddr[ETH_ALEN];
    struct brcmf_event_msg_be emsg;
    u32 datalen;
    u8 data[];
 };

πŸŽ€ MEMBERS πŸŽ€

Every field, ranked by nothing, because they're all main characters 🫢

  • q β€” the list element for queuing. Think of it as the little hook that lets this struct hang out with all its friends on the list πŸ’…
  • code β€” the event code. It's giving "which event is this" energy.
  • ifidx β€” the interface index related to this event. iykyk πŸ¦‹
  • ifaddr β€” the ethernet address for the interface. Yes, the actual ethernet address, we don't gatekeep.
  • emsg β€” the common parameters of the firmware event message. The shared lore, if you will 🌸
  • datalen β€” the length of the data array. It's literally just the length. Periodt.
  • data β€” the event-specific data part of the firmware event. The flexible array member at the end doing its ✨ thing ✨
ngl, data[] being a trailing flexible array means this struct is built different β€” the data just keeps going past the end of the struct, no cap.

πŸ‘‘ SEE ALSO πŸ‘‘

The kernel file where all the magic happens, fr fr:

./drivers/net/wireless/broadcom/brcm80211/brcmfmac/fweh.c

And the whole friend group 🧚 (all of these are section 9, obviously):


and that's the whole page, bestie, you ate πŸ’–

this little love letter came from ./drivers/net/wireless/broadco... and it's dated October 2026 β€” go off, calendar πŸ—“οΈβœ¨

πŸ“¦ where this page comes from