feat(wifi): Sync public header files between ESP-IDF and Wi-Fi driver

- Updated WiFi libraries based on the IDF changes
- Renamed esp_wifi_native.h to esp_wifi_types_native.h
- Reverted forward declarations of native wifi types and HE types
- Forward declare as opaque structs only if we don't have native types (csi and ctrl_packet types)
This commit is contained in:
Sarvesh Bodakhe
2024-02-01 12:17:43 +01:00
committed by David Cermak
parent 344cb342b8
commit 0154e81d87
8 changed files with 39 additions and 32 deletions
+1 -1
View File
@@ -5,7 +5,7 @@ message(STATUS "building ESP WIFI MOCKS")
idf_component_get_property(original_esp_wifi_dir esp_wifi COMPONENT_OVERRIDEN_DIR)
set(include_dirs
"${original_esp_wifi_dir}/include")
"${original_esp_wifi_dir}/include" "${original_esp_wifi_dir}/include/local")
idf_component_mock(INCLUDE_DIRS ${include_dirs}
REQUIRES esp_event esp_netif lwip
@@ -5,6 +5,7 @@
*/
#include "esp_wifi.h"
#include "esp_private/wifi_os_adapter.h"
/**
* The following global objects are defined when WiFi is mocked.