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 <