STRUCT STA_OPMODE_INFO(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’– struct sta_opmode_info β€” Kernel API Manual ✨

okay bestie, gather round, because we're doing kernel structs today and honestly? this one's a little cutie. it's called struct sta_opmode_info and it's literally just the station's ht/vht operation mode information, all bundled up in one vibe. πŸ¦‹


🌸 NAME 🌸

struct sta_opmode_info β€” Station's ht/vht operation mode information

like, that's the whole thing. the ht/vht operation mode info. for a station. no cap. πŸ’…


✨ SYNOPSIS ✨

struct sta_opmode_info {
    u32 changed;
    enum nl80211_smps_mode smps_mode;
    enum nl80211_chan_width bw;
    u8 rx_nss;
 };

there she is. four little members, living their best lives. copy it exactly, don't get cute with it. πŸŽ€


🧚 Members 🧚

  • changed β€” this one contains a value from enum wiphy_opmode_flag. that's it, that's the whole job. it's the "what actually changed" field, and it gets its values from that enum. ⭐
  • smps_mode β€” the new SMPS mode value of a station, straight from enum nl80211_smps_mode. new SMPS mode. of a station. said it once and I'll say it again, because that's what it is. πŸ”₯
  • bw β€” the new max bandwidth value of a station, from enum nl80211_chan_width. it's giving "bigger bandwidth, better vibes". 😭 (okay the vibes part is me, the bandwidth-from-that-enum part is the manpage, keep that.)
  • rx_nss β€” the new rx_nss value of a station. it's a u8, it's new, it belongs to a station. icon behavior, honestly. πŸ‘‘

that's part one, and there's more coming so don't go anywhere β€” we're literally just getting started. 🫢

🌸 SEE ALSO 🌸

okay bestie, this is the part where the page hands you the whole friend group. the kernel file is ./include/net/cfg80211.h, and every single (9) bestie below is invited to the group chat. no cap, nothing got left on read β€” even the absurdly long names πŸ’…

…and the rest of the guest list πŸ’… β€” literally every single one of these has its own page, so if you get lost, just go tap on one:

okay that's the regulatory/channel/device-registration corner of the universe, we're moving on ✨

IE splitting, WoWLAN wakeups, and the combo-checker crew β€” the combo checker is lowkey the main character of "can I actually do this" ngl 🫢

NAN, PMSR, OWE, BSS coloring… yes bestie the whole alphabet of Wi-Fi drama is here πŸ’€

6 GHz power types, MLO reconfig, S1G frequency math and debugfs read/write β€” the deep lore. iykyk πŸ”₯


and that's a wrap on struct sta_opmode_info(9) πŸŽ€

source: ./include/net Β· version/date: October 2026 Β· title: struct sta_opmode_info(9)

go forth, read the struct, and slay your driver code bestie β€” you've got this, no cap πŸ’–βœ¨πŸ¦‹

πŸ“¦ where this page comes from