STRUCT IWL_MAC_CONFIG_CMD(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

🌸 NAME 🌸

okay bestie, so this is literally struct iwl_mac_config_cmd β€” the command structure to configure MAC contexts in the MLD API for versions 4, and you know the command ID is MAC_CONTEXT_CONFIG_CMD = 0x8 πŸ’…. it's giving main character energy in the kernel API manual, fr fr.


✨ SYNOPSIS ✨

struct iwl_mac_config_cmd {
    __le32 id_and_color;
    __le32 action;
    __le32 mac_type;
    u8 local_mld_addr[6];
    __le16 reserved_for_local_mld_addr;
    __le32 filter_flags;
    union {
      struct iwl_mac_wifi_gen_support_v2 wifi_gen_v2;
      struct iwl_mac_wifi_gen_support wifi_gen;
    };
    __le32 nic_not_ack_enabled;
    union {
      struct iwl_mac_client_data client;
      struct iwl_mac_p2p_dev_data p2p_dev;
      struct iwl_mac_nan_data nan;
    };
 };

like, this is the whole vibe of the struct β€” don't touch it, it's iconic ✨


πŸ’… Members πŸ’…

  • id_and_color β€” the ID and color of the MAC, no cap πŸŽ€
  • action β€” the action to perform, check enum iwl_ctxt_action for the deets πŸ”₯
  • mac_type β€” one of enum iwl_mac_types, pick your fighter πŸ’…
  • local_mld_addr β€” the mld address, periodt πŸ¦‹
  • reserved_for_local_mld_addr β€” reserved, don't touch, it's giving placeholder vibes πŸ™ˆ
  • filter_flags β€” a combination of enum iwl_mac_config_filter_flags, mix and match bestie 🌸
  • {unnamed_union} β€” anonymous, lowkey mysterious πŸ’€
  • wifi_gen_v2 β€” he/eht parameters as in cmd version 2, vintage but valid ✨
  • wifi_gen β€” he/eht/uhr parameters as in cmd version 3, the upgraded vibe πŸš€
  • nic_not_ack_enabled β€” marks that the NIC doesn't support receiving ACK-enabled AGG (that's both BACK and non-BACK frames in a single AGG, iykyk). if the NIC is not ACK_ENABLED it may use the EOF-bit in the first non-0 len delim to determine if it's AGG or single. fr fr, that's important πŸ’…
  • {unnamed_union} β€” anonymous, again, still mysterious 🫢
  • client β€” client mac data, the main character energy πŸ‘‘
  • p2p_dev β€” mac data for p2p device, peer-to-peer slay 🌈
  • nan β€” NAN specific data (NAN data interface addresses), niche but iconic ⭐

πŸŽ€ SEE ALSO πŸŽ€

first up, the kernel file is literally ./drivers/net/wireless/intel/iwlwifi/fw/api/mac-cfg.h β€” go check it out bestie πŸ’–. then here's the whole squad of related references, no skips:

  • 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)
  • enum iwl_link_ctx_modify_flags(9)
  • enum iwl_link_ctx_protection_flags(9)
  • enum iwl_link_ctx_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)

that's the whole page, bestie. this manual is brought to you by the kernel source at ./drivers/net/wireless/intel/i... and the October 2026 date, and the page itself is literally struct iwl_mac_config_cmd(9) β€” slay and goodbye πŸ’–βœ¨

πŸ“¦ where this page comes from