STRUCT BRCMF_IF(9)
πΈ NAME πΈ
welcome to the Kernel API Manual corner, bestie π today's main character is struct brcmf_if(9), and she is literally the interface control information. That's the name vibe: struct brcmf_if β interface control information. periodt.
β¨ SYNOPSIS β¨
okay so here's the whole struct receipt, no cap β every field exactly as the kernel page gives it:
struct brcmf_if {
struct brcmf_pub *drvr;
struct brcmf_cfg80211_vif *vif;
struct net_device *ndev;
struct work_struct multicast_work;
struct work_struct ndoffload_work;
struct brcmf_fws_mac_descriptor *fws_desc;
int ifidx;
s32 bsscfgidx;
u8 mac_addr[ETH_ALEN];
u8 netif_stop;
spinlock_t netif_stop_lock;
atomic_t pend_8021x_cnt;
wait_queue_head_t pend_8021x_wait;
struct in6_addr ipv6_addr_tbl[NDOL_MAX_ENTRIES];
u8 ipv6addr_idx;
bool fwil_fwerr;
};
π Members π
these are the little lore drops for each field, bestie:
drvrβ points to device related information.vifβ points to cfg80211 specific interface information.ndevβ the associated network device.multicast_workβ worker object for multicast provisioning.ndoffload_workβ worker object for neighbor discovery offload configuration.fws_descβ interface specific firmware-signalling descriptor.ifidxβ interface index in device firmware.bsscfgidxβ index of bss associated with this interface.mac_addrβ the assigned mac address.netif_stopβ bitmap indicates reason why netif queues are stopped.netif_stop_lockβ spinlock for updatingnetif_stopfrom multiple sources.pend_8021x_cntβ tracks outstanding number of 802.1x frames.pend_8021x_waitβ used for signalling change in count.fwil_fwerrβ flag indicating the fwil layer should return firmware error codes.
also in the struct but with no member blurb in the original:ipv6_addr_tblandipv6addr_idx. not me making up lore β just keeping the receipt π§Ύπ
π¦ SEE ALSO π¦
go peek at these, iykyk:
- Kernel file
./drivers/net/wireless/broadcom/brcm80211/brcmfmac/core.h struct brcmf_ampdu_rx_reorder(9),enum brcmf_netif_stop_reason(9)
and that's the vibe check, bestie π«Ά source/version energy: ./drivers/net/wireless/broadco..., dated October 2026, and the page name is struct brcmf_if(9). periodt π
β¨
π¦ 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