STRUCT BRCMF_CONFIG_AF_PARAMS(9)
π struct brcmf_config_af_params
okay so bestie, welcome to the Kernel API Manual (kernel docs, but make it fashion). Today's main character is struct brcmf_config_af_params β the Action Frame Parameters for tx. yes that's the whole vibe, it's a little struct that carries the settings you need when you're firing off an action frame. π
β¨ NAME β¨
struct brcmf_config_af_params β Action Frame Parameters for tx. literally just the config bundle for transmitting action frames, periodt. π
πΈ SYNOPSIS πΈ
struct brcmf_config_af_params {
s32 mpc_onoff;
bool search_channel;
bool extra_listen;
};
three members, all baddies, all doing their own little job. π¦
π«Ά Members π«Ά
okay let's meet the cast:
mpc_onoffβ bestie, this one is here for one reason: to make sure the action frame actually gets sent successfully, we have to turn off mpc. the values are the whole personality:0means off,1means on, and(-1)means do nothing. yes, negative one is the "no thoughts, head empty" option π.search_channelβ1means search the peer's channel so we can send the af. that's it, that's the flag β¨.extra_listenβ keeps the dwell time around so we can actually get the af response frame back. lowkey crucial, ngl π .
π SEE ALSO π
okay the friend group is HUGE, buckle up, we're going to the kernel file ./drivers/net/wireless/broadcom/brcm80211/brcmfmac/p2p.c and meeting literally everyone:
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)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 I said. everyone. the whole group chat ππ₯
ngl bestie, the version string in the footer is truncated in the source (./drivers/net/wireless/broadco...) and it's dated October 2026 β so that's where this page comes from, no cap. π§
anyway that's the page, slay, go forth and send those action frames ππβ
π¦ 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