sta_info_flush(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

✨ sta_info_flush(9) ✨

okay bestie, welcome to the Kernel API Manual, section 9 πŸŽ€ this one's sta_info_flush and it's literally the "clean out the station table" girlie. no cap, she's the one you call when you need stations gone.


🌸 NAME 🌸

sta_info_flush β€” flush matching STA entries from the STA table πŸ’…

like, she does exactly what her name says. matching STA entries? flushed. table? cleaner. main character energy fr fr.


πŸ¦‹ SYNOPSIS πŸ¦‹

int sta_info_flush (struct ieee80211_sub_if_data *sdata , int link_id );

yeah that's the whole signature, no hidden lore, we love a simple queen πŸ‘‘


πŸ’– ARGUMENTS πŸ’–

  • sdata β€” the sdata you wanna remove all the stations from. she's the target, she's the moment, she's the one getting emptied out 🫢
  • link_id β€” okay so this one's the picky filter. if it's given (meaning >=0), then only the STA entries using that link_id get removed β€” like a very specific vibe check 🧚 if you pass -1 instead, then it's everybody out, all STA entries get removed, no survivors πŸ’€

⭐ RETURN ⭐

returns the number of removed STA entries β€” so you get a little receipt for how many stations got yeeted πŸ”₯


🌈 SEE ALSO 🌈

  • 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 ieee80211_sta_removed_link_stats(9)
  • struct sta_info(9)
  • __sta_info_flush(9)

so yeah, that's the whole page β€” short, iconic, does her job πŸ’œ and before you go: this lil beauty lives in ./net/mac80211, she's dated October 2026, and she's from the Kernel API Manual. slay, go flush some stations responsibly, mwah πŸ“βœ¨

πŸ“¦ where this page comes from