diff --git a/components/esp32/include/esp_wifi.h b/components/esp32/include/esp_wifi.h index 3285fd3500..2b55d39965 100644 --- a/components/esp32/include/esp_wifi.h +++ b/components/esp32/include/esp_wifi.h @@ -1063,6 +1063,16 @@ 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); +/** + * @brief Improve WiFi transmitting contention ability. + * + * @param enable If enable is true, improve WiFi transmitting contention ability. + * + * @return + * - ESP_OK: succeed + */ +esp_err_t esp_wifi_improve_contention_ability(bool enable); + #ifdef __cplusplus } #endif diff --git a/components/esp32/lib b/components/esp32/lib index 72ffbfbdf7..d77d0a481d 160000 --- a/components/esp32/lib +++ b/components/esp32/lib @@ -1 +1 @@ -Subproject commit 72ffbfbdf739f1f5379384e0ceee3565d70f7900 +Subproject commit d77d0a481db05bd76d58a95506d889e068289170 diff --git a/components/lwip/Kconfig b/components/lwip/Kconfig index 34557400a6..8b4dff3ef8 100644 --- a/components/lwip/Kconfig +++ b/components/lwip/Kconfig @@ -318,7 +318,8 @@ menu "LWIP" config TCP_WND_DEFAULT int "Default receive window size" default 5744 # 4 * default MSS - range 2440 65535 + range 2440 65535 if !LWIP_WND_SCALE + range 2440 1024000 if LWIP_WND_SCALE help Set default TCP receive window size for new TCP sockets.