STRUCT IWL_MAC_CONFIG_CMD(9)
πΈ 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, checkenum iwl_ctxt_actionfor the deets π₯mac_typeβ one ofenum 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 ofenum 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
- 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