STRUCT IEEE80211_FAST_TX(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’– NAME πŸ’–

okay bestie, welcome to struct ieee80211_fast_tx(9) from the Kernel API Manual β€” we're in kernel TX fastpath territory, and this struct is main character energy. literally:

struct ieee80211_fast_tx - TX fastpath information. periodt. πŸ’…


✨ SYNOPSIS ✨

here's the struct, no cap:

struct ieee80211_fast_tx {
    struct ieee80211_key *key;
    u8 hdr_len;
    u8 sa_offs, da_offs, pn_offs;
    u8 band;
    u8 hdr[30 + 2 + IEEE80211_FAST_XMIT_MAX_IV +
sizeof(rfc1042_header)];
    struct rcu_head rcu_head;
 };

πŸŽ€ Members πŸŽ€

  • key β€” key to use for hw crypto πŸ”‘
  • hdr_len β€” actual 802.11 header length
  • sa_offs β€” offset of the SA
  • da_offs β€” offset of the DA
  • pn_offs β€” offset where to put PN for crypto (or 0 if not needed)
  • band β€” band this will be transmitted on, for tx_info
  • hdr β€” the 802.11 header to put with the frame
  • rcu_head β€” RCU head to free this struct

πŸ’… Description πŸ’…

so the whole vibe: this struct is small enough so that the common case (maximum crypto header length of 8 like for CCMP/GCMP) fits into a single 64-byte cache line. iconic. ✨

πŸ”₯ SEE ALSO πŸ”₯

go read these too, bestie β€” same kernel friend group:

  • Kernel file ./net/mac80211/sta_info.h
  • enum ieee80211_sta_info_flags(9)
  • struct tid_ampdu_tx(9)
  • struct tid_ampdu_rx(9)
  • struct sta_ampdu_mlme(9)
  • struct ieee80211_fast_rx(9)
  • struct mesh_sta(9)
  • struct link_sta_info(9)
  • struct ieee80211_sta_removed_link_stats(9)
  • struct sta_info(9)
  • __sta_info_flush(9)
  • sta_info_flush(9)

sign-off: source/version is ./net/mac80211, date is October 2026, and the page is struct ieee80211_fast_tx(9). mwah πŸ’‹πŸŒΈ

πŸ“¦ where this page comes from