Merge branch 'fix/fix_esp32c5_connect_issues_1' into 'master'

fix(wifi): fix esp32c5 connect issues cause by change band mode to 5G only

Closes WIFIBUG-682 and WIFIBUG-494

See merge request espressif/esp-idf!32554
This commit is contained in:
Jiang Jiang Jian 2024-08-21 11:56:27 +08:00
commit f12cdd7b2a
5 changed files with 19 additions and 5 deletions

View File

@ -40,7 +40,7 @@ ieee80211_encap_esfbuf = 0x40000b60;
ieee80211_is_tx_allowed = 0x40000b64;
ieee80211_output_pending_eb = 0x40000b68;
ieee80211_output_process = 0x40000b6c;
ieee80211_set_tx_desc = 0x40000b70;
/*ieee80211_set_tx_desc = 0x40000b70;*/
ieee80211_classify = 0x40000b74;
ieee80211_copy_eb_header = 0x40000b78;
ieee80211_recycle_cache_eb = 0x40000b7c;

View File

@ -101,7 +101,7 @@ mac_tx_set_plcp2 = 0x40000d24;
mac_tx_set_len = 0x40000d28;
mac_tx_set_htsig = 0x40000d2c;
mac_tx_set_vhtsig = 0x40000d30;
mac_tx_set_hesig = 0x40000d34;
/*mac_tx_set_hesig = 0x40000d34;*/
mac_tx_set_tb = 0x40000d38;
mac_tx_set_mplen = 0x40000d3c;
mac_tx_set_txop_q = 0x40000d40;
@ -118,7 +118,7 @@ pm_local_tsf_process = 0x40000d68;
pm_set_beacon_filter = 0x40000d6c;
pm_is_in_wifi_slice_threshold = 0x40000d70;
pm_is_waked = 0x40000d74;
pm_keep_alive = 0x40000d78;
/*pm_keep_alive = 0x40000d78;*/
/*pm_on_beacon_rx = 0x40000d7c;*/
pm_on_data_rx = 0x40000d80;
pm_on_data_tx = 0x40000d84;
@ -130,7 +130,7 @@ pm_on_isr_twt_wake = 0x40000d98;
pm_on_tsf_timer = 0x40000d9c;
pm_on_twt_force_tx = 0x40000da0;
/*pm_parse_beacon = 0x40000da4;*/
pm_process_tim = 0x40000da8;
/*pm_process_tim = 0x40000da8;*/
pm_rx_beacon_process = 0x40000dac;
pm_rx_data_process = 0x40000db0;
/*pm_sleep = 0x40000db4;*/

View File

@ -1662,6 +1662,7 @@ esp_err_t esp_wifi_get_band(wifi_band_t* band);
* @return
* - ESP_OK: succeed
* - ESP_ERR_WIFI_NOT_INIT: WiFi is not initialized by esp_wifi_init
* - ESP_ERR_WIFI_NOT_STARTED: WiFi is not started by esp_wifi_start
* - ESP_ERR_INVALID_ARG: invalid argument
*
*/

View File

@ -216,6 +216,19 @@ esp_err_t esp_wifi_sta_btwt_get_info(uint8_t btwt_number, esp_wifi_btwt_info_t *
*/
esp_err_t esp_wifi_sta_twt_config(wifi_twt_config_t *config);
/**
* @brief Enable bss color collision detection.
*
* @param[in] enable If true, when the station detects a BSS color collision, it will report the BSS color collision event to the access point (AP).
*
* @return
* - ESP_OK: succeed
* - ESP_ERR_WIFI_NOT_INIT: WiFi is not initialized by esp_wifi_init
* - ESP_ERR_WIFI_NOT_STARTED: WiFi is not started by esp_wifi_start
* - ESP_ERR_NOT_SUPPORTED: This API is not supported in AP mode yet
*/
esp_err_t esp_wifi_sta_enable_bsscolor_collision_detection(bool enable);
#ifdef __cplusplus
}
#endif

@ -1 +1 @@
Subproject commit 63dc7fc9af59d258698fa45e065beb67c5b24d72
Subproject commit 928e6cc71b481c1958409ecd9a1859c829be9354