STRUCT SURVEY_INFO(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

✨ NAME ✨

struct survey_info β€” channel survey response, straight from the Kernel API Manual, section 9, bestie. It's the struct that holds a channel survey report, and honestly it's giving "receipts for radio time" πŸ’….

πŸŽ€ SYNOPSIS πŸŽ€

struct survey_info {
    struct ieee80211_channel *channel;
    u64 time;
    u64 time_busy;
    u64 time_ext_busy;
    u64 time_rx;
    u64 time_tx;
    u64 time_scan;
    u64 time_bss_rx;
    u32 filled;
    s8 noise;
 };

🧚 Members 🧚

Okay so field-by-field vibe check, no cap:

  • channel β€” the channel this survey record reports. It may be NULL for a single record to report global statistics.
  • time β€” amount of time in ms the radio was turn on (on the channel). Yes, the manpage says "turn on", not "turned on" β€” I'm just carrying the vibe 😭.
  • time_busy β€” amount of time the primary channel was sensed busy.
  • time_ext_busy β€” amount of time the extension channel was sensed busy.
  • time_rx β€” amount of time the radio spent receiving data.
  • time_tx β€” amount of time the radio spent transmitting data.
  • time_scan β€” amount of time the radio spent for scanning.
  • time_bss_rx β€” amount of time the radio spent receiving data on a local BSS.
  • filled β€” bitflag of flags from enum survey_info_flags.
  • noise β€” channel noise in dBm. This and all following fields are optional. Noted, bestie: optional is optional. 🫢

πŸ’– Description πŸ’–

Used by dump_survey to report back per-channel survey information. Literally its whole job, and it ate. ✨

This structure can later be expanded with things like channel duty cycle etc. So it's got room to grow, which is lowkey iconic. 🌈

✨ SEE ALSO ✨

okay so this part is literally the extended friend group of struct survey_info β€” every single page it links arms with. bestie, there are so many, and i kept every one because i love you and i refuse to skip the boring parts πŸ’– go click around, iykyk.

and yes bestie, every single one of those is a real page in the original list, no cap β€” this is not the end of the page though, so keep scrolling πŸ’…βœ¨

Okay bestie, last batch of the SEE ALSO fam β€” grab a snack, this is the final stretch πŸ’…


And that's the whole list, no crumbs left, we ate πŸ“ Every single cross-reference is right there β€” tap any of them and your terminal will serve you the whole other page, iykyk ✨

Heads up bestie: these are all (9) pages, meaning they're kernel-internal API docs, not your regular user commands. Don't go typing them into a shell expecting a binary to pop out 😭

Sign-off time πŸŽ€ This little beauty lives in the source tree at ./include/net, stamped October 2026, and it's filed under struct survey_info(9) β€” that's the name you'll use to pull it back up with man 9 struct_survey_info. Go forth and survey, icon πŸ‘‘πŸ’œ

πŸ“¦ where this page comes from