STRUCT IL_RATE_SCALE_DATA(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’… struct il_rate_scale_data

okay so bestie, welcome to the Kernel API Manual page for struct il_rate_scale_data β€” and yes, it lives in ./drivers/net/wireless/intel/iwlegacy/common.h, you're welcome 🫢


✨ NAME ✨

struct il_rate_scale_data β€” tx success history for one rate πŸ“ˆ

Like, that's the whole vibe. It's the lil bookkeeping struct that keeps track of how a single rate has been doing on transmit. one rate. one history. one icon. periodt πŸ’…


🌸 SYNOPSIS 🌸

struct il_rate_scale_data {
    u64 data;
    s32 success_counter;
    s32 success_ratio;
    s32 counter;
    s32 average_tpt;
    unsigned long stamp;
 };

not me showing you the entire struct verbatim because I would never leave a field out 😭 six members, all present and accounted for, no cap:

  • u64 data πŸ“
  • s32 success_counter ✨
  • s32 success_ratio πŸ’–
  • s32 counter πŸŽ€
  • s32 average_tpt πŸ¦‹
  • unsigned long stamp ⭐

πŸ‘‘ Members πŸ‘‘

so this section is literally called Members, and ngl, that's the entire section β€” the page gives you the member list (up above in the struct, bestie, look at it πŸ‘€) and then doesn't spell out each one individually here. so I'm not gonna sit here and invent explanations for data, success_counter, success_ratio, counter, average_tpt, and stamp, because making stuff up is not the move πŸ™ˆ

what I can tell you is exactly what's already true: this struct is tx success history for one rate, it's got those six fields with those exact types, and it hangs out in ./drivers/net/wireless/intel/iwlegacy/common.h. that's the tea, fr fr β˜•


🌈 SEE ALSO 🌈

the whole friend group showed up, and I'm obsessed 🫢 every single one:

also worth clocking: the file path is Kernel file ./drivers/net/wireless/intel/iwlegacy/common.h β€” same one from the top, just so you have it in writing πŸ’–

and that's the page!! mwah πŸ’‹ it's sourced from ./drivers/net/wireless/intel/i... and dated October 2026, which is giving main character energy for a timestamp ngl. go read your kernel source bestie, slay πŸ§šβ€β™€οΈβ­

πŸ“¦ where this page comes from