rsi_mac80211_get_antenna(9)
β¨ rsi_mac80211_get_antenna β¨
okay bestie, so this is a page from the Kernel API Manual (yes, the kernel has lore too π
) and today's main character is rsi_mac80211_get_antenna β the function that is used to configure tx and rx antennas. literally what it says on the tin, no cap π¦
π SYNOPSIS π
int rsi_mac80211_get_antenna (struct ieee80211_hw *hw , int radio_idx ,
u32 *tx_ant , u32 *rx_ant );
that's the whole vibe check right there β four args, one int coming back at you πΈ
π«Ά ARGUMENTS π«Ά
hwβ pointer to theieee80211_hwstructure. you know, the big one πradio_idxβ radio index. which radio we're talking about, iykyktx_antβ bitmap for tx antenna π‘ the sending onerx_antβ bitmap for rx antenna π‘ the receiving one
not me stressing thattx_antandrx_antare bitmaps and not just numbers β keep that energy, bestie, it matters π
β RETURN β
0 on success, negative error codes on failure. so like, zero is the slay, anything negative is the situation π
π SEE ALSO π
the kernel file it lives in is literally right here:
./drivers/net/wireless/rsi/rsi_91x_mac80211.c
and here's the whole friend group π:
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_sta_remove(9)rsi_mac80211_set_antenna(9)rsi_mac80211_attach(9)
and that's the page, bestie π§π this whole thing came out of ./drivers/net/wireless/rsi β Kernel API Manual, dated October 2026. go configure those antennas, periodt π₯
π¦ 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