STRUCT IL_HT_AGG(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ‘‘ struct il_ht_agg(9) πŸ’…

okay so this is from the Kernel API Manual, bestie β€” and it's literally the receipt-keeping struct for that awkward little moment where your driver is just standing there waiting for a block-ack to show up. bestie behavior honestly 🫢


✨ NAME ✨

struct il_ht_agg β€” aggregation status while waiting for block-ack πŸŽ€


🌸 SYNOPSIS 🌸

struct il_ht_agg {
    u16 txq_id;
    u16 frame_count;
    u16 wait_for_ba;
    u16 start_idx;
    u64 bitmap;
    u32 rate_n_flags;
  #define IL_AGG_OFF 0;
  #define IL_AGG_ON 1;
  #define IL_EMPTYING_HW_QUEUE_ADDBA 2;
  #define IL_EMPTYING_HW_QUEUE_DELBA 3;
    u8 state;
 };

no cap, those #define lines are sitting right inside the struct in the synopsis and I copied them exactly, semicolons and all β€” don't come for me, that's how the page does it πŸ’€


πŸ¦‹ Members πŸ¦‹

  • txq_id β€” the Tx queue that was used for the Tx attempt, iykyk ✨
  • frame_count β€” how many frames the Tx command attempted πŸ”₯
  • wait_for_ba β€” expect a block-ack before the next Tx reply, so like... patience, girly πŸ’…
  • start_idx β€” the index of the 1st Transmit Frame Descriptor (TFD) in the Tx win πŸ‘‘
  • rate_n_flags β€” the rate at which Tx was attempted, locked in ⭐

🌈 Description 🌈

so here's the vibe: if C_TX indicates that aggregation was attempted, the driver must wait for block ack (N_COMPRESSED_BA) β€” like, no skipping ahead, that's the rule 😀

this struct is where all the tx reply info gets stored and held until that block ack actually arrives. it's giving "holding your bestie's iced coffee while she ties her shoe" energy fr fr πŸ“

lowkey important: the driver must wait. not "should", not "maybe", must. the struct is literally just sitting there holding the info until the block ack pulls up πŸ™ˆ

πŸ’œ SEE ALSO πŸ’œ

starting from the kernel file ./drivers/net/wireless/intel/iwlegacy/common.h, we got the whole friend group πŸ’–:

all of them, in order, none skipped β€” that's the whole squad and I love that for them 🧚


mkay that's the whole page!! πŸ’… source/version vibes: ./drivers/net/wireless/intel/i... (yes it's truncated like that on the page, iconic) and the date is October 2026 β€” so this manpage is literally from the future, main character energy fr πŸŒΈπŸ¦‹βœ¨

πŸ“¦ where this page comes from