[PATCH 3] Explicitly require WMM to be enabled if HE (11ax) is enabled.

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Explicitly require WMM to be enabled if HE (11ax) is enabled.

Signed-off-by Nick Lowe <nick.lowe@xxxxxxxxx>
---
 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

Attachment: 0003-Explicitly-require-WMM-to-be-enabled-if-HE-11ax-is-e.patch
Description: Binary data

_______________________________________________
Hostap mailing list
Hostap@xxxxxxxxxxxxxxxxxxx
http://lists.infradead.org/mailman/listinfo/hostap

[Index of Archives]     [Linux Wireless]     [Linux Kernel]     [ATH6KL]     [Linux Bluetooth]     [Linux Netdev]     [Kernel Newbies]     [IDE]     [Security]     [Git]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux ATA RAID]     [Samba]     [Device Mapper]

  Powered by Linux