From 9602617288e200c0935d5888746f58c23b2f7af7 Mon Sep 17 00:00:00 2001 From: Michael Tremer Date: Fri, 22 Mar 2019 11:45:03 +0100 Subject: [PATCH] hostapd: Always enable Transmit Power Control Also advertise this to clients Signed-off-by: Michael Tremer --- src/functions/functions.hostapd | 4 ++++ 1 file changed, 4 insertions(+) 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" -- 2.39.2