STRUCT BRCMF_P2P_INFO(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸŽ€ NAME πŸŽ€

okay bestie, welcome to the Kernel API Manual page for struct brcmf_p2p_info(9) β€” it's literally the p2p specific driver information struct, and that's the whole mood πŸ’–.


πŸ¦‹ SYNOPSIS πŸ¦‹

here's the exact struct, character for character, no edits, no cap:

struct brcmf_p2p_info {
    struct brcmf_cfg80211_info *cfg;
    unsigned long status;
    u8 dev_addr[ETH_ALEN];
    u8 conn_int_addr[ETH_ALEN];
    u8 conn2_int_addr[ETH_ALEN];
    struct p2p_bss bss_idx[P2PAPI_BSSCFG_MAX];
    struct timer_list listen_timer;
    u8 listen_channel;
    struct ieee80211_channel remain_on_channel;
    u32 remain_on_channel_cookie;
    u8 next_af_subtype;
    struct completion send_af_done;
    struct afx_hdl afx_hdl;
    u32 af_sent_channel;
    unsigned long af_tx_sent_jiffies;
    struct completion wait_next_af;
    bool gon_req_action;
    bool block_gon_req_tx;
    bool p2pdev_dynamically;
    bool wait_for_offchan_complete;
};

πŸ’… Members πŸ’…

member-by-member time, and yes we're keeping every single one:

  • cfg β€” driver private data for the cfg80211 interface.
  • status β€” status of P2P (see enum brcmf_p2p_status).
  • dev_addr β€” P2P device address.
  • bss_idx β€” info for the P2P bss types.
  • listen_timer β€” timer for the WL_P2P_DISC_ST_LISTEN discover state.
  • listen_channel β€” channel for the WL_P2P_DISC_ST_LISTEN discover state.
  • remain_on_channel β€” contains a copy of the struct used by cfg80211.
  • remain_on_channel_cookie β€” cookie counter for the remain on channel cmd.
  • next_af_subtype β€” expected action frame subtype.
  • send_af_done β€” indication that action frame tx is complete.
  • afx_hdl β€” action frame search handler info.
  • af_sent_channel β€” channel the action frame is sent on.
  • af_tx_sent_jiffies β€” jiffies time when af tx was transmitted.
  • wait_next_af β€” thread synchronizing struct.
  • gon_req_action β€” about to send a go negotiation request frame.
  • block_gon_req_tx β€” drop tx go negotiation request frame.
  • p2pdev_dynamically β€” is the p2p device if created by module param or supplicant.
  • wait_for_offchan_complete β€” wait for the off-channel tx completion event.

also in the struct synopsis: conn_int_addr[ETH_ALEN] and conn2_int_addr[ETH_ALEN] β€” the Members list doesn't give them their own blurbs, so I'm not inventing details, bestie πŸ’€.


πŸ”₯ SEE ALSO πŸ”₯

  • Kernel file ./drivers/net/wireless/broadcom/brcm80211/brcmfmac/p2p.h
  • enum p2p_bss_type(9), struct p2p_bss(9), enum brcmf_p2p_status(9), struct afx_hdl(9)

mwah πŸ’‹ β€” this is the struct brcmf_p2p_info(9) page from the Kernel API Manual, source/version ./drivers/net/wireless/broadco..., dated October 2026. byeee 🫢

πŸ“¦ where this page comes from