feat(wifi): support esp32c2 eco4 wifi bringup

This commit is contained in:
wangtao@espressif.com 2024-08-02 11:06:06 +08:00 committed by liuning
parent 53272f7d11
commit fef76de1ce
2 changed files with 11 additions and 0 deletions

View File

@ -588,3 +588,12 @@ void nan_sm_handle_event(void *p1, int p2)
}
#endif
#if CONFIG_IDF_TARGET_ESP32C2
#if CONFIG_ESP32C2_REV_MIN_FULL < 200
void esp32c2_eco4_rom_ptr_init(void)
{
/* Do not remove, stub to overwrite weak link in Wi-Fi Lib */
}
#endif
#endif

View File

@ -57,6 +57,7 @@ typedef enum {
} wifi_appie_ram_t;
enum {
/* this enum is in C2 ROM, do not change before WPA3_AUTH_PSK_EXT_KEY */
NONE_AUTH = 0x01,
WPA_AUTH_UNSPEC = 0x02,
WPA_AUTH_PSK = 0x03,
@ -73,6 +74,7 @@ enum {
WPA2_AUTH_FT_PSK = 0x0e,
WPA3_AUTH_OWE = 0x0f,
WPA3_AUTH_PSK_EXT_KEY = 0x10,
/* this enum is in C2 ROM, do not change before WPA3_AUTH_PSK_EXT_KEY */
WPA3_AUTH_DPP = 0x11,
WPA2_AUTH_INVALID
};