STRUCT IEEE80211_TX_RATE_CONTROL(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’… struct ieee80211_tx_rate_control β€” rate control information for/from RC ✨

okay bestie, welcome to the Kernel API Manual entry for struct ieee80211_tx_rate_control πŸŽ€ this is the little bundle of info that gets handed to your rate control algorithm and (sometimes) handed right back, and honestly? it's giving "middleman with main character energy" πŸ¦‹


🌸 SYNOPSIS 🌸

struct ieee80211_tx_rate_control {
    struct ieee80211_hw *hw;
    struct ieee80211_supported_band *sband;
    struct ieee80211_bss_conf *bss_conf;
    struct sk_buff *skb;
    struct ieee80211_tx_rate reported_rate;
    bool rts, short_preamble;
    u32 rate_idx_mask;
    u8 *rate_idx_mcs_mask;
    bool bss;
 };

✨ Members ✨

  • hw β€” the actual hardware that the algorithm is being invoked for 🫢 like, whose radio are we doing math for rn.
  • sband β€” the band this frame is being transmitted on πŸ“‘ so you know which playground we're in.
  • bss_conf β€” the current BSS configuration πŸ‘‘ the whole vibe of the network we're sitting in.
  • skb β€” the skb that will be transmitted, and ngl the control information inside it needs to be filled in ✍️ that's the homework, bestie, don't skip it.
  • reported_rate β€” the rate control algorithm can fill this in to say which rate should be reported to userspace as the current rate and used for rate calculations in the mesh network πŸ’« lowkey the whole point of the field.
  • rts β€” whether RTS will be used for this frame because it is longer than the RTS threshold πŸ“ (long frame = RTS moment, no cap).
  • short_preamble β€” whether mac80211 will request short-preamble transmission if the selected rate supports it ⚑ like, only if, okay? conditional queen.
  • rate_idx_mask β€” user-requested (legacy) rate mask 🎯 old-school but still iconic.
  • rate_idx_mcs_mask β€” user-requested MCS rate mask, and it's NULL if not in use πŸ™ˆ so always vibe-check it before dereferencing, fr fr.
  • bss β€” whether this frame is sent out in AP or IBSS mode 🏠 iykyk.

πŸ¦‹ SEE ALSO πŸ¦‹

the full squad, in order, no one left behind (this is a long group chat, hydrate before reading πŸ’€):


and that's the whole page, bestie πŸ’œ you ate that. now go fill in your skb control info before someone notices πŸ™ˆ

source: ./include/net ⭐ page date: October 2026 β€” mwah, catch you in the next manpage 🫢✨

πŸ“¦ where this page comes from