ENUM IEEE80211_SDATA_STATE_BITS(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’– enum ieee80211_sdata_state_bits β€” virtual interface state bits πŸ’–

okay bestie so this one is from the Kernel API Manual, section 9, and it's literally just a lil enum that keeps track of what mood your virtual interface is in rn. three states, no cap. πŸ¦‹


✨ NAME ✨

enum ieee80211_sdata_state_bits β€” virtual interface state bits 🌸


πŸŽ€ SYNOPSIS πŸŽ€

enum ieee80211_sdata_state_bits {
    SDATA_STATE_RUNNING ,
    SDATA_STATE_OFFCHANNEL ,
    SDATA_STATE_OFFCHANNEL_BEACON_STOPPED

};

that's it, that's the whole vibe. three members, very demure, very mindful. πŸ’…


🌈 Constants 🌈

  • SDATA_STATE_RUNNING β€” the virtual interface is up & running πŸ’– and this mirrors netif_running but it's kept separate so interface type change handling still works while the interface is up. like, they're twins but not the same person, iykyk ✨
  • SDATA_STATE_OFFCHANNEL β€” this interface is currently in offchannel mode rn, so the queues are stopped 😭 she's off doing her own thing, the queues are just waiting at home.
  • SDATA_STATE_OFFCHANNEL_BEACON_STOPPED β€” beaconing was stopped because of offchannel 🌸 gets reset when offchannel returns. she'll be back, no worries 🫢

πŸ‘‘ SEE ALSO πŸ‘‘

kernel file ./net/mac80211/ieee80211_i.h enum β€” that's where she lives, go say hi 🏠

and the whole friend group, like the most iconic group chat ever:

  • ieee80211_bss_corrupt_data_flags(9)
  • enum ieee80211_bss_valid_data_flags(9)
  • enum ieee80211_packet_rx_flags(9)
  • enum ieee80211_rx_flags(9)
  • struct ieee80211_if_ocb(9)
  • struct ieee80211_mesh_sync_ops(9)
  • struct mesh_table(9)
  • struct mesh_tx_cache(9)
  • enum ieee80211_sub_if_data_flags(9)
  • enum ieee80211_chanctx_mode(9)
  • enum ieee80211_chanctx_replace_state(9)
  • struct txq_info(9)
  • struct ieee80211_if_nan(9)
  • struct ieee80211_if_nan_data(9)
  • enum mac80211_scan_flags(9)
  • enum mac80211_scan_state(9)
  • ieee80211_parse_ch_switch_ie(9)
  • struct ieee80211_elems_parse_params(9)

lowkey a whole ecosystem in that SEE ALSO, bestie. click through and you'll be in the mac80211 lore for hours πŸ˜­πŸ’€

okay and finally, the cute lil sign-off: this one's filed under ./net/mac80211, dated October 2026, and it's page enum ieee80211_sdata_state_bits(9) of the Kernel API Manual. periodt. πŸ’œπŸŽ€

πŸ“¦ where this page comes from