From: Michael Tremer Date: Fri, 22 Mar 2019 10:45:03 +0000 (+0100) Subject: hostapd: Always enable Transmit Power Control X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=9602617288e200c0935d5888746f58c23b2f7af7;p=network.git hostapd: Always enable Transmit Power Control Also advertise this to clients Signed-off-by: Michael Tremer --- diff --git a/src/functions/functions.hostapd b/src/functions/functions.hostapd index eb177fe2..dd52e564 100644 --- a/src/functions/functions.hostapd +++ b/src/functions/functions.hostapd @@ -232,6 +232,10 @@ hostapd_config_write() { ;; esac + # Always advertise TPC + print "local_pwr_constraint=3" + print "spectrum_mgmt_required=1" + # Enable Radar Detection if enabled dfs && wireless_supports_dfs "${device}"; then print "ieee80211h=1"