brcmf_p2p_run_escan(9)
๐ 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
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_scan_is_p2p_request(9)brcmf_p2p_set_discover_state(9)brcmf_p2p_deinit_discovery(9)brcmf_p2p_enable_discovery(9)brcmf_p2p_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. 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
- 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