]> granicus.if.org Git - esp-idf/commit
Add WiFi static and dynamic tx buffer choice
authorXiaXiaotian <xiaxiaotian@espressif.com>
Tue, 14 Mar 2017 13:03:41 +0000 (21:03 +0800)
committerXiaXiaotian <xiaxiaotian@espressif.com>
Thu, 30 Mar 2017 13:25:44 +0000 (21:25 +0800)
commit4f89cc73e6f6f207e97afff873139b700cfb5ca3
treee3a8756e86045d2c96bd6552783d89c0f5f755ec
parent73612b004fdab2c524c6349c5fd0da50cf5b416e
Add WiFi static and dynamic tx buffer choice

    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.
components/esp32/Kconfig
components/esp32/include/esp_wifi.h
components/esp32/lib