STRUCT BRCMF_P2P_INFO(9)
π 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 (seeenum brcmf_p2p_status).dev_addrβ P2P device address.bss_idxβ info for the P2P bss types.listen_timerβ timer for theWL_P2P_DISC_ST_LISTENdiscover state.listen_channelβ channel for theWL_P2P_DISC_ST_LISTENdiscover 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
- 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