mirror of
https://github.com/espressif/esp-idf.git
synced 2025-12-07 17:08:49 +00:00
fix(esp_wifi): Separate public and native wifi interface types
This commit is contained in:
@@ -54,7 +54,7 @@
|
||||
#include "esp_err.h"
|
||||
#include "esp_wifi_types.h"
|
||||
#include "esp_event.h"
|
||||
#include "esp_private/esp_wifi_private.h"
|
||||
#include "esp_wifi_crypto_types.h"
|
||||
#include "esp_wifi_default.h"
|
||||
|
||||
#ifdef __cplusplus
|
||||
@@ -90,6 +90,8 @@ extern "C" {
|
||||
#define ESP_ERR_WIFI_DISCARD (ESP_ERR_WIFI_BASE + 27) /*!< Discard frame */
|
||||
#define ESP_ERR_WIFI_ROC_IN_PROGRESS (ESP_ERR_WIFI_BASE + 28) /*!< ROC op is in progress */
|
||||
|
||||
typedef struct wifi_osi_funcs_t wifi_osi_funcs_t;
|
||||
|
||||
/**
|
||||
* @brief WiFi stack configuration parameters passed to esp_wifi_init call.
|
||||
*/
|
||||
@@ -898,6 +900,12 @@ esp_err_t esp_wifi_set_config(wifi_interface_t interface, wifi_config_t *conf);
|
||||
*/
|
||||
esp_err_t esp_wifi_get_config(wifi_interface_t interface, wifi_config_t *conf);
|
||||
|
||||
/**
|
||||
* @brief Forward declare wifi_sta_list_t. The definition depends on the target device
|
||||
* that implements esp_wifi
|
||||
*/
|
||||
typedef struct wifi_sta_list_t wifi_sta_list_t;
|
||||
|
||||
/**
|
||||
* @brief Get STAs associated with soft-AP
|
||||
*
|
||||
|
||||
Reference in New Issue
Block a user