rsi_mac80211_sta_remove(9)
π NAME π
okay so bestie, welcome to the rsi_mac80211_sta_remove page from the Kernel API Manual β this is the little function that notifies the driver that a peer is getting disconnected. like, it's the "we're breaking up" text but for your wifi stack. π no cap.
β¨ SYNOPSIS β¨
int rsi_mac80211_sta_remove (struct ieee80211_hw *hw , struct
ieee80211_vif *vif , struct ieee80211_sta *sta );
literally just three pointers in, an int out. she's simple, she's iconic. π
π¦ ARGUMENTS π¦
hwβ pointer to theieee80211_hwstructure. yeah, the big hardware vibes struct. π₯οΈvifβ pointer to theieee80211_vifstructure. the virtual interface representation, main character energy fr fr. πstaβ pointer to theieee80211_stastructure. this one's the station β the peer we're lowkey saying bye to. π
β RETURN β
- returns
0on success π«Ά - returns negative error codes on failure π (so like, check her return value, bestie, don't just ignore it)
π₯ SEE ALSO π₯
the source file lives at ./drivers/net/wireless/rsi/rsi_91x_mac80211.c β go read it, iykyk π
and here's the whole friend group, no skips, no cap:
rsi_is_cipher_wep(9)rsi_register_rates_channels(9)rsi_mac80211_detach(9)rsi_mac80211_rfkill_exit(9)rsi_indicate_tx_status(9)rsi_mac80211_tx(9)rsi_mac80211_start(9)rsi_mac80211_stop(9)rsi_mac80211_add_interface(9)rsi_mac80211_remove_interface(9)rsi_channel_change(9)rsi_config_power(9)rsi_mac80211_config(9)rsi_get_connected_channel(9)rsi_mac80211_bss_info_changed(9)rsi_mac80211_conf_filter(9)rsi_mac80211_conf_tx(9)rsi_hal_key_config(9)rsi_mac80211_set_key(9)rsi_mac80211_ampdu_action(9)rsi_mac80211_set_rts_threshold(9)rsi_mac80211_set_rate_mask(9)rsi_perform_cqm(9)rsi_fill_rx_status(9)rsi_indicate_pkt_to_os(9)rsi_mac80211_sta_add(9)rsi_mac80211_set_antenna(9)rsi_mac80211_get_antenna(9)rsi_mac80211_attach(9)
π§ bestie reminder: this is a kernel function, so play nice β the docs are your friend, and the pointers are not optional.
k bye, mwah π
β sourced from ./drivers/net/wireless/rsi, dated October 2026, rsi_mac80211_sta_remove(9). that's the whole page, slay πβ¨
π¦ 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