ENUM IEEE80211_S1G_CHANWIDTH(9)
β¨ enum ieee80211_s1g_chanwidth β the kernel API manual, bestie edition β¨
Okay so we're reading enum ieee802...1g_chanwidth(9) today and honestly? It's a little guy with a big job. Buckle up, we're getting into 802.11ah energy π¦
π NAME π
enum ieee80211_s1g_chanwidth β S1G channel widths. These are defined in IEEE802.11-2016ah Table 10-20 as BSS Channel Width. That's the whole vibe. It's a table lookup that got promoted to a kernel enum, and honestly? Deserved. π
π SYNOPSIS π
Here's the shape of it, exactly as it lives in the source β no cap, this is copy-paste sacred:
enum ieee80211_s1g_chanwidth {
IEEE80211_S1G_CHANWIDTH_1MHZ ,
IEEE80211_S1G_CHANWIDTH_2MHZ ,
IEEE80211_S1G_CHANWIDTH_4MHZ ,
IEEE80211_S1G_CHANWIDTH_8MHZ ,
IEEE80211_S1G_CHANWIDTH_16MHZ
};
Five constants, all doubling, all iconic. It's giving "powers of two but make it a channel plan." π
πΈ Constants πΈ
Each one is just... the width of the operating channel. That's it, that's the whole personality. But bestie, let's meet them one by one because they each deserve their moment:
IEEE80211_S1G_CHANWIDTH_1MHZβ 1MHz operating channel π tiny, precious, lowkey adorableIEEE80211_S1G_CHANWIDTH_2MHZβ 2MHz operating channel β¨ double the room, double the slayIEEE80211_S1G_CHANWIDTH_4MHZβ 4MHz operating channel π¦ we're growingggIEEE80211_S1G_CHANWIDTH_8MHZβ 8MHz operating channel π₯ now we're actually wideIEEE80211_S1G_CHANWIDTH_16MHZβ 16MHz operating channel π the main character of the enum, fr fr
Ngl, the pattern is so satisfying. 1, 2, 4, 8, 16. She ate and left no crumbs. π
π«Ά SEE ALSO π«Ά
Kernel file: ./include/linux/ieee80211-s1g.h β that's where all these live, go say hi to them π§
And the whole S1G friend group, because these functions literally cannot be normal about each other:
ieee80211_is_s1g_beacon(9)ieee80211_s1g_has_next_tbtt(9)ieee80211_s1g_has_ano(9)ieee80211_s1g_has_cssid(9)enum ieee80211_s1g_pri_chanwidth(9)struct ieee80211_s1g_bcn_compat_ie(9)struct ieee80211_s1g_oper_ie(9)struct ieee80211_aid_response_ie(9)ieee80211_s1g_optional_len(9)ieee80211_is_s1g_short_beacon(9)
That's ten links, bestie. TEN. The group chat is popping off. π±π
Okay that's the whole page!! Sourced from that ./include/linux directory, dated October 2026, and filed under enum ieee802...1g_chanwidth(9) in case you ever need to find it again. Byeeee, go read some headers, ily π₯°πβ
π¦ 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