esp_wifi: add dynamic carrier sense threshold to improve tx throughput in high interference env.

esp_wifi: fix potential issue when tx fragment pkt

Closes WIFI-5106

Closes WIFI-5529
This commit is contained in:
chenjianxing 2023-01-05 16:29:16 +08:00
parent ca5dd7f0b3
commit b09a4e29c9
2 changed files with 14 additions and 1 deletions

View File

@ -1348,6 +1348,19 @@ esp_err_t esp_wifi_sta_get_aid(uint16_t *aid);
*/
esp_err_t esp_wifi_sta_get_negotiated_phymode(wifi_phy_mode_t *phymode);
/**
* @brief Config dynamic carrier sense
*
* @attention This API should be called after esp_wifi_start().
*
* @param enabled Dynamic carrier sense is enabled or not.
*
* @return
* - ESP_OK: succeed
* - others: failed
*/
esp_err_t esp_wifi_set_dynamic_cs(bool enabled);
#ifdef __cplusplus
}
#endif

@ -1 +1 @@
Subproject commit a821d6aef8e9ba26b1003a0fa3276774a2113433
Subproject commit bdaf43e3da5dcd2fd599c46dd79d509aabb245fb