STRUCT IWL_MVM_LINK_STA(9)
π struct iwl_mvm_link_sta(9) π
okay so bestie, this is a page straight out of the Kernel API Manual β¨ and it's literally all about struct iwl_mvm_link_sta β the link-specific deets of a station. yes, that station. we're getting into the per-link gossip today π
β¨ NAME β¨
struct iwl_mvm_link_sta β link specific parameters of a station π«Ά
πΈ SYNOPSIS πΈ
here's the shape of it, no cap, copied exactly:
struct iwl_mvm_link_sta {
struct rcu_head rcu_head;
u32 sta_id;
union {
struct iwl_lq_sta_rs_fw rs_fw;
struct iwl_lq_sta rs_drv;
} lq_sta;
u16 orig_amsdu_len;
u8 avg_energy;
};
like, that's the whole vibe check of the struct π
π¦ Members π¦
okay now the main characters, one by one π
rcu_headβ used for freeing the data. it's giving cleanup crew energy π§Ήsta_idβ the index of the station in the fw. that's its little fw ID badge πlq_staβ holds rate scaling data, either for the case when RS is done in the driver βrs_drvβ or in the FW βrs_fw. two paths, one union, both iconic πorig_amsdu_lenβ used to save the originalamsdu_lenwhen it is changed via debugfs. and if it's set to0, it means that it's not set via debugfs. lowkey important, don't forget it πavg_energyβ energy as reported by FW statistics notification. it's literally the station's aura reading β‘
π SEE ALSO π
go read these next, bestie, they're all connected, iykyk:
- Kernel file
./drivers/net/wireless/intel/iwlwifi/mvm/sta.hβ that's the home base π DQA - Dynamic Queue Allocation -introduction(9)station table - introduction(9)station table - locking(9)station table - internal stations(9)station table - AP Station in STA mode(9)station table - Drain vs. Flush(9)station table - fw restart(9)AP mode - PS(9)enum iwl_mvm_agg_state(9)struct iwl_mvm_tid_data(9)enum iwl_mvm_rxq_notif_type(9)struct iwl_mvm_internal_rxq_notif(9)struct iwl_mvm_rxq_dup_data(9)struct iwl_mvm_sta(9)struct iwl_mvm_int_sta(9)iwl_mvm_sta_send_to_fw(9)struct iwl_mvm_sta_state_ops(9)
fr fr though β this whole thing lives in ./drivers/net/wireless/intel/i... and it's dated October 2026, so bestie... mark your calendar ποΈπ
and that's the page!! mwah, slay, go read the kernel source π«Άπβ¨ periodt
π¦ 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