mirror of
https://github.com/espressif/esp-idf.git
synced 2025-08-02 12:14:32 +02:00
feat(wifi): support esp32c2 eco4 wifi bringup
This commit is contained in:
@@ -670,6 +670,7 @@ typedef enum {
|
|||||||
WIFI_EVENT_STA_BEACON_TIMEOUT, /**< ESP32 station beacon timeout */
|
WIFI_EVENT_STA_BEACON_TIMEOUT, /**< ESP32 station beacon timeout */
|
||||||
|
|
||||||
WIFI_EVENT_CONNECTIONLESS_MODULE_WAKE_INTERVAL_START, /**< ESP32 connectionless module wake interval start */
|
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_SUCCESS, /**< Soft-AP wps succeeds in registrar mode */
|
||||||
WIFI_EVENT_AP_WPS_RG_FAILED, /**< Soft-AP wps fails in registrar mode */
|
WIFI_EVENT_AP_WPS_RG_FAILED, /**< Soft-AP wps fails in registrar mode */
|
||||||
|
@@ -428,3 +428,19 @@ void * ieee80211_alloc_proberesp(void *p, int arg)
|
|||||||
}
|
}
|
||||||
|
|
||||||
#endif
|
#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
|
||||||
|
@@ -57,6 +57,7 @@ typedef enum {
|
|||||||
} wifi_appie_ram_t;
|
} wifi_appie_ram_t;
|
||||||
|
|
||||||
enum {
|
enum {
|
||||||
|
/* this enum is in C2 ROM, do not change before WPA3_AUTH_OWE */
|
||||||
NONE_AUTH = 0x01,
|
NONE_AUTH = 0x01,
|
||||||
WPA_AUTH_UNSPEC = 0x02,
|
WPA_AUTH_UNSPEC = 0x02,
|
||||||
WPA_AUTH_PSK = 0x03,
|
WPA_AUTH_PSK = 0x03,
|
||||||
@@ -72,6 +73,7 @@ enum {
|
|||||||
WPA2_AUTH_ENT_SHA384_SUITE_B = 0x0d,
|
WPA2_AUTH_ENT_SHA384_SUITE_B = 0x0d,
|
||||||
WPA2_AUTH_FT_PSK = 0x0e,
|
WPA2_AUTH_FT_PSK = 0x0e,
|
||||||
WPA3_AUTH_OWE = 0x0f,
|
WPA3_AUTH_OWE = 0x0f,
|
||||||
|
/* this enum is in C2 ROM, do not change before WPA3_AUTH_OWE */
|
||||||
WPA2_AUTH_INVALID
|
WPA2_AUTH_INVALID
|
||||||
};
|
};
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user