brcmf_p2p_is_gas_action(9)
β¨ brcmf_p2p_is_gas_action β¨
okay so bestie, real talk: this is a page from the Kernel API Manual, and it's about one tiny little boolean helper β brcmf_p2p_is_gas_action(9). she's small, she's humble, she answers exactly one question, and honestly? iconic behavior. π
πΈ NAME πΈ
brcmf_p2p_is_gas_action β returns true if the frame is a p2p gas action type frame. that's it, that's the whole job, and she does it flawlessly. periodt. β¨
π¦ SYNOPSIS π¦
bool brcmf_p2p_is_gas_action (void *frame , u32 frame_len );
look at her go. two args, one bool out, no drama. π«Ά
π ARGUMENTS π
frameβ the action frame data itself. like, the actual bytes of the frame, handed over as avoid *. she's gonna look at it. πframe_lenβ the length of that action frame data, as au32. gotta know how much frame you've got before you go reading it, obviously. π
β DESCRIPTION β
so what does she do? she determines whether the action frame in question is of the p2p gas action type. that's the vibe check, that's the whole assignment, and she passes it. true or false, no cap. π
ngl, that's genuinely the entire description in the original too β short and sweet, just like this function. don't go looking for hidden lore, there isn't any. π
π SEE ALSO π
okay this part is a lot, and I mean a LOT β the original page just drops the entire brcmfmac p2p friend group on you at once, and I'm not about to ghost a single one of them. here's the whole squad, fr fr:
- the kernel file
./drivers/net/wireless/broadcom/brcm80211/brcmfmac/p2p.cβ the mothership, the birthplace, the address π 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_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. the whole group chat. go say hi to all of them. π«Ά
okay that's the page!! before you close the tab though, the original footer had the source as ./drivers/net/wireless/broadco... (yes it's literally truncated with ... in the original, she's mysterious like that π) and the date as October 2026. so, from the broadcom wireless corner of the kernel to you: mwah, go read p2p.c, and remember β every gas action frame deserves to be correctly identified. bye bestie!! πππ¦β¨πΈπ
π¦ 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