brcmf_p2p_create_p2pdev(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’… 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 a u8 * 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:


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