mirror of
https://github.com/espressif/esp-idf.git
synced 2024-10-05 20:47:46 -04:00
Merge branch 'feature/add_limit_for_all_dynamic_ebuf' into 'master'
esp32: update wifi lib for limitting dynamic wifi buffer Add limit for all dynamic wifi ebuf to avoid wifi run out of memory in some extreme scanrio. The default max allocated dynamic tx buffer is 32 The default max allocated dynamic rx buffer is 64, make default value is bigger because when all packets we received are small packets, e.g. the length is 64Bytes, then 64K can hold 1000 packets, so 64 maybe a good candidate default value, anyway the customer can configure it via menuconfig. The default dynamic wifi internal long/long-long mgmt is 32, generally 32 is enough for mgmt packet (beacon/auth/assoc/probe/null etc). Generally when all the 32 mgmt buffer is run out of memory, it means internal wifi state machine may has problem, we need to debug it. See merge request !683
This commit is contained in:
commit
29002a1c83
@ -594,8 +594,8 @@ config ESP32_WIFI_STATIC_RX_BUFFER_NUM
|
||||
config ESP32_WIFI_DYNAMIC_RX_BUFFER_NUM
|
||||
int "Max number of WiFi dynamic RX buffers"
|
||||
depends on WIFI_ENABLED
|
||||
range 0 64
|
||||
default 0
|
||||
range 0 128
|
||||
default 64
|
||||
help
|
||||
Set the number of WiFi dynamic rx buffers, 0 means no limitation for dynamic rx buffer
|
||||
allocation. The size of dynamic rx buffers is not fixed.
|
||||
|
@ -1 +1 @@
|
||||
Subproject commit 7558b83e906589cb8491a894fd8e6f8c1f6554b6
|
||||
Subproject commit 53aac75afe219af9feca42aca7f1126d394844c9
|
Loading…
x
Reference in New Issue
Block a user