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:
parent
1b32ed53d6
commit
ab7f990d13
@ -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;
|
||||||
|
Loading…
Reference in New Issue
Block a user