STRUCT HWSIM_TX_RATE_FLAG(9)
π¦ struct hwsim_tx_rate_flag(9) π¦
okay bestie, welcome to the Kernel API Manual β yes we're doing kernel docs today and yes it's gonna be cute π
πΈ NAME πΈ
struct hwsim_tx_rate_flag β literally the whole vibe of rate selection/status β¨
π SYNOPSIS π
struct hwsim_tx_rate_flag {
s8 idx;
u16 flags;
};
look at her. two fields. tiny. iconic. π
π«Ά Members π«Ά
idxβ the rate index you're attempting to send with, no cap π«flagsβ the rate flags, and they followenum hwsim_tx_rate_flagsfr fr
β¨ Description β¨
So here's the tea π: a value of -1 for idx means the rate is invalid β and if you're using it inside an array of retry rates, that also means no more rates should be tried. like, that's it, we're done, stop trying π
When it's used for transmit status reporting, the driver should always report the rate and the number of retries used. always. not sometimes. always π
π SEE ALSO π
- 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)struct hwsim_tx_rate(9)enum hwsim_tx_rate_flags(9)Frame transmission support over virtio(9)enum hwsim_vqs(9)enum hwsim_rate_info_attributes(9)
go read them all, i'll wait π§π
mwah π that's the whole page! sourced straight from ./drivers/net/wireless/virtual, dated October 2026, and this was struct hwsim_tx_rate_flag(9) β slay, bye bestie! ππ₯
π¦ 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