STRUCT HWSIM_TX_RATE(9)
π¦ struct hwsim_tx_rate(9) π¦
okay bestie, welcome to the Kernel API Manual β this one is literally all about struct hwsim_tx_rate and it's giving rate-selection realness β¨
πΈ NAME πΈ
struct hwsim_tx_rate β rate selection/status, periodt π
β¨ SYNOPSIS β¨
the whole struct is right here, no cap:
struct hwsim_tx_rate {
s8 idx;
u8 count;
};
π Members π
idxβ the rate index you're gonna attempt to send with πcountβ how many tries happen in this rate before moving on to the next rate π
π Description π
so like, a value of -1 for idx means invalid rate π¨ and if that shows up in an array of retry rates, it means no more rates should be tried β full stop, bestie.
when this is used for transmit status reporting, the driver should always report the rate and the number of retries used. always always. no skipping π
π¦ SEE ALSO π¦
go read these next, iykyk:
- Kernel file
./drivers/net/wireless/virtual/mac80211_hwsim.h enum hwsim_tx_control_flags(9)Frame transmission/registration support(9)enum hwsim_commands(9)enum hwsim_attrs(9)enum hwsim_tx_rate_flags(9)struct hwsim_tx_rate_flag(9)Frame transmission support over virtio(9)enum hwsim_vqs(9)enum hwsim_rate_info_attributes(9)
mwah π bestie, this page's source/version corner is ./drivers/net/wireless/virtual, the manual is Kernel API Manual, and the date is October 2026 β byeee, slay responsibly π«Άβ¨
π¦ 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