mirror of
https://github.com/espressif/esp-idf.git
synced 2024-10-05 20:47:46 -04:00
4f89cc73e6
If static tx buffer is selected, WiFi tx buffers are allocated when WiFi is initialized and released when WiFi is de-initialized. If dynamic tx buffer is selected, WiFi tx buffer is allocated when tx data is delivered from LWIP to WiFi and released when tx data is sent out by WiFi. The size of each static tx buffers is fixed to about 1.6KB and the size of dynamic tx buffers is depend on the length of the data delivered from LWIP. If PSRAM is enabled, "STATIC" should be selected to guarantee enough WiFi tx buffers. If PSRAM is disabled, "DYNAMIC" should be selected to improve the utilization of RAM.