rsi_get_connected_channel(9)
π
rsi_get_connected_channel β a Kernel API Manual moment (yes, from the 9 section bestie)
okay so you're in the kernel API manual, section 9, and the star of the show is rsi_get_connected_channel. she's not flashy, she's not loud β she just tells you stuff. and honestly? iconic behavior.
β¨ NAME β¨
rsi_get_connected_channel β this function is literally used to get the current connected channel number. that's it, that's the whole job. she's the friend who always knows which channel everyone's on π
π¦ SYNOPSIS π¦
u16 rsi_get_connected_channel (struct ieee80211_vif *vif );
look at her. one argument, one return type, zero drama. copy it exactly, bestie, don't get creative with the spacing π
πΈ ARGUMENTS πΈ
vifβ a pointer to theieee80211_vifstructure. that's the whole vibe. hand her the pointer and she'll do her thing β¨
π RETURN π
the current connected AP's channel number gets returned to you. that's the whole flex. no cap π«Ά
π SEE ALSO π
first up, the kernel file to actually go read if you're nosy (affectionate):
Kernel file ./drivers/net/wireless/rsi/rsi_91x_mac80211.c
and now the full friend group β every single one of them, in order, because we do not skip the squad:
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_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_sta_remove(9)rsi_mac80211_set_antenna(9)rsi_mac80211_get_antenna(9)rsi_mac80211_attach(9)
like, twenty-nine of them. the whole roster showed up. ate and left no crumbs π
heads up bestie: this is the kernel API manual, so if you were looking for a shell command you're in the wrong chat π
mwah, that's the page!! this lil gem lives over in ./drivers/net/wireless/rsi and it's dated October 2026 β so yeah, mark your calendar and stan responsibly π§ββοΈπ
π¦ 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