STRUCT IWL_MVM_TID_DATA(9)
π struct iwl_mvm_tid_data(9) β the Kernel API Manual glow-up π
okay so bestie, gather round, because we're diving into a kernel API manual page and honestly? it's giving main character energy. this is struct iwl_mvm_tid_data(9) from the Kernel API Manual, section 9, and it's literally the struct that holds the states for each RA / TID. no cap. π¦
β¨ SYNOPSIS β¨
struct iwl_mvm_tid_data {
u16 seq_number;
u16 next_reclaimed;
__le32 rate_n_flags;
u8 lq_color;
bool amsdu_in_ampdu_allowed;
enum iwl_mvm_agg_state state;
u16 txq_id;
u16 ssn;
u16 tx_time;
unsigned long tpt_meas_start;
u32 tx_count_last;
u32 tx_count;
};
like, look at her. twelve fields. absolutely iconic. π
πΈ Members πΈ
seq_numberβ the next WiFi sequence number to use. simple, cute, does her job. β¨next_reclaimedβ the WiFi sequence number of the next packet to be acked. this is basically(last acked packet++). yeah, that's the whole vibe. πrate_n_flagsβ the rate at which Tx was attempted. she's the little memory holder that keeps the data between the Tx response (TX_CMD) and the block ack notification (COMPRESSED_BA). carrying the group chat receipts, fr fr. πlq_colorβ the color of the LQ command as it appears in tx response. yes she has a color. slay. πamsdu_in_ampdu_allowedβtrueif A-MSDU in A-MPDU is allowed. boolean queen. πstateβ state of the BA agreement establishment / tear down. we love a girl who knows where she is in life (unlike me at 3am). πtxq_idβ Tx queue used by the BA session / DQA. π₯ssnβ the first packet to be sent in AGG HW queue in Tx AGG start flow, or the first packet to be sent in legacy HW queue in Tx AGG stop flow. basically, whennext_reclaimedreachesssn, we can tell mac80211 that we are ready to finish the Tx AGG stop / start flow. lowkey the most important field here and she knows it. πtx_timeβ medium time consumed by this A-MPDU. she's been through a lot, ok? π«Άtpt_meas_startβ time of the throughput measurements start, is reset everyHZ. everyHZ! she refreshes herself like a proper self-care routine. πΈtx_count_lastβ number of frames transmitted during the last second. πtx_countβ counts the number of frames transmitted since the last reset oftpt_meas_start. the long-game counter. β
π SEE ALSO π
the whole friend group, and yes you should follow all of them:
- Kernel file
./drivers/net/wireless/intel/iwlwifi/mvm/sta.h - 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)
- enum iwl_mvm_rxq_notif_type(9)
- struct iwl_mvm_internal_rxq_notif(9)
- struct iwl_mvm_rxq_dup_data(9)
- struct iwl_mvm_link_sta(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)
ok that's the whole page bestie, no details skipped, i would never do that to you π go forth and understand your RA / TID states. periodt. π
and that's a wrap, mwah! this cutie came from source ./drivers/net/wireless/intel/i... and the date on her birth certificate says October 2026 β anyway, struct iwl_mvm_tid_data(9) out. π§β¨
π¦ 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