STRUCT IWL_MAC_DATA_STA(9)
π struct iwl_mac_data_sta(9) β the Kernel API Manual, bestie
okay so picture this: it's a page from the Kernel API Manual, and its whole little job is being the configuration data for station MAC context. that's the NAME line, and yes she ate π
β¨ SYNOPSIS β¨
like, here's literally the whole struct, character for character, no cap:
struct iwl_mac_data_sta {
__le32 is_assoc;
__le32 dtim_time;
__le64 dtim_tsf;
__le32 bi;
__le32 reserved1;
__le32 dtim_interval;
__le32 data_policy;
__le32 listen_interval;
__le32 assoc_id;
__le32 assoc_beacon_arrive_time;
};
(that stray space before the closing brace? iconic. keeping it. π)
πΈ Members πΈ
okay bestie, field-by-field, here's the vibe check on every single one:
is_assocβ1for associated state,0otherwise. that's it, that's the whole field π¦dtim_timeβ the DTIM arrival time, but in system time. clock in, queen β°dtim_tsfβ the DTIM arrival time, in TSF this time. same energy, different timeline β¨biβ beacon interval in TU. lowkey only applicable when associated, so don't come for her when you're not πreserved1β reserved. she's just sitting there. minding her business. πdtim_intervalβ DTIM interval in TU, and again β applicable only when associated πdata_policyβ seeenum iwl_mac_data_policy. go read her page, she's the main character over there πlisten_intervalβ measured in beacon intervals, applicable only when associated. yes, another associated-only baddie π«Άassoc_idβ the unique ID the AP assigns you during association. your little name tag from the AP itself π·οΈassoc_beacon_arrive_timeβ the TSF of the first beacon after association. first beacon post-glow-up, we love to see it π
fr fr notice howbi,dtim_interval, andlisten_intervalall say "applicable only when associated"? that's not a coincidence bestie, that's the whole theme π
π¦ SEE ALSO π¦
go read the source first, it's right here in the kernel file: ./drivers/net/wireless/intel/iwlwifi/fw/api/mac.h β then the whole friend group, in exactly this order:
enum iwl_mac_protection_flags(9)enum iwl_mac_types(9)enum iwl_tsf_id(9)struct iwl_mac_data_ap(9)struct iwl_mac_data_ibss(9)enum iwl_mac_data_policy(9)struct iwl_mac_data_go(9)struct iwl_mac_data_p2p_sta(9)struct iwl_mac_data_pibss(9)enum iwl_mac_filter_flags(9)enum iwl_mac_qos_flags(9)struct iwl_ac_qos(9)struct iwl_mac_ctx_cmd(9)struct iwl_missed_beacons_notif_ver_3(9)struct iwl_missed_beacons_notif_v4(9)struct iwl_he_backoff_conf(9)enum iwl_he_pkt_ext_constellations(9)struct iwl_he_pkt_ext_v1(9)struct iwl_he_pkt_ext_v2(9)enum iwl_he_sta_ctxt_flags(9)enum iwl_he_htc_flags(9)struct iwl_he_sta_context_cmd_v1(9)struct iwl_he_sta_context_cmd_v2(9)struct iwl_he_sta_context_cmd_v3(9)struct iwl_he_monitor_cmd(9)
like, that's a whole squad. iykyk π
and that's the page!! mwah π«Ά this diva came straight out of the kernel file ./drivers/net/wireless/intel/i... (yes it's truncated like that in the footer, don't @ me) and she's stamped October 2026, footer reading struct iwl_mac_data_sta(9) β same as the header, because she's consistent like that. 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