[PATCH 3] Explicitly require WMM to be enabled if HE (11ax) is enabled.
Nick Lowe
nick.lowe at lugatech.com
Thu Feb 23 08:43:37 PST 2017
Explicitly require WMM to be enabled if HE (11ax) is enabled.
Signed-off-by Nick Lowe <nick.lowe at gmail.com>
---
hostapd/hostapd.conf | 1 +
src/ap/hostapd.c | 5 +++--
2 files changed, 4 insertions(+), 2 deletions(-)
diff --git a/hostapd/hostapd.conf b/hostapd/hostapd.conf
index 96aed35..94d081a 100644
--- a/hostapd/hostapd.conf
+++ b/hostapd/hostapd.conf
@@ -725,6 +725,7 @@ wmm_ac_vo_acm=0
##### IEEE 802.11ax related configuration #####################################
#ieee80211ax: Whether IEEE 802.11ax (HE) is enabled
+# Note: You will also need to enable WMM for HE functionality.
# 0 = disabled (default)
# 1 = enabled
#ieee80211ax=1
diff --git a/src/ap/hostapd.c b/src/ap/hostapd.c
index 023c141..f0c01c7 100644
--- a/src/ap/hostapd.c
+++ b/src/ap/hostapd.c
@@ -960,8 +960,9 @@ static int hostapd_setup_bss(struct hostapd_data
*hapd, int first)
os_memcpy(hapd->own_addr, if_addr, ETH_ALEN);
}
- if (!conf->wmm_enabled && (hapd->iconf->ieee80211n ||
hapd->iconf->ieee80211ac)) {
- wpa_printf(MSG_ERROR, "HT/VHT is enabled so WMM cannot be disabled");
+ if (!conf->wmm_enabled && (hapd->iconf->ieee80211n ||
+ hapd->iconf->ieee80211ac || hapd->iconf->ieee80211ax)) {
+ wpa_printf(MSG_ERROR, "HT/VHT/HE is enabled so WMM cannot be disabled");
return -1;
}
--
2.10.2
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0003-Explicitly-require-WMM-to-be-enabled-if-HE-11ax-is-e.patch
Type: application/octet-stream
Size: 1477 bytes
Desc: not available
URL: <http://lists.infradead.org/pipermail/hostap/attachments/20170223/4beb1f3d/attachment.obj>
More information about the Hostap
mailing list