brcmf_p2p_scan_prep(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

✨ brcmf_p2p_scan_prep(9) ✨

okay so bestie, welcome to the Kernel API Manual πŸ’– today we're learning about brcmf_p2p_scan_prep β€” and yes it's giving "tiny function, big job" energy, because it literally handles prepping a scan based on whatever request comes in. iconic behavior honestly πŸŽ€


🌸 NAME 🌸

brcmf_p2p_scan_prep β€” prepare scan based on request. that's it, that's the whole vibe ✨


πŸ¦‹ SYNOPSIS πŸ¦‹

int brcmf_p2p_scan_prep (struct wiphy *wiphy , struct
       cfg80211_scan_request *request , struct brcmf_cfg80211_vif *vif );

look at her go 😭 three params, one int return, no notes. she's focused. she's booked and busy. πŸ’…


πŸŽ€ ARGUMENTS πŸŽ€

  • wiphy β€” the wiphy device. your actual wireless hardware bestie 🌈
  • request β€” the scan request coming at us from cfg80211. this is the ask πŸ“¨
  • vif β€” the vif on which the scan request is to be executed. like, where the scan is gonna happen πŸ‘‘

πŸ’œ DESCRIPTION πŸ’œ

So what does she actually do? She prepares the scan appropriately for the type of scan that's being requested. that's the whole plot 🫢

And plot twist β€” she also overrides the escan .run callback for peer-to-peer scanning. yes bestie, she's a main character who rewires callbacks. no cap. πŸ”₯

ngl this is one of those functions where the description is short but the implications are loud β€” she's the reason your P2P scan doesn't just wander off doing normal scan things πŸ’€

⭐ SEE ALSO ⭐

like… that's a whole friend group 😭 go read them, iykyk πŸ’…


and that's the page bestie!! πŸ§šβ€β™€οΈ this lil manual page came from ./drivers/net/wireless/broadco... and it's dated October 2026, so jot that down, and remember: brcmf_p2p_scan_prep(9) said love u, bye πŸ‘‘πŸ’–

πŸ“¦ where this page comes from