2024-01-02 17:09:37 +08:00
|
|
|
/*
|
|
|
|
* SPDX-FileCopyrightText: 2023-2024 Espressif Systems (Shanghai) CO LTD
|
|
|
|
*
|
|
|
|
* SPDX-License-Identifier: Apache-2.0
|
|
|
|
*/
|
|
|
|
|
|
|
|
#include "esp_wifi.h"
|
|
|
|
#include "esp_log.h"
|
|
|
|
#include "esp_wifi_remote.h"
|
|
|
|
|
|
|
|
#define WEAK __attribute__((weak))
|
|
|
|
|
|
|
|
WEAK ESP_EVENT_DEFINE_BASE(WIFI_EVENT);
|
|
|
|
|
2024-03-04 20:26:02 +01:00
|
|
|
#if !CONFIG_SOC_WIFI_SUPPORTED
|
|
|
|
struct wifi_osi_funcs_t { };
|
|
|
|
#endif
|
|
|
|
|
2024-01-02 17:09:37 +08:00
|
|
|
WEAK wifi_osi_funcs_t g_wifi_osi_funcs;
|
|
|
|
WEAK const wpa_crypto_funcs_t g_wifi_default_wpa_crypto_funcs;
|
|
|
|
WEAK uint64_t g_wifi_feature_caps =
|
2024-03-04 20:26:02 +01:00
|
|
|
#if CONFIG_ESP_WIFI_ENABLE_WPA3_SAE
|
2024-01-02 17:09:37 +08:00
|
|
|
CONFIG_FEATURE_WPA3_SAE_BIT |
|
|
|
|
#endif
|
|
|
|
#if CONFIG_SPIRAM
|
|
|
|
CONFIG_FEATURE_CACHE_TX_BUF_BIT |
|
|
|
|
#endif
|
|
|
|
#if CONFIG_ESP_WIFI_FTM_INITIATOR_SUPPORT
|
|
|
|
CONFIG_FEATURE_FTM_INITIATOR_BIT |
|
|
|
|
#endif
|
|
|
|
#if CONFIG_ESP_WIFI_FTM_RESPONDER_SUPPORT
|
|
|
|
CONFIG_FEATURE_FTM_RESPONDER_BIT |
|
|
|
|
#endif
|
|
|
|
0;
|