feat(wifi): support esp32c2 eco4 wifi bringup

This commit is contained in:
wangtao@espressif.com 2024-09-20 20:32:42 +08:00
parent 37b51f1ec8
commit 55184e83aa
3 changed files with 19 additions and 0 deletions

View File

@ -670,6 +670,7 @@ typedef enum {
WIFI_EVENT_STA_BEACON_TIMEOUT, /**< ESP32 station beacon timeout */
WIFI_EVENT_CONNECTIONLESS_MODULE_WAKE_INTERVAL_START, /**< ESP32 connectionless module wake interval start */
/* Add next events after this only */
WIFI_EVENT_AP_WPS_RG_SUCCESS, /**< Soft-AP wps succeeds in registrar mode */
WIFI_EVENT_AP_WPS_RG_FAILED, /**< Soft-AP wps fails in registrar mode */

View File

@ -428,3 +428,19 @@ void * ieee80211_alloc_proberesp(void *p, int arg)
}
#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
#ifndef CONFIG_ESP_WIFI_SLP_SAMPLE_BEACON_FEATURE
void pm_beacon_offset_funcs_init(void)
{
/* Do not remove, stub to overwrite weak link in Wi-Fi Lib */
}
#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_OWE */
NONE_AUTH = 0x01,
WPA_AUTH_UNSPEC = 0x02,
WPA_AUTH_PSK = 0x03,
@ -72,6 +73,7 @@ enum {
WPA2_AUTH_ENT_SHA384_SUITE_B = 0x0d,
WPA2_AUTH_FT_PSK = 0x0e,
WPA3_AUTH_OWE = 0x0f,
/* this enum is in C2 ROM, do not change before WPA3_AUTH_OWE */
WPA2_AUTH_INVALID
};