STRUCT BRCMU_D11INF(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’… struct brcmu_d11inf(9)

okay so bestie, welcome to the Kernel API Manual page for struct brcmu_d11inf β€” it's giving "tiny struct, big job" energy ngl ✨


🌸 NAME

struct brcmu_d11inf β€” this little icon literally provides functions that translate channel format πŸ¦‹


πŸŽ€ SYNOPSIS

struct brcmu_d11inf {
    u8 io_type;
    void (*encchspec)(struct brcmu_chan *ch);
    void (*decchspec)(struct brcmu_chan *ch);
 };

like, that's the whole thing. three fields. she's compact and she knows it πŸ’…


✨ Members

  • io_type β€” decides which version of the channel format the firmware is out here using πŸ‘‘
  • encchspec β€” encodes channel info into a chanspec; it requires the center channel number and straight-up ignores the control one πŸ™ˆ (yes fr, it does not care about the control channel at all)
  • decchspec β€” decodes a chanspec back into generic info πŸ”₯ the reverse trip, the glow-down if you will

🫢 SEE ALSO

  • Kernel file ./drivers/net/wireless/broadcom/brcm80211/include/brcmu_d11.h
  • struct brcmu_chan(9)

go read those, iykyk πŸ’–


lowkey a tiny reminder bestie: encchspec wants the center channel number and does not want the control one β€” don't come for me, that's just what the page says 😭

and that's the whole vibe check! 🌈 source lives at ./drivers/net/wireless/broadco..., dated October 2026, and the page is struct brcmu_d11inf(9) β€” slay, go translate some channel formats, mwah πŸŽ€πŸ’œ

πŸ“¦ where this page comes from