rsi_set_antenna(9)
π¦ rsi_set_antenna(9) β a Kernel API Manual moment π¦
okay so bestie, listen. this one lives in the Kernel API Manual, section 9, and it's genuinely such a neat little function. no cap.
β¨ NAME β¨
rsi_set_antenna β this function sends the antenna configuration request to the device. that's it. that's the whole job. she's focused, she's got main character energy, she ships the antenna config and she leaves π
πΈ SYNOPSIS πΈ
int rsi_set_antenna (struct rsi_common *common , u8 antenna );
literally right there. two arguments, returns an int. iconic.
π ARGUMENTS π
commonβ pointer to the driver private structure. yes queen, hand over your driver's whole inner world, she needs it π«Άantennaβ the bitmap for tx antenna selection. it's giving "which antennas are we transmitting on" and honestly? obsessed π
β RETURN β
0on Success π₯- a negative error code on failure π
so like, vibe check the return value, bestie. 0 means slay, anything negative means something went sideways.
π SEE ALSO π
the kernel file we're living in, first of all:
./drivers/net/wireless/rsi/rsi_91x_mgmt.c
and then the whole friend group, in order, no skips:
rsi_set_default_parameters(9)rsi_set_contention_vals(9)rsi_send_internal_mgmt_frame(9)rsi_load_radio_caps(9)rsi_mgmt_pkt_to_core(9)rsi_hal_send_sta_notify_frame(9)rsi_send_aggregation_params_frame(9)rsi_program_bb_rf(9)rsi_set_vap_capabilities(9)rsi_hal_load_key(9)rsi_send_reset_mac(9)rsi_band_check(9)rsi_set_channel(9)rsi_send_radio_params_update(9)rsi_compare(9)rsi_map_rates(9)rsi_send_auto_rate_request(9)rsi_inform_bss_status(9)rsi_eeprom_read(9)rsi_send_block_unblock_frame(9)rsi_send_rx_filter_frame(9)rsi_handle_ta_confirm_type(9)rsi_mgmt_pkt_recv(9)
twenty-three besties and a source file. iykyk πβ¨
lowkey a reminder: rsi_set_antenna sends the antenna configuration request to the device β it does not promise you anything else, so read your return code like the queen you are π
okay that's the page!! mwah π this cutie came out of ./drivers/net/wireless/rsi, dated October 2026, and it's rsi_set_antenna(9) forever and always. go forth, select your antennas, and 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