[PATCH RFC 5/9] config: enable configuration of S1G
Lachlan Hodges
lachlan.hodges at morsemicro.com
Thu Oct 8 20:32:02 PDT 2026
Introduce the ability to configure an S1G radio. This consists of a new
hw_mode=ah for the S1G band, ieee80211ah to denote if S1G is enabled,
s1g_oper_centr_freq_idx for the operating center frequency and
s1g_primary_2mhz to denote the primary (control) channel width.
Signed-off-by: Lachlan Hodges <lachlan.hodges at morsemicro.com>
---
hostapd/defconfig | 3 +++
hostapd/hostapd.conf | 37 +++++++++++++++++++++++++++++++++----
2 files changed, 36 insertions(+), 4 deletions(-)
diff --git a/hostapd/defconfig b/hostapd/defconfig
index cecfc7c8a3ee..969dae1b8087 100644
--- a/hostapd/defconfig
+++ b/hostapd/defconfig
@@ -442,3 +442,6 @@ CONFIG_DPP2=y
# Note: These features are experimental and still changing; do not enable for
# production use.
#CONFIG_PQC=y
+
+# IEEE 802.11ah (S1G) support
+#CONFIG_IEEE80211AH=y
diff --git a/hostapd/hostapd.conf b/hostapd/hostapd.conf
index 8f902b7534cb..909bf324c9d0 100644
--- a/hostapd/hostapd.conf
+++ b/hostapd/hostapd.conf
@@ -147,10 +147,10 @@ ssid=test
# g = IEEE 802.11g (2.4 GHz), ad = IEEE 802.11ad (60 GHz); a/g options are used
# with IEEE 802.11n (HT), too, to specify band). For IEEE 802.11ac (VHT), this
# needs to be set to hw_mode=a. For IEEE 802.11ax (HE) on 6 GHz this needs
-# to be set to hw_mode=a. When using ACS (see channel parameter), a
-# special value "any" can be used to indicate that any support band can be used.
-# This special case is currently supported only with drivers with which
-# offloaded ACS is used.
+# to be set to hw_mode=a. For IEEE 802.11ah (S1G) this needs to be set to
+# hw_mode=ah. When using ACS (see channel parameter), a special value "any" can
+# be used to indicate that any support band can be used. This special case is
+# currently supported only with drivers with which offloaded ACS is used.
# Default: IEEE 802.11b
hw_mode=g
@@ -1205,6 +1205,35 @@ wmm_ac_vo_acm=0
# UHR DBE puncturing bitmap (see punct_bitmap description for encoding)
#dbe_punct_bitmap=0
+##### IEEE 802.11ah related configuration ################################
+
+# ieee80211ah: Whether IEEE 802.11ah (S1G) is enabled
+# 0 = disabled (default)
+# 1 = enabled
+# Note: hw_mode=ah is used to specify that the 900MHz band is used with ah.
+#ieee80211ah=1
+
+# S1G operating class
+# When hw_mode=ah is used, the op_class parameter must be set to one of the
+# following global operating classes from IEEE Std 802.11-2024, Table E-4.
+# Currently on US-2024 channels are supported.
+# 68 = 1 MHz channels
+# 69 = 2 MHz channels
+# 70 = 4 MHz channels
+# 71 = 8 MHz channels
+# 72 = 16 MHz channels
+#op_class=71
+
+# S1G operating channel
+# Indicates the channel index of the BSS operating channel
+#s1g_oper_centr_freq_idx=44
+
+# S1G primary 2MHz
+# Specifies if a 2MHz primary channel is being used.
+# 0 = 1MHz primary
+# 1 = 2MHz primary
+#s1g_primary_2mhz=1
+
##### IEEE 802.1X-2004 related configuration ##################################
# Require IEEE 802.1X authorization
--
2.43.0
More information about the Hostap
mailing list