STRUCT IL_LQ_STA(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’… struct il_lq_sta(9) β€” the Kernel API Manual glow-up ✨

okay so bestie, welcome to the Kernel API Manual entry for struct il_lq_sta πŸ’– this is literally the driver's rate scaling state structure, and yes, it's spelled "ilate" in the original NAME line and we are NOT fixing it, we're honoring it, periodt πŸŽ€


🌸 NAME 🌸

struct il_lq_sta β€” the driver's rate scaling ilate structure πŸ’… (yes, "ilate", that's the word, don't @ me, the source said it and we stay faithful to the source πŸ”₯)


πŸ¦‹ SYNOPSIS πŸ¦‹

struct il_lq_sta {
    u8 active_tbl;
    u8 enable_counter;
    u8 stay_in_tbl;
    u8 search_better_tbl;
    s32 last_tpt;
    u32 table_count_limit;
    u32 max_failure_limit;
    u32 max_success_limit;
    u32 table_count;
    u32 total_failed;
    u32 total_success;
    u64 flush_timer;
    u8 action_counter;
    u8 is_green;
    u8 is_dup;
    enum nl80211_band band;
    u32 supp_rates;
    u16 active_legacy_rate;
    u16 active_siso_rate;
    u16 active_mimo2_rate;
    s8 max_rate_idx;
    u8 missed_rate_counter;
    struct il_link_quality_cmd lq;
    struct il_scale_tbl_info lq_info[LQ_SIZE];
    struct il_traffic_load load[TID_MAX_LOAD_COUNT];
    u8 tx_agg_tid_en;
    u32 dbg_fixed_rate;
    struct il_priv *drv;
    int last_txrate_idx;
    u32 last_rate_n_flags;
    u8 is_agg;
 };

like, look at all those fields, she's fully loaded, no notes πŸ‘‘ every single one is copied exactly, character for character, because that's the vibe check we do not fail 🫢


🧚 Members 🧚

(the original just says "Members" with no per-member blurbs, so we're not inventing any, no cap β€” that would be making stuff up and we don't do that here πŸ’€)


⭐ Description ⭐

Pointer to this gets passed back and forth between driver and mac80211 πŸŽ€

that's it, that's the whole description, and honestly? iconic. short queen behavior πŸ’… 😭


🌈 SEE ALSO 🌈

Kernel file ./drivers/net/wireless/intel/iwlegacy/common.h πŸ’–

go read the whole friend group, they're all linked, it's giving found family πŸ¦‹βœ¨


ngl bestie, if you're poking at these fields, make sure you actually know what the driver and mac80211 are doing with them β€” the original doesn't promise anything beyond "pointer gets passed back and forth", and I'm not about to invent behaviour that isn't written down πŸ™ˆ

and that's the page!! πŸŽ€ source path is ./drivers/net/wireless/intel/i... and the date stamp is October 2026 β€” so mark your calendar, future bestie, this manpage says hi from the future πŸ’œβœŒοΈ

πŸ“¦ where this page comes from