[RFC 4/8] config: enable configuration of S1G
Lachlan Hodges
lachlan.hodges at morsemicro.com
Wed May 27 23:38:53 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 | 26 ++++++++++++++++++++++----
2 files changed, 25 insertions(+), 4 deletions(-)
diff --git a/hostapd/defconfig b/hostapd/defconfig
index 176776677c2b..48dab4697582 100644
--- a/hostapd/defconfig
+++ b/hostapd/defconfig
@@ -428,3 +428,6 @@ CONFIG_DPP2=y
# IEEE P802.11bi/D4.0, 12.16.5 (IEEE 802.1X authentication utilizing
# Authentication frames)
#CONFIG_IEEE8021X_AUTH=y
+
+# IEEE 802.11ah (S1G) support
+#CONFIG_IEEE80211AH=y
diff --git a/hostapd/hostapd.conf b/hostapd/hostapd.conf
index 20e09a9e329d..7ec47ee8067b 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
@@ -1132,6 +1132,24 @@ wmm_ac_vo_acm=0
# is disabled.
#disable_mcs15_rx=1
+##### 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 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