convert_radiotap_rate_to_mv(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

okay bestie, welcome to convert_radiotap_rate_to_mv from the Kernel API Manual, section 9 β€” it’s a tiny translator function and honestly it’s giving β€œone job, do it well” energy. πŸ¦‹

πŸ’– NAME πŸ’–

convert_radiotap_rate_to_mv β€” converts Tx/Rx rates from IEEE80211_RADIOTAP_RATE units (500 Kb/s) into Marvell WLAN format (see Table 8 in Section 3.2.1). ✨

πŸŽ€ SYNOPSIS πŸŽ€

u32 convert_radiotap_rate_to_mv (u8 rate );

🌸 ARGUMENTS 🌸

  • rate β€” Input rate. That’s the value you’re handing over for conversion, bestie. πŸ’…

πŸ”₯ RETURN πŸ”₯

Output Rate (0 if invalid). So if it’s not valid, you get 0, periodt. πŸ’€

🌈 SEE ALSO 🌈

bestie note: the return is literally 0 if invalid β€” don’t ignore the zero, mwah. 🌸

cute sign-off time: source/version ./drivers/net/wireless/marvell..., dated October 2026, from convert_radiotap_rate_to_mv(9) β€” bye bestie, slay your conversions πŸ’–βœ¨πŸ‘‘

πŸ“¦ where this page comes from