sta_info_free(9)
πΈ NAME πΈ
sta_info_free(9) β free STA π
β¨ straight outta the Kernel API Manual, section 9, and yes bestie, she's iconic.
π SYNOPSIS π
void sta_info_free (struct ieee80211_local *local , struct sta_info *sta
);
π ARGUMENTS π
localβ pointer to the global information πstaβ STA info to free π¦
β¨ DESCRIPTION β¨
okay so listen: this function must undo everything done by sta_info_alloc that may happen before sta_info_insert. Like, all the alloc-time mess, cleaned up, no cap π
She may only be called when sta_info_insert has not been attempted β and if that fails, the station is freed anyway. So yeah, respect the lifecycle or it's giving undefined-behavior energy π
bestie this is a strict vibe check: don't call her at the wrong point in the station-info lifetime rules, fr fr π«Ά
π SEE ALSO π
- Kernel file
./net/mac80211/sta_info.cβSTA information lifetime rules(9) ieee80211_sta_bw_capability(9)ieee80211_sta_usable_bw(9)ieee80211_sta_current_bw(9)
xoxo, your fav kernel bestie π§π β source/version: ./net/mac80211, dated October 2026; sta_info_free(9) signing off πβ¨
π¦ 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