ENUM BRCMF_P2P_DISC_STATE(9)
π enum brcmf_p2p_disc_state(9) β the P2P discovery mood ring β¨
okay bestie, so this is a page from the Kernel API Manual (section 9 ofc) and it's about enum brcmf_p2p_disc_state β literally the little enum that says which state P2P discovery is vibing in rn. it lives in the Broadcom brcm80211/brcmfmac wireless corner of the kernel, which, iykyk. π¦
β¨ NAME β¨
enum brcmf_p2p_disc_state β the P2P discovery state values, periodt. π
πΈ SYNOPSIS πΈ
like, here's the whole thing, exactly as it is:
enum brcmf_p2p_disc_state {
WL_P2P_DISC_ST_SCAN ,
WL_P2P_DISC_ST_LISTEN ,
WL_P2P_DISC_ST_SEARCH
};
three constants, no cap. look at her go π
π CONSTANTS π
WL_P2P_DISC_ST_SCANβ P2P discovery with a wildcard SSID and a P2P IE. that's the scan vibe. πWL_P2P_DISC_ST_LISTENβ P2P discovery off-channel, for the specified time. she's just hanging out on another channel being mysterious for a bit. πWL_P2P_DISC_ST_SEARCHβ P2P discovery with a P2P wildcard SSID and a P2P IE. searching, but make it P2P. β¨
π¦ SEE ALSO π¦
okay this is the part where the manpage goes feral and lists literally everyone in the friend group. every single one, here we go π
- the kernel file:
./drivers/net/wireless/broadcom/brcm80211/brcmfmac/p2p.c struct brcmf_p2p_disc_st_le(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_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β¦ that is a list. respect the hustle tho π«Ά
ngl there are no options, no exit statuses, no env vars on this one β it's just an enum and her forty-six besties. if you came here looking for flags, bestie, wrong page, but love u anyway π
π cute sign-off π
so this lil page came from ./drivers/net/wireless/broadco... (yes the footer really does just trail off like that, iconic honestly) and it's dated October 2026. that's the kernel API manual, section 9, enum brcmf_p2p_disc_state(9). mwah, hope this helped, go slay some P2P discovery π₯π
π¦ 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