rsi_map_rates(9)
π rsi_map_rates β the Kernel API Manual, section 9, bestie β¨
Okay so picture this: you're deep in the RSI wireless driver (./drivers/net/wireless/rsi), and you've got a standard rate that needs to become a hw rate. That's literally the whole job of rsi_map_rates. It maps selected rates to hw rates. No cap, that's it, that's the function. π
β¨ SYNOPSIS β¨
bool rsi_map_rates (u16 rate , int *offset );
Like, two things go in, truthiness comes out. We love a tidy signature. π«Ά
πΈ ARGUMENTS πΈ
rateβ the standard rate that you want mapped. That's the main character of this whole operation, ngl. πoffsetβ the offset that will be returned. It's a pointer, so the function hands the value back through it. Iconic behaviour. π«
π₯ RETURN π₯
Returns 0 if it's an mcs rate, else 1. That's it. That's the vibe check. π
Heads up bestie: those are the only two outcomes written here β0for mcs,1for anything else. Don't go reading extra meaning into it, fr fr. π
π¦ SEE ALSO π¦
The kernel file lives at ./drivers/net/wireless/rsi/rsi_91x_mgmt.c β go say hi. And here's the whole friend group, all section 9, all slaying in their own way:
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_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_set_antenna(9)rsi_handle_ta_confirm_type(9)rsi_mgmt_pkt_recv(9)
That's the whole page, bestie β go map some rates, you're gonna ate π
Sign-off szn: this cutie came from the source/version path ./drivers/net/wireless/rsi, dated October 2026. Mwah. πβ¨
π¦ 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