ENUM IWL_MAC_FILTER_FLAGS(9)
π 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
- 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