RFC: ESP32_WIFI_CACHE_TX_BUFFER_NUM

this.wiederkehr
Posts: 15
Joined: Thu Jul 13, 2017 8:04 am

RFC: ESP32_WIFI_CACHE_TX_BUFFER_NUM

Postby this.wiederkehr » Tue Jan 12, 2021 12:06 am

This got introduced here and I do not understand the behaviour:

https://github.com/espressif/esp-idf/co ... 5b70ca4071

If SPIRAM is available but not for use by malloc this change will make internal ram very tight.

So, I tried to manually setting the number of caches to zero as it seems is done if no spiram is available.

wifi_init_config_t cfg = WIFI_INIT_CONFIG_DEFAULT();
cfg.cache_tx_buf_num = 0;

However, this did render the wlan in ap mode unusable ( no connection possible). Setting cache_tx_buf_num to 4 worked tough. But is this supported in general? What are the supported values for cache_tx_buf_num?

Who is online

Users browsing this forum: Bing [Bot] and 94 guests