ENUM IWL_LINK_CTX_FLAGS(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

okay so bestie, this is a page from the Kernel API Manual and it's literally all about enum iwl_link_ctx_flags β€” yes that's the link context flags πŸŽ€. It lives in the kernel docs, it's giving very much "driver internals but make it cute", and we're gonna go through every single one of these flags together. no skipping, no cap. πŸ¦‹


✨ SYNOPSIS ✨

here's the whole enum, exactly as it is, look at her:

enum iwl_link_ctx_flags {
    LINK_FLG_BSS_COLOR_DIS ,
    LINK_FLG_MU_EDCA_CW ,
    LINK_FLG_RU_2MHZ_BLOCK ,
    LINK_FLG_NDP_FEEDBACK_ENABLED ,
    LINK_FLG_NPCA ,
    LINK_FLG_DPS ,
    LINK_FLG_MLPM ,
    LINK_FLG_DUO

};

like, she's a whole vibe. eight constants, all iconic, all doing something. πŸ’…


🌸 Constants 🌸

okay so here's the tea on each one, one by one, no gatekeeping:

  • LINK_FLG_BSS_COLOR_DIS β€” BSS color disable, meaning don't use the BSS color for the RX filter, and instead use MAC header enabled AGG β€” so both BACK and non-BACK frames go in a single AGG. 🫢
  • LINK_FLG_MU_EDCA_CW β€” this one indicates that there's an element of MU EDCA parameter set, i.e. the backoff counters for trig-based ACs. yes, that's the actual description, I'm not paraphrasing the technical bits bestie 😭
  • LINK_FLG_RU_2MHZ_BLOCK β€” indicates that 26-tone RU OFDMA transmission are not allowed (because there are OBSS that might classify such transmissions as radar pulses). like, rude of them but okay πŸ’€
  • LINK_FLG_NDP_FEEDBACK_ENABLED β€” marks support for NDP feedback and change of threshold. ⭐
  • LINK_FLG_NPCA β€” NPCA enabled. short, sweet, slays. ✨
  • LINK_FLG_DPS β€” the AP is a DPS assisting AP. πŸ‘‘
  • LINK_FLG_MLPM β€” the AP supports UHR multi-link PM. 🌈
  • LINK_FLG_DUO β€” the AP supports UHR DUO. πŸ”₯

that's all eight, all accounted for, nobody left on read. πŸ’œ


πŸ¦‹ SEE ALSO πŸ¦‹

okay this part is a whole friend group, so buckle up. first, the file itself: Kernel file ./drivers/net/wireless/intel/iwlwifi/fw/api/mac-cfg.h, and then all her neighbors:

enum iwl_mac_conf_subcmd_ids(9), struct iwl_p2p_noa_attr(9), struct iwl_probe_resp_data_notif(9), struct iwl_missed_vap_notif(9), struct iwl_channel_switch_start_notif_v1(9), struct iwl_channel_switch_start_notif(9), struct iwl_channel_switch_error_notif_v1(9), struct iwl_channel_switch_error_notif(9), struct iwl_cancel_channel_switch_cmd(9), struct iwl_chan_switch_te_cmd(9), struct iwl_mac_low_latency_cmd(9), struct iwl_mac_client_data(9), struct iwl_mac_p2p_dev_data(9), enum iwl_mac_config_filter_flags(9), struct iwl_mac_wifi_gen_support_v2(9), struct iwl_mac_wifi_gen_support(9), struct iwl_mac_config_cmd_v3(9), struct iwl_mac_nan_data(9), struct iwl_mac_config_cmd(9), enum iwl_link_ctx_modify_flags(9), enum iwl_link_ctx_protection_flags(9), enum iwl_link_modify_bandwidth(9), enum iwl_npca_flags(9), struct iwl_npca_params(9), struct iwl_link_config_cmd(9), enum iwl_fw_sta_type(9), struct iwl_sta_cfg_cmd_v1(9), struct iwl_sta_cfg_cmd_v2(9), struct iwl_sta_cfg_cmd(9), struct iwl_aux_sta_cmd(9), struct iwl_remove_sta_cmd(9), struct iwl_mvm_sta_disable_tx_cmd(9), enum iwl_mvm_fw_esr_recommendation(9), struct iwl_esr_mode_notif_v1(9), enum iwl_esr_leave_reason(9), struct iwl_esr_mode_notif(9), struct iwl_missed_beacons_notif(9), struct iwl_esr_trans_fail_notif(9), struct iwl_twt_operation_cmd(9), struct iwl_nan_band_config(9), enum iwl_nan_flags(9), struct iwl_nan_config_cmd(9), struct iwl_nan_schedule_cmd_v1(9), struct iwl_nan_schedule_cmd(9), struct iwl_nan_peer_cmd(9), enum iwl_nan_cluster_notif_flags(9), struct iwl_nan_cluster_notif(9), struct iwl_nan_dw_end_notif(9), struct iwl_nan_ulw_attr_notif(9), enum iwl_nan_sched_update_status(9), struct iwl_nan_sched_update_completed_notif(9).

like I said. the whole group chat. 😭🫢


ngl bestie, this is kernel wireless driver internals β€” if you're poking at these flags you're already deep in the iwlwifi sauce and I'm proud of you. 🧚

and that's the page!! πŸ’– sign-off time: this little number comes from source ./drivers/net/wireless/intel/i... and it's dated October 2026, so yeah, she's from the future, main character energy fr fr. πŸŽ€πŸ’…

πŸ“¦ where this page comes from