rsi_map_rates(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’… 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 β€” 0 for mcs, 1 for 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:


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