mesh_set_ht_prot_mode(9)
β¨ mesh_set_ht_prot_mode(9) β¨
okay so bestie, we're in the Kernel API Manual today and this one is a whole little bop about HT protection modes in mesh networks π no cap, it's short but it matters.
πΈ NAME πΈ
mesh_set_ht_prot_mode β set correct HT protection mode π
π¦ SYNOPSIS π¦
u64 mesh_set_ht_prot_mode (struct ieee80211_sub_if_data *sdata );
π ARGUMENTS π
sdataβ the (mesh) interface to handle. like, the thing you're doing the handling on, yk? π«Ά
π₯ DESCRIPTION π₯
okay so the lore: Section 9.23.3.5 of IEEE 80211-2012 is out here describing the protection rules for an HT mesh STA in a MBSS π and our girl is the one who actually applies them.
Three HT protection modes are supported for now π, and here's the vibe check on each:
- non-HT mixed mode β gets selected if any non-HT peers are present in our MBSS. like, one normie shows up and the whole party goes mixed mode, that's just how it is π
- 20MHz-protection mode β gets selected if all peers in our 20/40MHz MBSS support HT and at least one HT20 peer is present. both conditions, no skipping π―
- no-protection mode β the else clause, the fallback era, selected otherwise. living free, no protection, main character energy β
π RETURN π
BSS_CHANGED_HT or 0 for no change π (yes, 0 literally means "no change", she said what she said)
π§ SEE ALSO π§
Kernel file ./net/mac80211/mesh_plink.c β plus the whole friend group:
and that's the page, bestie π«Ά it lives over in ./net/mac80211 and it was stamped October 2026 β go forth and protect those HT modes, ily, 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