mirror of
https://github.com/espressif/esp-idf.git
synced 2025-07-30 18:57:19 +02:00
Merge branch 'bugfix/backport_some_wifi_bugs_to_v3.2' into 'release/v3.2'
esp32: backport some WiFi fixes to v3.2 (backport v3.2) See merge request idf/esp-idf!4937
This commit is contained in:
@ -1102,6 +1102,19 @@ esp_err_t esp_wifi_set_ant(const wifi_ant_config_t *config);
|
|||||||
*/
|
*/
|
||||||
esp_err_t esp_wifi_get_ant(wifi_ant_config_t *config);
|
esp_err_t esp_wifi_get_ant(wifi_ant_config_t *config);
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @brief A general API to set/get WiFi internal configuration, it's for debug only
|
||||||
|
*
|
||||||
|
* @param cmd : ioctl command type
|
||||||
|
* @param cfg : configuration for the command
|
||||||
|
*
|
||||||
|
* @return
|
||||||
|
* - ESP_OK: succeed
|
||||||
|
* - others: failed
|
||||||
|
*/
|
||||||
|
esp_err_t esp_wifi_internal_ioctl(int cmd, wifi_ioctl_config_t *cfg);
|
||||||
|
|
||||||
|
|
||||||
#ifdef __cplusplus
|
#ifdef __cplusplus
|
||||||
}
|
}
|
||||||
#endif
|
#endif
|
||||||
|
@ -492,6 +492,34 @@ typedef enum {
|
|||||||
WIFI_PHY_RATE_MAX,
|
WIFI_PHY_RATE_MAX,
|
||||||
} wifi_phy_rate_t;
|
} wifi_phy_rate_t;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @brief WiFi ioctl command type
|
||||||
|
*
|
||||||
|
*/
|
||||||
|
typedef enum {
|
||||||
|
WIFI_IOCTL_SET_STA_HT2040_COEX = 1, /**< Set the configuration of STA's HT2040 coexist management */
|
||||||
|
WIFI_IOCTL_GET_STA_HT2040_COEX, /**< Get the configuration of STA's HT2040 coexist management */
|
||||||
|
WIFI_IOCTL_MAX,
|
||||||
|
} wifi_ioctl_cmd_t;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @brief Configuration for STA's HT2040 coexist management
|
||||||
|
*
|
||||||
|
*/
|
||||||
|
typedef struct {
|
||||||
|
int enable; /**< Indicate whether STA's HT2040 coexist management is enabled or not */
|
||||||
|
} wifi_ht2040_coex_t;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @brief Configuration for WiFi ioctl
|
||||||
|
*
|
||||||
|
*/
|
||||||
|
typedef struct {
|
||||||
|
union {
|
||||||
|
wifi_ht2040_coex_t ht2040_coex; /**< Configuration of STA's HT2040 coexist management */
|
||||||
|
} data; /**< Configuration of ioctl command */
|
||||||
|
} wifi_ioctl_config_t;
|
||||||
|
|
||||||
#ifdef __cplusplus
|
#ifdef __cplusplus
|
||||||
}
|
}
|
||||||
#endif
|
#endif
|
||||||
|
Submodule components/esp32/lib updated: bc6972f2ae...b19a0b04ee
Reference in New Issue
Block a user