STRUCT IEEE80211_STA_REMOVED_LINK_STATS(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

okay so bestie, this is a page straight out of the Kernel API Manual β€” like, kernel-doc girlies know β€” and the whole thing is about struct ieee80211_sta_removed_link_stats, which is literally just the Removed link sta data. the receipts for links that are gone. no cap. 🫢


✨ NAME ✨

struct ieee80211_sta_removed_link_stats β€” Removed link sta data πŸŽ€


πŸ¦‹ SYNOPSIS πŸ¦‹

here's the whole vibe, character for character, do not touch:

struct ieee80211_sta_removed_link_stats {
    u32 rx_packets;
    u32 tx_packets;
    u64 rx_bytes;
    u64 tx_bytes;
    u32 tx_retries;
    u32 tx_failed;
    u32 rx_dropped_misc;
    u32 beacon_loss_count;
    u32 expected_throughput;
    struct {
      u64 rx_msdu;
      u64 tx_msdu;
      u64 tx_msdu_retries;
      u64 tx_msdu_failed;
    } pertid_stats;
 };

like, look at that nested struct. it's giving main character energy. πŸ’…


🌸 MEMBERS 🌸

every single field, and what it's actually doing for you:

  • rx_packets β€” accumulated packets (MSDUs & MMPDUs) received from this station, for removed links. πŸ“₯
  • tx_packets β€” accumulated packets (MSDUs & MMPDUs) transmitted to this station, for removed links. πŸ“€
  • rx_bytes β€” accumulated bytes (size of MPDUs) received from this station, for removed links.
  • tx_bytes β€” accumulated bytes (size of MPDUs) transmitted to this station, for removed links.
  • tx_retries β€” cumulative retry counts (MPDUs) for removed links. the "girl tried again" counter, honestly. πŸ”
  • tx_failed β€” accumulated number of failed transmissions (MPDUs) β€” retries exceeded, no ACK β€” for removed links. πŸ’€
  • rx_dropped_misc β€” accumulated dropped packets for un-specified reason from this station, for removed links. mystery behavior, we don't investigate. πŸ™ˆ
  • beacon_loss_count β€” Number of times beacon loss event has triggered from this station for removed links. 😭
  • expected_throughput β€” expected throughput in kbps (including 802.11 headers) towards this station for removed links. yes bestie, it's in kbps, write that down. ⭐
  • pertid_stats β€” accumulated per-TID statistics for removed link of station.
    • pertid_stats.rx_msdu β€” accumulated number of received MSDUs towards this station for removed links.
    • pertid_stats.tx_msdu β€” accumulated number of (attempted) transmitted MSDUs towards this station for removed links.
    • pertid_stats.tx_msdu_retries β€” accumulated number of retries (not counting the first) for transmitted MSDUs towards this station for removed links.
    • pertid_stats.tx_msdu_failed β€” accumulated number of failed transmitted MSDUs towards this station for removed links.

🌈 DESCRIPTION 🌈

literally just: keep required accumulated removed link data for stats. that's the whole assignment. it ate and left no crumbs. πŸ‘‘


πŸ”₯ SEE ALSO πŸ”₯

sibling pages, go say hi, they're iconic:

  • 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_tx(9)
  • struct ieee80211_fast_rx(9)
  • struct mesh_sta(9)
  • struct link_sta_info(9)
  • struct sta_info(9)
  • __sta_info_flush(9)
  • sta_info_flush(9)

bestie heads up: this page lives in the ./net/mac80211 directory, dated October 2026, and its manual name is struct ieee...d_link_stats(9) β€” yes the title itself got abbreviated, and honestly? mood. πŸ’œ

okay bye love u, go read the kernel source, slay πŸ’–βœ¨πŸŽ€

πŸ“¦ where this page comes from