From 561a1a64f2a2db8facfe307d27ca7dcade2c5704 Mon Sep 17 00:00:00 2001 From: Liu Zhi Fu Date: Thu, 20 Apr 2017 15:01:59 +0800 Subject: [PATCH] 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 --- components/esp32/Kconfig | 4 ++-- components/esp32/lib | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/components/esp32/Kconfig b/components/esp32/Kconfig index 4cd8e53f0..a7db4a9a8 100644 --- a/components/esp32/Kconfig +++ b/components/esp32/Kconfig @@ -573,8 +573,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. diff --git a/components/esp32/lib b/components/esp32/lib index 7558b83e9..53aac75af 160000 --- a/components/esp32/lib +++ b/components/esp32/lib @@ -1 +1 @@ -Subproject commit 7558b83e906589cb8491a894fd8e6f8c1f6554b6 +Subproject commit 53aac75afe219af9feca42aca7f1126d394844c9