1
0
mirror of https://github.com/billz/raspap-webgui.git synced 2023-10-10 13:37:24 +02:00

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
This commit is contained in:
glaszig 2019-08-01 22:19:46 +02:00 committed by GitHub
parent 1b32ed53d6
commit ab7f990d13
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -622,7 +622,7 @@ function SaveHostAPDConfig($wpa_array, $enc_types, $modes, $interfaces, $status)
$config.= 'hw_mode=g'.PHP_EOL; $config.= 'hw_mode=g'.PHP_EOL;
$config.= 'ieee80211n=1'.PHP_EOL; $config.= 'ieee80211n=1'.PHP_EOL;
// Enable basic Quality of service // Enable basic Quality of service
$config.= 'wme_enabled=1'.PHP_EOL; $config.= 'wmm_enabled=1'.PHP_EOL;
} else { } else {
$config.= 'hw_mode='.$_POST['hw_mode'].PHP_EOL; $config.= 'hw_mode='.$_POST['hw_mode'].PHP_EOL;
$config.= 'ieee80211n=0'.PHP_EOL; $config.= 'ieee80211n=0'.PHP_EOL;