ENUM IWL_MAC_FILTER_FLAGS(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’… enum iwl_mac_filter_flags(9) πŸ’…

okay so bestie, welcome to the Kernel API Manual β€” yes we're reading kernel API manuals now, we contain multitudes πŸŽ€ β€” and today's main character is enum iwl_mac_filter_flags, aka the MAC context filter flags. it's giving "which frames get to come to the party and which ones get ghosted" energy and honestly? iconic. ✨


🌸 NAME 🌸

enum iwl_mac_filter_flags β€” MAC context filter flags, fr fr πŸ’–


πŸ¦‹ SYNOPSIS πŸ¦‹

like, here's the whole squad, in order, no cap:

enum iwl_mac_filter_flags {
    MAC_FILTER_IN_PROMISC ,
    MAC_FILTER_IN_CONTROL_AND_MGMT ,
    MAC_FILTER_ACCEPT_GRP ,
    MAC_FILTER_DIS_DECRYPT ,
    MAC_FILTER_DIS_GRP_DECRYPT ,
    MAC_FILTER_IN_BEACON ,
    MAC_FILTER_OUT_BCAST ,
    MAC_FILTER_IN_CRC32 ,
    MAC_FILTER_IN_PROBE_REQUEST ,
    MAC_FILTER_IN_11AX

};

⭐ Constants ⭐

okay now the actual lore. one bullet each, all ten of them, let's go πŸ”₯

  • MAC_FILTER_IN_PROMISC β€” accept all data frames. yes, all of them. she's not picky πŸ’…
  • MAC_FILTER_IN_CONTROL_AND_MGMT β€” pass all management and control frames up to the host 🫢
  • MAC_FILTER_ACCEPT_GRP β€” accept multicast frames 🌈
  • MAC_FILTER_DIS_DECRYPT β€” don't decrypt unicast frames (the no-decrypt vibe, but only for unicast) πŸ™ˆ
  • MAC_FILTER_DIS_GRP_DECRYPT β€” don't decrypt multicast frames either πŸ’€
  • MAC_FILTER_IN_BEACON β€” transfer foreign BSS's beacons to the host β€” specifically in station mode when associated, iykyk 🌸
  • MAC_FILTER_OUT_BCAST β€” filter out all broadcast frames. they're not invited 🚫
  • MAC_FILTER_IN_CRC32 β€” extract the FCS and append it to frames ⭐
  • MAC_FILTER_IN_PROBE_REQUEST β€” pass probe requests to the host πŸ‘‘
  • MAC_FILTER_IN_11AX β€” mark the BSS as supporting 802.11ax, periodt 🧚

πŸŽ€ SEE ALSO πŸŽ€

the whole friend group lives in the kernel file ./drivers/net/wireless/intel/iwlwifi/fw/api/mac.h β€” go say hi πŸ’œ and while you're there, these are all linked:

  • 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)
  • enum iwl_mac_data_policy(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_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)

ngl bestie, that's the whole page β€” every flag, every description, not a single crumb skipped πŸ“

okay and before I go: this came from ./drivers/net/wireless/intel/i... and it's dated October 2026, so like… future girlboss documentation, we love to see it πŸ’– that's the sign-off, mwah, go forth and filter those frames 😭✨

πŸ“¦ where this page comes from