brcmf_p2p_create_p2pdev(9)
π brcmf_p2p_create_p2pdev β¨
okay so bestie, we are deep in the Kernel API Manual and this page is all about one very specific little kernel function: brcmf_p2p_create_p2pdev. its whole job is literally right there in the name β it creates a P2P_DEVICE virtual interface. no cap. let's get into the group-chat breakdown π«Ά
πΈ NAME πΈ
brcmf_p2p_create_p2pdev β create a P2P_DEVICE virtual interface. that's the vibe. that's the function. iconic behavior tbh π
π SYNOPSIS π
struct wireless_dev * brcmf_p2p_create_p2pdev (struct brcmf_p2p_info
*p2p , struct wiphy *wiphy , u8 *addr );
like yes, the return type is struct wireless_dev *, and yes, she takes those three arguments. we love a signature that gets straight to the point β¨
π¦ ARGUMENTS π¦
p2pβ P2P specific data. this is the P2P-flavored info she needs, bestie πwiphyβ wiphy device of new interface. literally the wiphy device for the new interface, exactly as the page says πaddrβ mac address for this new interface. the address for the new interface, and yes it's au8 *in the synopsis π
π₯ SEE ALSO π₯
bestie, this list is long and we are NOT skipping a single one. every reference stays, periodt π
Kernel file:
./drivers/net/wireless/broadcom/brcm80211/brcmfmac/p2p.c
and now the whole friend group:
struct brcmf_p2p_disc_st_le(9)enum brcmf_p2p_disc_state(9)struct brcmf_p2p_scan_le(9)struct brcmf_p2p_pub_act_frame(9)struct brcmf_p2p_action_frame(9)struct brcmf_p2psd_gas_pub_act_frame(9)struct brcmf_config_af_params(9)brcmf_p2p_is_pub_action(9)brcmf_p2p_is_dpp_pub_action(9)brcmf_p2p_is_p2p_action(9)brcmf_p2p_is_gas_action(9)brcmf_p2p_print_actframe(9)brcmf_p2p_set_firmware(9)brcmf_p2p_generate_bss_mac(9)brcmf_p2p_scan_is_p2p_request(9)brcmf_p2p_set_discover_state(9)brcmf_p2p_deinit_discovery(9)brcmf_p2p_enable_discovery(9)brcmf_p2p_escan(9)brcmf_p2p_run_escan(9)brcmf_p2p_find_listen_channel(9)brcmf_p2p_scan_prep(9)brcmf_p2p_discover_listen(9)brcmf_p2p_remain_on_channel(9)brcmf_p2p_notify_listen_complete(9)brcmf_p2p_cancel_remain_on_channel(9)brcmf_p2p_act_frm_search(9)brcmf_p2p_afx_handler(9)brcmf_p2p_af_searching_channel(9)brcmf_p2p_scan_finding_common_channel(9)brcmf_p2p_abort_action_frame(9)brcmf_p2p_stop_wait_next_action_frame(9)brcmf_p2p_gon_req_collision(9)brcmf_p2p_notify_action_frame_rx(9)brcmf_p2p_notify_action_tx_complete(9)brcmf_p2p_tx_action_frame(9)brcmf_p2p_pub_af_tx(9)brcmf_p2p_send_action_frame(9)brcmf_p2p_notify_rx_mgmt_p2p_probereq(9)brcmf_p2p_get_current_chanspec(9)brcmf_p2p_ifchange(9)brcmf_p2p_add_vif(9)brcmf_p2p_del_vif(9)brcmf_p2p_attach(9)brcmf_p2p_detach(9)
okay that's the whole page, bestie π cute little sign-off time: this is brcmf_p2p_create_p2pdev(9) from the Kernel API Manual, dated October 2026, and the footer source line is literally ./drivers/net/wireless/broadco... with that truncated lil ellipsis. we love a mysterious source path. bye bestie, go create that P2P_DEVICE virtual interface π«Άβ¨π
π¦ 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