STRUCT BRCMF_FWEH_QUEUE_ITEM(9)
π 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):
brcmf_fweh_event_name(9)brcmf_fweh_queue_event(9)brcmf_fweh_handle_if_event(9)brcmf_fweh_dequeue_event(9)brcmf_fweh_event_worker(9)brcmf_fweh_p2pdev_setup(9)brcmf_fweh_attach(9)brcmf_fweh_detach(9)brcmf_fweh_register(9)brcmf_fweh_unregister(9)brcmf_fweh_activate_events(9)brcmf_fweh_process_event(9)
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
- 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