STRUCT IWL_LQ_STA_RS_FW(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

okay bestie, welcome to the Kernel API Manual entry for struct iwl_lq_sta_rs_fw ✨ this is the little struct that holds all the rate-and-friends stats for RS living in FW β€” and honestly? it's giving "small but crucial" πŸŽ€


🌸 NAME

struct iwl_lq_sta_rs_fw β€” rate and related statistics for RS in FW πŸ’–


✨ SYNOPSIS

struct iwl_lq_sta_rs_fw {
    u32 last_rate_n_flags;
    struct lq_sta_pers_rs_fw {
      u32 sta_id;
  #ifdef CONFIG_MAC80211_DEBUGFS;
      u32 dbg_fixed_rate;
      u16 dbg_agg_frame_count_lim;
  #endif;
      u8 chains;
      s8 chain_signal[IEEE80211_MAX_CHAINS];
      s8 last_rssi;
      struct iwl_mvm *drv;
    } pers;
 };

no cap, that nested pers struct is the whole personality of this thing 🫢


πŸ¦‹ Members

  • last_rate_n_flags β€” the last rate that FW reported back to you, periodt πŸ“‘
  • pers β€” the persistent fields, aka the stuff that sticks around πŸ’Ύ
  • pers.sta_id β€” the id of the station, iconic little identifier πŸ‘‘
  • pers.dbg_fixed_rate β€” debug-only: if it's not 0, use a fixed rate. fr fr, only for debug πŸ™ˆ
  • pers.dbg_agg_frame_count_lim β€” debug-only: the max number of frames in an A-MPDU πŸ”₯
  • pers.chains β€” a bitmask of the chains reported in chain_signal 🧚
  • pers.chain_signal β€” per-chain signal strength, one for each chain, so thoughtful 🌈
  • pers.last_rssi β€” the last rssi that got reported πŸ“Ά
  • pers.drv β€” a pointer back to the driver data, a little boomerang moment πŸͺƒ
heads up: dbg_fixed_rate and dbg_agg_frame_count_lim are chill but they're debug fields β€” they live behind CONFIG_MAC80211_DEBUGFS, so don't count on them being there πŸ’€

πŸŽ€ SEE ALSO


that's the whole vibe bestie, go forth and rate-control responsibly πŸ’œ

✧ο½₯゚ source & vibes ゚ο½₯✧ this slice of the Kernel API Manual is dated October 2026, and it comes to you from the good people at ./drivers/net/wireless/intel/i... β€” mwah, sending love to whoever maintains that path πŸ“πŸ’…

πŸ“¦ where this page comes from