ENUM IWL_MAC_DATA_POLICY(9)
π enum iwl_mac_data_policy(9) β the group chat version
okay so this is a page from the Kernel API Manual, bestie β it's all about enum iwl_mac_data_policy, which is literally "policy of the data path for this MAC". That's the whole vibe. It's the little enum that tells the firmware how the data path for a given MAC should behave, and every single one of its members is a whole personality. Let's get into it π
β¨ SYNOPSIS β¨
Here's the whole squad, exactly as declared:
enum iwl_mac_data_policy {
TWT_SUPPORTED ,
MORE_DATA_ACK_SUPPORTED ,
FLEXIBLE_TWT_SUPPORTED ,
PROTECTED_TWT_SUPPORTED ,
BROADCAST_TWT_SUPPORTED ,
COEX_HIGH_PRIORITY_ENABLE
};
periodt. six constants, no more, no less π
πΈ Constants πΈ
okay so now the meet-the-cast portion of the program β each of these is a flag you can set in this policy, and ngl they're all doing very different jobs:
TWT_SUPPORTEDβ twt is supported. yes bestie, that's the entire description, it's giving "confident and brief" and honestly? iconic. TWT is supported, that's it, that's the whole tweet π¦MORE_DATA_ACK_SUPPORTEDβ the AP supports More Data Ack per paragraph 9.4.1.17 in the P802.11ax_D4 specification. and why do we care? because it's used for TWT early termination detection π₯ so like, this one's the little bird that tells you the TWT party might be ending early. very "someone left the group chat" energy.FLEXIBLE_TWT_SUPPORTEDβ the AP supports a flexible TWT schedule. flexible! not rigid! we love a schedule with range π¦PROTECTED_TWT_SUPPORTEDβ the AP supports protected TWT frames (with11w). that's the protected-management-frames situation, so these TWT frames come with a little security blanket π«ΆBROADCAST_TWT_SUPPORTEDβ the AP and the STA both support broadcast TWT. it takes two to tango, fr fr β both sides gotta be in on it πCOEX_HIGH_PRIORITY_ENABLEβ high priority mode for BT coex, to be used during802.1Xnegotiation (and allowed during4-way-HS). so this is the "excuse me, coming through" mode for Bluetooth coexistence β it's on deck while802.1Xnegotiation is happening, and it's permitted during4-way-HStoo. main character energy in the airwaves, but only at the approved moments π
lowkey reminder:COEX_HIGH_PRIORITY_ENABLEis scoped to802.1Xnegotiation and allowed during4-way-HSβ don't go throwing it around outside those windows, iykyk π
π SEE ALSO π
the rabbit hole is deep and honestly kind of gorgeous. this enum lives in the kernel file ./drivers/net/wireless/intel/iwlwifi/fw/api/mac.h, and here's everything it's adjacent to β like the whole extended friend group:
- 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) - struct
iwl_mac_data_sta(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, twenty-six entries, no cap. go read them, it's a whole binge-watch π
and that's the page!! π this lil writeup came from ./drivers/net/wireless/intel/i... (scroll to the bottom of the original and it's the same path, just a little truncated β¨) and it's dated October 2026, all under enum iwl_mac_data_policy(9) in the Kernel API Manual. slay, go forth and configure your MAC data path policy with confidence, 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