ENUM IEEE80211_S1G_CHANWIDTH(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

✨ 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 adorable
  • IEEE80211_S1G_CHANWIDTH_2MHZ β€” 2MHz operating channel ✨ double the room, double the slay
  • IEEE80211_S1G_CHANWIDTH_4MHZ β€” 4MHz operating channel πŸ¦‹ we're growinggg
  • IEEE80211_S1G_CHANWIDTH_8MHZ β€” 8MHz operating channel πŸ”₯ now we're actually wide
  • IEEE80211_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:

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