net: wifi: Allow to use offloaded wifi_mgmt API with native stack
wifi drivers that depends on native ethernet stack cannot perform
wifi API calls missing availability. This changes adds the ethernet_api
interface in wifi_mgmt so that it becomes possible.
Naming "offload" in "struct net_wifi_mgmt_offload" is kept because
Zephyr still has no supplicant to handle a full non-offloaded driver.
Signed-off-by: Sylvio Alves <sylvio.alves@espressif.com>
diff --git a/drivers/wifi/esp32/Kconfig.esp32 b/drivers/wifi/esp32/Kconfig.esp32
index 7434fde..65c544d 100644
--- a/drivers/wifi/esp32/Kconfig.esp32
+++ b/drivers/wifi/esp32/Kconfig.esp32
@@ -4,6 +4,7 @@
bool "ESP32 SoC WiFi support"
depends on !SMP
select THREAD_CUSTOM_DATA
+ select WIFI_USE_NATIVE_NETWORKING
help
Enable ESP32 SoC WiFi support. Only supported in single
core mode because the network stack is not aware of SMP