brcmf_p2p_s..._p2p_request(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’… brcmf_p2p_s..._p2p_request(9) β€” a Kernel API Manual moment ✨

okay so bestie, buckle in, because today we're reading a page from the Kernel API Manual and honestly? it's a short one, which is a vibe. this whole thing lives in the brcm80211/brcmfmac wireless brain trust, and it's doing exactly one (1) job, but it's doing it flawlessly. let's go 🫢


🌸 NAME 🌸

brcmf_p2p_scan_is_p2p_request β€” literally just answering "is this cfg80211 scan request a P2P scan?" like the little detective it is πŸ”


✨ SYNOPSIS ✨

bool brcmf_p2p_scan_is_p2p_request (struct cfg80211_scan_request
*request );

she takes one struct cfg80211_scan_request pointer and hands you back a bool, no cap πŸ’œ


πŸŽ€ ARGUMENTS πŸŽ€

  • request β€” the scan request as received from cfg80211. that's it. that's the whole input. she came from cfg80211 and she's ready to be judged πŸ‘‘

πŸ¦‹ DESCRIPTION πŸ¦‹

the way this function is so simple and still so iconic?? 😭

it returns true if one of the ssids in the request matches the P2P wildcard ssid. otherwise β€” and hear me out β€” it returns false. that's the entire plot. no plot twists, no side quests, just a clean lil boolean check and honestly? main character energy 🌈


🌟 SEE ALSO 🌟

bestie there are SO many siblings, grab a snack πŸ“ β€” the kernel file this lives in is ./drivers/net/wireless/broadcom/brcm80211/brcmfmac/p2p.c:

like I said. a lot of siblings. family reunion fr fr πŸ‘‘


lowkey obsessed with how this page is 90% SEE ALSO. the function is four lines of logic and forty-five friends. that's balance πŸ’€

🌸 okay that's the whole page, bestie! big kiss from the source ./drivers/net/wireless/broadco..., dated October 2026, and we're officially done reading brcmf_p2p_s..._p2p_request(9). slay, periodt, go check your ssids πŸ’–πŸŽ€

πŸ“¦ where this page comes from