From ab7f990d13f8f8761f697bbd5735803eb314bd3b Mon Sep 17 00:00:00 2001 From: glaszig Date: Thu, 1 Aug 2019 22:19:46 +0200 Subject: [PATCH] properly enable wmm by fixing a typo if `ieee80211n=1`, `wmm_enabled=1` should be configured as well according to the docs, quote: # ieee80211n: Whether IEEE 802.11n (HT) is enabled # 0 = disabled (default) # 1 = enabled # Note: You will also need to enable WMM for full HT functionality. # Note: hw_mode=g (2.4 GHz) and hw_mode=a (5 GHz) is used to specify the band. https://w1.fi/cgit/hostap/plain/hostapd/hostapd.conf --- includes/hostapd.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/includes/hostapd.php b/includes/hostapd.php index 317642ab..d03ba793 100755 --- a/includes/hostapd.php +++ b/includes/hostapd.php @@ -622,7 +622,7 @@ function SaveHostAPDConfig($wpa_array, $enc_types, $modes, $interfaces, $status) $config.= 'hw_mode=g'.PHP_EOL; $config.= 'ieee80211n=1'.PHP_EOL; // Enable basic Quality of service - $config.= 'wme_enabled=1'.PHP_EOL; + $config.= 'wmm_enabled=1'.PHP_EOL; } else { $config.= 'hw_mode='.$_POST['hw_mode'].PHP_EOL; $config.= 'ieee80211n=0'.PHP_EOL;