Signed-off-by: Michael Tremer michael.tremer@ipfire.org --- html/cgi-bin/wlanap.cgi | 14 ++++++++++++++ 1 file changed, 14 insertions(+)
diff --git a/html/cgi-bin/wlanap.cgi b/html/cgi-bin/wlanap.cgi index bb40021cf..0abbf6d6e 100644 --- a/html/cgi-bin/wlanap.cgi +++ b/html/cgi-bin/wlanap.cgi @@ -73,6 +73,7 @@ $wlanapsettings{'SYSLOGLEVEL'} = '0'; $wlanapsettings{'DEBUG'} = '4'; $wlanapsettings{'DRIVER'} = 'NL80211'; $wlanapsettings{'HTCAPS'} = ''; +$wlanapsettings{'VHTCAPS'} = '';
&General::readhash("/var/ipfire/wlanap/settings", %wlanapsettings); &Header::getcgihash(%wlanapsettings); @@ -389,6 +390,7 @@ print<<END <option value='g' $selected{'HW_MODE'}{'g'}>802.11g</option> <option value='an' $selected{'HW_MODE'}{'an'}>802.11an</option> <option value='gn' $selected{'HW_MODE'}{'gn'}>802.11gn</option> + <option value='ac' $selected{'HW_MODE'}{'ac'}>802.11ac</option> </select> </td></tr> END @@ -428,6 +430,7 @@ END ; print <<END <tr><td width='25%' class='base'>HT Caps: </td><td class='base' colspan='3'><input type='text' name='HTCAPS' size='30' value='$wlanapsettings{'HTCAPS'}' /></td></tr> +<tr><td width='25%' class='base'>VHT Caps: </td><td class='base' colspan='3'><input type='text' name='VHTCAPS' size='30' value='$wlanapsettings{'VHTCAPS'}' /></td></tr> <tr><td width='25%' class='base'>Tx Power: </td><td class='base' colspan='3'><input type='text' name='TXPOWER' size='10' value='$wlanapsettings{'TXPOWER'}' /></td></tr> <tr><td width='25%' class='base'>Loglevel (hostapd): </td><td class='base' width='25%'> <select name='SYSLOGLEVEL'> @@ -577,6 +580,17 @@ ht_capab=$wlanapsettings{'HTCAPS'} END ;
+ }elsif ( $wlanapsettings{'HW_MODE'} eq 'ac' ){ + print CONFIGFILE <<END +hw_mode=a +ieee80211ac=1 +ieee80211n=1 +wmm_enabled=1 +ht_capab=$wlanapsettings{'HTCAPS'} +vht_capab=$wlanapsettings{'VHTCAPS'} +END +; + }else{ print CONFIGFILE <<END hw_mode=$wlanapsettings{'HW_MODE'}
Signed-off-by: Michael Tremer michael.tremer@ipfire.org --- config/hostapd/config | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-)
diff --git a/config/hostapd/config b/config/hostapd/config index c3672c524..66ebbf1ce 100644 --- a/config/hostapd/config +++ b/config/hostapd/config @@ -152,8 +152,7 @@ CONFIG_IEEE80211AC=y # Remove debugging code that is printing out debug messages to stdout. # This can be used to reduce the size of the hostapd considerably if debugging # code is not needed. -CONFIG_NO_STDOUT_DEBUG=y - +#CONFIG_NO_STDOUT_DEBUG=y
# Add support for writing debug log to a file: -f /tmp/hostapd.log # Disabled by default.
Signed-off-by: Michael Tremer michael.tremer@ipfire.org --- lfs/hostapd | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/lfs/hostapd b/lfs/hostapd index 46f7e91b5..5a1180d03 100644 --- a/lfs/hostapd +++ b/lfs/hostapd @@ -32,7 +32,7 @@ DL_FROM = $(URL_IPFIRE) DIR_APP = $(DIR_SRC)/$(THISAPP) TARGET = $(DIR_INFO)/$(THISAPP) PROG = hostapd -PAK_VER = 42 +PAK_VER = 43
DEPS = ""