espressif / esp-idf

Espressif IoT Development Framework. Official development framework for Espressif SoCs.
Apache License 2.0
13.72k stars 7.3k forks source link

'How to Improve Wi-Fi Performance' section needs improvement (IDFGH-8908) #10326

Closed higaski closed 3 weeks ago

higaski commented 1 year ago

Answers checklist.

General issue report

The section 'How to Improve Wi-Fi Performance' in the WiFi Driver documentation needs some improvement.

There are some mistakes e.g. the docs say to set the value LWIP_IRAM_OPTIMIZATION to 13 in order to optimize throughput yet that value is a boolean one and can therefor only be set 0 or 1. The section specifically about PSRAM usage mentions the values TCP_SND_BUF_DEFAULT and TCP_WND_DEFAULT and suggests to set them to 85K. However this option can only be enabled once CONFIG_SPIRAM_TRY_ALLOCATE_WIFI_LWIP has been enabled.

hansw123 commented 8 months ago

hi @higaski Sorry for the delay in getting back to you, but we've received your question and will fix the problem in the next update, where the 13 in LWIP_IRAM_OPTIMIZATION stands for the amount of ram space used to turn on the option.

Indastri commented 3 weeks ago

Hi, This issue should be solved now. Closing, if the issue persists please reopen this or create a new issue.

Cheers!