ENUM IEEE80211_STA_STATE(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸŽ€ ok bestie, let's talk enum ieee80211_sta_state πŸŽ€

so this little cutie lives in the Kernel API Manual, and the page is literally called enum ieee80211_sta_state(9). it's giving "small enum, big main character energy" and honestly? obsessed. it's the state machine for a station in mac80211, and once you get the vibe check you'll never unsee it πŸ’…


🌸 NAME 🌸

enum ieee80211_sta_state β€” station state. that's it, that's the whole name, no cap. it's just the enum that tracks what stage of life a station is currently in ✨


πŸ¦‹ SYNOPSIS πŸ¦‹

enum ieee80211_sta_state {
    IEEE80211_STA_NOTEXIST ,
    IEEE80211_STA_NONE ,
    IEEE80211_STA_AUTH ,
    IEEE80211_STA_ASSOC ,
    IEEE80211_STA_AUTHORIZED

};

look at her. five constants, in order, immaculate. copy it exactly, don't get cute with it πŸ™ˆ


✨ Constants ✨

okay so here's the whole glow-up journey a station goes on, in order:

  • IEEE80211_STA_NOTEXIST β€” station doesn't exist at all 😭 this one is a special state just for the add/remove transitions, so it's like the "no thoughts, head empty, not even here yet" phase.
  • IEEE80211_STA_NONE β€” station exists, but without any special state. she's here, she's just vibing, nothing extra 🫢
  • IEEE80211_STA_AUTH β€” station is authenticated πŸ”₯ the handshake said yes.
  • IEEE80211_STA_ASSOC β€” station is associated πŸŽ€ now she's actually linked up.
  • IEEE80211_STA_AUTHORIZED β€” station is authorized (802.1X) πŸ‘‘ the final boss form, the full send, the "you may enter" moment.
fr fr keep the order in mind β€” it's NOTEXIST β†’ NONE β†’ AUTH β†’ ASSOC β†’ AUTHORIZED, and NOTEXIST is only for add/remove transitions, so don't go treating it like a normal everyday state πŸ’€

🌈 SEE ALSO 🌈

okay bestie, sit down, hydrate, because the SEE ALSO on this page is a whole friend group. like, everyone showed up to the party. here's the entire guest list, in the exact order the page gives it:

and yeah β€” that's the WHOLE list, nobody got left out, not even one 😀 every single (9) is exactly where it belongs. iykyk.


that's the page, bestie πŸ’– it came to you straight out of ./include/net, dated October 2026, and it's the enum ieee80211_sta_state(9) page out of the Kernel API Manual. go forth, know your station states, and slay βœ¨πŸ’…πŸŽ€

πŸ“¦ where this page comes from