soc: esp32: move phy tx power to soc config

PHY TX power configuration must be added into soc level.
It was previously hardcoded in hal_espressif, which was removed.

Signed-off-by: Sylvio Alves <sylvio.alves@espressif.com>
This commit is contained in:
Sylvio Alves 2022-05-13 13:06:45 -03:00 committed by Carles Cufí
commit f3d2dd2b6c
4 changed files with 36 additions and 12 deletions

View file

@ -210,18 +210,6 @@ choice ESP32_WIFI_TASK_CORE_ID
bool "Core 0"
endchoice
config ESP32_PHY_MAX_WIFI_TX_POWER
int "Max WiFi TX power (dBm)"
range 10 20
default 20
help
Set maximum transmit power for WiFi radio. Actual transmit power for high
data rates may be lower than this setting.
config ESP32_PHY_MAX_TX_POWER
int
default ESP32_PHY_MAX_WIFI_TX_POWER
config ESP32_WIFI_SW_COEXIST_ENABLE
bool
help