STRUCT IL_RATE_SCALE_DATA(9)
π 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:
struct il_device_cmd(9)struct il_device_cmd_huge(9)struct il_rx_queue(9)struct il_ht_agg(9)struct il_vif_priv(9)struct il_hw_params(9)struct il_cfg(9)il_clear_driver_stations(9)il_sta_id_or_broadcast(9)il_queue_inc_wrap(9)il_queue_dec_wrap(9)il_beacon_time_mask_low(9)il_beacon_time_mask_high(9)struct il_rb_status(9)struct il_tfd_tb(9)struct il_tfd(9)struct il_scale_tbl_info(9)struct il_lq_sta(9)il3945_rate_scale_init(9)
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
- nixpkgs unstable: linux-manual 7.3.1
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms