Skip to content

Commit

Permalink
drivers: wifi: nxp: auto NXP_WIFI_SOFTAP_SUPPORT
Browse files Browse the repository at this point in the history
Only enable `NXP_WIFI_SOFTAP_SUPPORT` by default if the application
requests AP support (it does by default).

Signed-off-by: Jordan Yates <jordan@embeint.com>
  • Loading branch information
JordanYates committed Jan 22, 2025
1 parent 78a184b commit 6ff8e23
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion drivers/wifi/nxp/Kconfig.nxp
Original file line number Diff line number Diff line change
Expand Up @@ -535,11 +535,16 @@ config NXP_WIFI_MAX_PRIO
help
This option sets Wi-Fi max priority in the Wi-Fi driver.

# Preserve the legacy default enabled features
choice WIFI_USAGE_MODE
default WIFI_USAGE_MODE_STA_AP
endchoice

config NXP_WIFI_SOFTAP_SUPPORT
bool "Wi-Fi SoftAP Support"
select NET_DHCPV4_SERVER
select WIFI_NM_HOSTAPD_AP if WIFI_NM_WPA_SUPPLICANT
default y
default y if WIFI_USAGE_MODE_AP || WIFI_USAGE_MODE_STA_AP
help
Option to enable Wi-Fi SoftAP functions in the Wi-Fi driver.

Expand Down

0 comments on commit 6ff8e23

Please sign in to comment.