Просмотр исходного кода

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
Liu Zhi Fu 8 лет назад
Родитель
Сommit
561a1a64f2
2 измененных файлов с 3 добавлено и 3 удалено
  1. 2 2
      components/esp32/Kconfig
  2. 1 1
      components/esp32/lib

+ 2 - 2
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.

+ 1 - 1
components/esp32/lib

@@ -1 +1 @@
-Subproject commit 7558b83e906589cb8491a894fd8e6f8c1f6554b6
+Subproject commit 53aac75afe219af9feca42aca7f1126d394844c9