STRUCT BRCMF_MP_DEVICE(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’… struct brcmf_mp_device(9) β€” NAME πŸŽ€

okay so bestie, this is a page straight out of the Kernel API Manual (yes, that one, section 9, the big-kid section 🌈) and it's all about struct brcmf_mp_device β€” which is, literally, the Device module parameters. That's the whole vibe: it's the struct that holds all the module params for a brcmf device. Obsessed. ✨


πŸ¦‹ SYNOPSIS πŸ¦‹

here's the whole shape of her, character for character, don't touch a thing:

struct brcmf_mp_device {
    bool p2p_enable;
    unsigned int    feature_disable;
    int fcmode;
    bool roamoff;
    bool iapp;
    bool ignore_probe_fail;
    bool trivial_ccode_map;
    struct brcmfmac_pd_cc *country_codes;
    const char      *board_type;
    unsigned char   mac[ETH_ALEN];
    const char      *antenna_sku;
    const void      *cal_blob;
    int cal_size;
    union {
      struct brcmfmac_sdio_pd sdio;
    } bus;
 };

ik she looks like a lot but she's just chillin' there holding parameters for you 🫢


🌸 Members 🌸

okay so these are the ones the page actually introduces you to β€” every single one, no skipping:

  • p2p_enable β€” the legacy P2P0 enable situation (iykyk, it's for the old wpa_supplicant πŸ‘€). yes, legacy. we respect our elders.
  • feature_disable β€” the Feature_disable bitmask. that's it, that's the whole description, and honestly? iconic minimalism.
  • fcmode β€” FWS flow control. short, sweet, flow-controlled πŸ’…
  • roamoff β€” is firmware roaming off? that's the question this lil bool is asking. firmware roaming off?? πŸ‘€
  • ignore_probe_fail β€” ignore probe failure. like, just don't perceive it. main character energy fr.
  • trivial_ccode_map β€” assume the firmware uses ISO3166 country codes with rev 0. noted, no cap. πŸ—ΊοΈ
  • country_codes β€” if available, a pointer to the struct for translating country codes ✨ (emphasis on if available, bestie β€” pointer could be doin' its own thing)
  • bus β€” the bus specific platform data. and the page is very clear here: only SDIO at the mmoment β€” and yes that's the original spelling of "mmoment" and I'm preserving her exactly, don't @ me πŸ˜­πŸ’€
quick heads up 🫢 β€” the struct up in the synopsis also carries iapp, board_type, mac[ETH_ALEN], antenna_sku, cal_blob and cal_size, but the member list on this page doesn't give them blurbs. so I'm not gonna invent vibes for them. they're there, they're real, the docs just didn't write a sentence for each. periodt.

🌟 SEE ALSO 🌟

go look at these, they're the friends of the family:

  • Kernel file ./drivers/net/wireless/broadcom/brcm80211/brcmfmac/common.h β€” the source of truth, the mothership 🧚
  • struct brcmf_mp_global_t(9) β€” her global sibling, obviously πŸ‘‘

and that's the whole page, bestie, you ate that πŸ’– ngl this one came from the kernel docs at ./drivers/net/wireless/broadco..., dated October 2026, and it's still filed under struct brcmf_mp_device(9) β€” so go forth, read the header, and slay πŸŒˆβ­πŸŽ€

πŸ“¦ where this page comes from