sta_info_flush(9)
β¨ 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β thesdatayou 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 thatlink_idget removed β like a very specific vibe check π§ if you pass-1instead, 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
- nixpkgs unstable: linux-manual 7.3.1
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms