ENUM IWL_MAC_CONFIG_FILTER_FLAGS(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

✨ NAME ✨

enum iwl_mac_config_filter_flags β€” the MAC context configuration filter flags, bestie πŸ’…

Okay so real talk, this is the enum that tells the firmware which kinds of frames get filtered (or not) when you configure a MAC context. It's giving "bouncer at the club door deciding who gets in" energy πŸŽ€


πŸ¦‹ SYNOPSIS πŸ¦‹

enum iwl_mac_config_filter_flags {
    MAC_CFG_FILTER_PROMISC ,
    MAC_CFG_FILTER_ACCEPT_CONTROL_AND_MGMT ,
    MAC_CFG_FILTER_ACCEPT_GRP ,
    MAC_CFG_FILTER_ACCEPT_BEACON ,
    MAC_CFG_FILTER_ACCEPT_BCAST_PROBE_RESP ,
    MAC_CFG_FILTER_ACCEPT_PROBE_REQ

};

Like, that's the whole roster πŸ‘‘ six constants, all iconic, all listed below.


🌸 Constants 🌸

Okay so here's the cast of characters, and ngl each one is a little main character:

  • MAC_CFG_FILTER_PROMISC β€” accept all data frames. Yeah, all of them. Promiscuous mode said "I'm not filtering anything, periodt" πŸ”₯
  • MAC_CFG_FILTER_ACCEPT_CONTROL_AND_MGMT β€” pass all management and control frames up to the host. Like, every single one gets a VIP pass to the host πŸ’Œ
  • MAC_CFG_FILTER_ACCEPT_GRP β€” accept multicast frames. Group chat energy fr fr 🫢
  • MAC_CFG_FILTER_ACCEPT_BEACON β€” accept beacon frames. The access points are literally screaming "I'm here!!" and this one says "heard" ✨
  • MAC_CFG_FILTER_ACCEPT_BCAST_PROBE_RESP β€” accept broadcast probe response. Slay, answered πŸŽ€
  • MAC_CFG_FILTER_ACCEPT_PROBE_REQ β€” accept probe requests. Someone's out here asking "anyone there?" and this flag is like "yes bestie, I see you" πŸ¦‹
Not me making a bouncer metaphor for kernel flags β€” but honestly? Accurate. πŸ’€

πŸ’œ SEE ALSO πŸ’œ

Kernel file ./drivers/net/wireless/intel/iwlwifi/fw/api/mac-cfg.h β€” that's where this whole situation lives, iykyk.

And because the kernel doc generator is obsessed with cross-referencing, here's the entire friend group 🫢:

  • 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)
  • 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_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)

Like, that's a lot of siblings, but we love a big family 🌈


Anywaaay, this page came from ./drivers/net/wireless/intel/i... (yes, they truncated it, not me πŸ™ˆ), dated October 2026. Go forth and filter your frames responsibly, bestie πŸ’–βœ¨

πŸ“¦ where this page comes from