ENUM IEEE80211_INTERFACE_ITERATION_FLAGS(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’– enum ieee80211_interface_iteration_flags(9) πŸ’–

okay so bestie, welcome to the Kernel API Manual ✨ β€” this one is literally the enum that tells mac80211 which interfaces you want to loop over. it's giving "who's invited to the iteration party" energy πŸŽ€


🌸 NAME 🌸

enum ieee80211_interface_iteration_flags β€” interface iteration flags πŸ’…


✨ SYNOPSIS ✨

enum ieee80211_interface_iteration_flags {
    IEEE80211_IFACE_ITER_NORMAL ,
    IEEE80211_IFACE_ITER_RESUME_ALL ,
    IEEE80211_IFACE_ITER_ACTIVE ,
    IEEE80211_IFACE_SKIP_SDATA_NOT_IN_DRIVER

};

πŸŽ€ CONSTANTS πŸŽ€

like, four vibes, each one changes who gets iterated. no cap 🫢

  • IEEE80211_IFACE_ITER_NORMAL β€” iterates over all the interfaces that have been added to the driver. cute and normal, right? BUT ⚠️ heads up: during hardware reconfiguration (like after restart_hw) it will iterate over a new interface and over all the existing interfaces even if they haven't been re-added to the driver yet. so "normal" is lowkey doing the most in that one specific moment 😭
  • IEEE80211_IFACE_ITER_RESUME_ALL β€” during resume, iterate over all interfaces, even if they haven't been re-added to the driver yet. resume day means everyone shows up to the group chat πŸ’Œ
  • IEEE80211_IFACE_ITER_ACTIVE β€” iterate only active interfaces (netdev is up). if your netdev is down, you're not on the list, bestie πŸ™ˆ
  • IEEE80211_IFACE_SKIP_SDATA_NOT_IN_DRIVER β€” skip any interfaces where SDATA is not in the driver. the manpage is fr fr about this one: this may fix crashes during firmware recovery for instance. so yeah, it's giving safety net 🧚✨

πŸ”₯ SEE ALSO πŸ”₯

the reading list is long, so buckle up buttercup β€” kernel file ./include/net/mac80211.h first, then the whole squad πŸ’œ


and that's the whole thing, bestie πŸ¦‹ this page lives in ./include/net and its version stamp says October 2026 β€” so yeah, very main character of it πŸ’… the footer still calls it enum ieee802...ration_flags(9) because the title got truncated and honestly? iconic. periodt βœ¨πŸŽ€

πŸ“¦ where this page comes from