mirror of
https://github.com/espressif/esp-idf.git
synced 2025-11-02 16:11:41 +01:00
fix(wifi): fix some esp32c6 wifi bugs
This commit is contained in:
@@ -264,7 +264,9 @@ esp_err_t esp_now_mod_peer(const esp_now_peer_info_t *peer);
|
||||
* - ESP_OK: succeed
|
||||
* - others: failed
|
||||
*/
|
||||
esp_err_t esp_wifi_config_espnow_rate(wifi_interface_t ifx, wifi_phy_rate_t rate);
|
||||
esp_err_t esp_wifi_config_espnow_rate(wifi_interface_t ifx, wifi_phy_rate_t rate)
|
||||
__attribute__((deprecated("This API can be only used when rate is non-HE rate, \
|
||||
please use esp_now_set_peer_rate_config if you want full support of the rate.")));
|
||||
|
||||
/**
|
||||
* @brief Set ESPNOW rate config for each peer
|
||||
|
||||
@@ -235,10 +235,10 @@ typedef struct {
|
||||
int64_t tx_start_time;
|
||||
int64_t tx_seqno_time;
|
||||
int64_t tx_muedca_time;
|
||||
int64_t tx_max_muedca_time;
|
||||
int64_t tx_min_muedca_time;
|
||||
int64_t tx_tot_muedca_time;
|
||||
int64_t muedca_times;
|
||||
uint32_t tx_max_muedca_time;
|
||||
uint32_t tx_min_muedca_time;
|
||||
uint32_t tx_tot_muedca_time;
|
||||
uint32_t muedca_times;
|
||||
uint32_t tx_muedca_enable; /* count TX times within mu-timer working */
|
||||
uint32_t collision;
|
||||
uint32_t timeout;
|
||||
|
||||
@@ -158,12 +158,11 @@ typedef struct {
|
||||
unsigned : 15; /**< reserved */
|
||||
unsigned : 2; /**< reserved */
|
||||
unsigned noise_floor : 8; /**< the noise floor of the reception frame */
|
||||
signed data_rssi : 8; /**< the RSSI of the DATA field */
|
||||
unsigned : 8; /**< reserved */
|
||||
unsigned : 8; /**< reserved */
|
||||
unsigned channel : 4; /**< the primary channel */
|
||||
unsigned second : 4; /**< the second channel if in HT40 */
|
||||
unsigned : 24; /**< reserved */
|
||||
unsigned : 8; /**< reserved */
|
||||
unsigned : 8; /**< reserved */
|
||||
unsigned : 32; /**< reserved */
|
||||
unsigned : 32; /**< reserved */
|
||||
unsigned : 2; /**< reserved */
|
||||
unsigned : 4; /**< reserved */
|
||||
|
||||
Reference in New Issue
Block a user