STRUCT AFX_HDL(9)
πΈ struct afx_hdl β action frame off channel storage πΈ
ok so this is straight out of the Kernel API Manual (struct afx_hdl(9) section, section 9, kernel docs bestie π
) and it's literally the lil storage blob for action frame off channel stuff. yes that's a lot of words. stay with me π«Ά
β¨ NAME β¨
struct afx_hdl β action frame off channel storage.
like, the whole personality is right there in the name. it holds things. it stores things. action frames, off channel. iconic behavior honestly π
β¨ SYNOPSIS β¨
struct afx_hdl {
struct work_struct afx_work;
struct completion act_frm_scan;
bool is_active;
s32 peer_chan;
bool is_listen;
u16 my_listen_chan;
u16 peer_listen_chan;
u8 tx_dst_addr[ETH_ALEN];
};
no cap, that's the whole struct. every field, character for character, don't @ me π€
β¨ MEMBERS β¨
okay now the good part, let's meet the cast π
afx_workβ the worker thread for searching channel π this is the little guy doing the actual searching, main character energy nglact_frm_scanβ thread synchronizing struct. it's the vibes coordinator π keeps the threads in sync fr fris_activeβ channel searching active. abool, so it's very much a yes/no girlie πpeer_chanβ current channel. ans32holding whatever channel we're on rn π‘is_listenβ sets mode for afx worker. anotherboollowkey just flipping the worker's whole mode πmy_listen_chanβ this peers listen channel. au16, and yes the grammar is exactly as the original says it, I'm not touching it πpeer_listen_chanβ remote peers listen channel. alsou16, the other side of the story π¦tx_dst_addrβ mac address where tx af should be sent to. Type isu8 tx_dst_addr[ETH_ALEN], so it's a whole MAC address array, not a single byte, don't get it twisted β
heads up bestie:peer_chaniss32but the listen channels areu16andtx_dst_addrisu8[ETH_ALEN]β the types are NOT interchangeable, keep them exactly as written π
β¨ SEE ALSO β¨
go read these next, they're the friend group π«Ά
- Kernel file
./drivers/net/wireless/broadcom/brcm80211/brcmfmac/p2p.h enum p2p_bss_type(9)struct p2p_bss(9)enum brcmf_p2p_status(9)struct brcmf_p2p_info(9)
and that's the whole page, no notes π
sign-off era: this came from ./drivers/net/wireless/broadco... (yes the page really does truncate the path like that, we love a mysterious queen) and it's dated October 2026 β so go forth, search some channels, sync some threads, and slay β¨ππ₯
π¦ 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