brcmf_p2p_escan(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’… brcmf_p2p_escan πŸ’…

okay bestie, welcome to the Kernel API Manual (section 9, we're fancy like that). this is the page for brcmf_p2p_escan, and yes it's giving "wireless driver internals but make it cute." let's get into it πŸ’–


✨ NAME ✨

brcmf_p2p_escan β€” initiate a P2P scan. that's the whole vibe. it starts a P2P scan, periodt. 🫢


🌸 SYNOPSIS 🌸

s32 brcmf_p2p_escan (struct brcmf_p2p_info *p2p , u32 num_chans , u16
chanspecs[] , s32 search_state , enum p2p_bss_type bss_type );

look at that signature. it's literally handing you back an s32, no cap. ✨


πŸŽ€ ARGUMENTS πŸŽ€

  • p2p β€” P2P specific data. that's the P2P info struct, bestie, it's the main character here πŸ‘‘
  • num_chans β€” number of channels to scan. yes, it's a u32, and yes, it's exactly what it says πŸ¦‹
  • chanspecs β€” channel parameters for num_chans channels. one lil u16 array carrying the channel specs 🌈
  • search_state β€” P2P discover state to use. it's an s32, and it tells the scan which discover state we're in πŸ’«
  • bss_type β€” type of P2P bss. it's an enum p2p_bss_type, so it knows what kind of P2P BSS we're dealing with πŸ’…

πŸ¦‹ SEE ALSO πŸ¦‹

first up, the kernel file itself, living its best life at:

./drivers/net/wireless/broadcom/brcm80211/brcmfmac/p2p.c

and now the whole friend group β€” every single one of these is invited to the group chat:

like, that's the whole squad. no one left behind. 🫢✨


that's the page, bestie! source/version vibes are literally ./drivers/net/wireless/broadco... and the date on this iconic lil manual page is October 2026 β€” catch you in the next man page, mwah πŸ’‹πŸ’–

πŸ“¦ where this page comes from