STRUCT BRCMF_FWEH_EVENT_MAP_ITEM(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’– struct brcmf_fweh_event_map_item(9) πŸ’–

okay so bestie, welcome to the Kernel API Manual ✨ β€” this is the page for struct brcmf_fweh_event_map_item, and honestly? it's a little matchmaker struct. it pairs up two event codes so they can find each other. 🫢


🌸 NAME 🌸

struct brcmf_fweh_event_map_item β€” the fweh event and firmware event pair. like, a buddy system but for codes. πŸ’…


✨ SYNOPSIS ✨

struct brcmf_fweh_event_map_item {
    enum brcmf_fweh_event_code code;
    u32 fwevt_code;
 };

look at her. two fields. no notes. 🌈


πŸŽ€ Members πŸŽ€

  • code β€” the fweh event code, aka the one the higher layers actually use. this is the code with main character energy πŸ‘‘
  • fwevt_code β€” the firmware event code, aka the one the firmware uses. same vibe, different number, iykyk πŸ’€

πŸ¦‹ Description πŸ¦‹

so here's the tea, bestie πŸ“: sometimes a functionally identical event has a different numerical definition between vendors. like, same event, different digits. tragic. truly. 😭

that's exactly when this mapping is needed β€” it's the translator, the go-between, the friend who knows both friend groups. 🧚

⚠️ important caveat incoming: when such mapping is needed, the higher layer event code should not collide with the firmware event. no overlapping numbers, no drama, periodt. πŸ”₯

⭐ SEE ALSO ⭐

  • Kernel file ./drivers/net/wireless/broadcom/brcm80211/brcmfmac/fweh.h πŸ’œ
  • struct brcm_ethhdr(9)
  • struct brcmf_event(9)
  • struct brcmf_event_msg(9)
  • struct brcmf_fweh_event_map(9)
  • struct brcmf_fweh_info(9)

go read those too, they're all iconic in their own way 🌸


and that's the page!! πŸŽ€ ngl this one was short and sweet. shoutout to the source ./drivers/net/wireless/broadco... and the date October 2026 β€” mwah, slayed, no cap πŸ’…βœ¨πŸ¦‹

πŸ“¦ where this page comes from