ieee80211_fix_reserved_tid(9)
β¨ ieee80211_fix_reserved_tid(9) β¨
okay so bestie, we're in the Kernel API Manual today and this little function is genuinely one of the shortest glow-ups in the whole tree, but it EATS. it's ieee80211_fix_reserved_tid, and no cap it does exactly one thing and does it cutely π
πΈ NAME πΈ
ieee80211_fix_reserved_tid β hand you back the TID you should actually be using when the one you showed up with is reserved π«β¨
like, you came in with a TID and it's a no-go zone, so this function is your bestie at the door going "girl not that one, here" π«Ά
π¦ SYNOPSIS π¦
u8 ieee80211_fix_reserved_tid(u8 tid);
that's it. that's the whole vibe check. one argument in, one u8 out, main character energy only π
π ARGUMENTS π
tidβ the assumed-reserved TID π like, the one you think might be reserved and want swapped out. this is the input, the little guy getting inspected π
β RETURN β
- the alternative TID to use β slay, you're back in business β¨
- or
0on error π β so if you get a0back, that's the error case, not a cute TID. periodt.
ngl bestie, do check for that 0 β it's giving "something went wrong" not "here's your new TID" π
π SEE ALSO π
- Kernel file
./net/mac80211/wme.cβ the source, go read it, iykyk π ieee80211_set_qos_hdr(9)β the sibling function, iconic, highly recommend π
and that's the whole page bestie, short and iconic, we love a concise king π
this gem lives in ./net/mac80211, dated October 2026, and it's literally called ieee80211_fix_reserved_tid(9) β go forth and fix those reserved TIDs, 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