brcmf_p2p_s..._p2p_request(9)
π 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:
struct brcmf_p2p_disc_st_le(9)enum brcmf_p2p_disc_state(9)struct brcmf_p2p_scan_le(9)struct brcmf_p2p_pub_act_frame(9)struct brcmf_p2p_action_frame(9)struct brcmf_p2psd_gas_pub_act_frame(9)struct brcmf_config_af_params(9)brcmf_p2p_is_pub_action(9)brcmf_p2p_is_dpp_pub_action(9)brcmf_p2p_is_p2p_action(9)brcmf_p2p_is_gas_action(9)brcmf_p2p_print_actframe(9)brcmf_p2p_set_firmware(9)brcmf_p2p_generate_bss_mac(9)brcmf_p2p_set_discover_state(9)brcmf_p2p_deinit_discovery(9)brcmf_p2p_enable_discovery(9)brcmf_p2p_escan(9)brcmf_p2p_run_escan(9)brcmf_p2p_find_listen_channel(9)brcmf_p2p_scan_prep(9)brcmf_p2p_discover_listen(9)brcmf_p2p_remain_on_channel(9)brcmf_p2p_notify_listen_complete(9)brcmf_p2p_cancel_remain_on_channel(9)brcmf_p2p_act_frm_search(9)brcmf_p2p_afx_handler(9)brcmf_p2p_af_searching_channel(9)brcmf_p2p_scan_finding_common_channel(9)brcmf_p2p_abort_action_frame(9)brcmf_p2p_stop_wait_next_action_frame(9)brcmf_p2p_gon_req_collision(9)brcmf_p2p_notify_action_frame_rx(9)brcmf_p2p_notify_action_tx_complete(9)brcmf_p2p_tx_action_frame(9)brcmf_p2p_pub_af_tx(9)brcmf_p2p_send_action_frame(9)brcmf_p2p_notify_rx_mgmt_p2p_probereq(9)brcmf_p2p_get_current_chanspec(9)brcmf_p2p_ifchange(9)brcmf_p2p_create_p2pdev(9)brcmf_p2p_add_vif(9)brcmf_p2p_del_vif(9)brcmf_p2p_attach(9)brcmf_p2p_detach(9)
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
- nixpkgs unstable: linux-manual 7.3.1
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms