From f00b2fa7782e2dc16a2653cc006b77bb1bdbee3d Mon Sep 17 00:00:00 2001 From: Michael Tremer Date: Fri, 16 Aug 2024 15:18:18 +0000 Subject: [PATCH] wlanap.cgi: Always advertise TPC, support UTF-8 SSIDs Signed-off-by: Michael Tremer --- html/cgi-bin/wlanap.cgi | 25 +++++++++++++------------ 1 file changed, 13 insertions(+), 12 deletions(-) diff --git a/html/cgi-bin/wlanap.cgi b/html/cgi-bin/wlanap.cgi index d5f5f09ee..4de4c579c 100644 --- a/html/cgi-bin/wlanap.cgi +++ b/html/cgi-bin/wlanap.cgi @@ -387,9 +387,14 @@ driver=nl80211 ######################### basic hostapd configuration ########################## # country_code=$wlanapsettings{'COUNTRY'} +country3=0x49 # indoor ieee80211d=1 ieee80211h=1 channel=$wlanapsettings{'CHANNEL'} + +# Always advertise TPC +local_pwr_constraint=3 +spectrum_mgmt_required=1 END ; if ( $wlanapsettings{'HW_MODE'} eq 'an' ){ @@ -430,7 +435,7 @@ END } -print CONFIGFILE <