brcmf_p2p_run_escan(9)

๐Ÿ“ฆ version 7.3.1, in nixpkgs unstable

๐Ÿ’– brcmf_p2p_run_escan ๐Ÿ’–

okay so bestie, this is a page straight out of the Kernel API Manual, and honestly? it's giving niche-but-iconic. we're talking about brcmf_p2p_run_escan โ€” a whole entire function โ€” and by the end of this you're gonna know her intimately. no cap. ๐ŸŽ€


โœจ NAME โœจ

brcmf_p2p_run_escan โ€” the escan callback for peer-to-peer. that's it, that's the vibe. she's the callback, she runs the escan, she does it for P2P. main character energy fr fr. ๐Ÿ’…


๐ŸŒธ SYNOPSIS ๐ŸŒธ

s32 brcmf_p2p_run_escan (struct brcmf_cfg80211_info *cfg , struct
brcmf_if *ifp , struct cfg80211_scan_request *request );

three arguments in, one s32 out. simple on the surface, but you know there's lore. ๐Ÿฆ‹


๐Ÿงš ARGUMENTS ๐Ÿงš

  • cfg โ€” driver private data for the cfg80211 interface. it's the driver's own little diary of secrets. ๐Ÿ™ˆ
  • ifp โ€” interface control. think of it as the little remote that controls the interface. ๐ŸŽฎ
  • request โ€” the scan request, freshly handed over from cfg80211. she's the assignment, basically. ๐Ÿ“

๐Ÿ”ฅ DESCRIPTION ๐Ÿ”ฅ

so what does she actually do? okay so โ€” brcmf_p2p_run_escan determines the P2P discovery state based on the scan request parameters, and then she validates the channels in the request. that's the whole job. state determination plus channel validation, and she ate. โญ

literally: she looks at the request parameters to figure out where we are in the discovery state machine, then she gives those channels a good hard vibe check. ๐Ÿ‘‘


๐ŸŒˆ SEE ALSO ๐ŸŒˆ

okay this is the part where I list literally everyone in her group chat, and I mean everyone, so buckle up bestie ๐Ÿซถ:

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

like I said. everyone. the whole friend group pulled up. ๐Ÿ˜ญ๐Ÿ’œ


and that's the page!! no plot twists, no bugs noted, no warnings โ€” just a very competent little callback doing her thing. slay. ๐Ÿ“

okay so this whole thing lives at ./drivers/net/wireless/broadco... (the path got cut off in the footer, not by me, bestie ๐Ÿ™ˆ) and it's dated October 2026. brcmf_p2p_run_escan(9) forever and ever, periodt. ๐Ÿ’–โœจ

๐Ÿ“ฆ where this page comes from