Răsfoiți Sursa

esp_wifi: fix softap beacon memory leak issue
1. fix softap beacon memory leak issue.
2. fix esp wifi sta get ap info does not return connected ssid issue.
3. update inactive timer when recv ps-poll or success send data.
4. decrease test memory leak threshold.

muhaidong 3 ani în urmă
părinte
comite
b07438f26f

+ 1 - 1
components/esp_wifi/lib

@@ -1 +1 @@
-Subproject commit f3e2f7fac3b27671f45ef368b49264d1477efbd9
+Subproject commit 9e81af17476302dbf053242a9a0a9b81a3cd2949

+ 1 - 1
components/esp_wifi/test_apps/wifi_connect/main/app_main.c

@@ -13,7 +13,7 @@
 #include "esp_heap_caps.h"
 
 // Some resources are lazy allocated in wifi and lwip
-#define TEST_MEMORY_LEAK_THRESHOLD (-4096)
+#define TEST_MEMORY_LEAK_THRESHOLD (-1536)
 
 static size_t before_free_8bit;
 static size_t before_free_32bit;

+ 1 - 1
components/esp_wifi/test_apps/wifi_function/main/app_main.c

@@ -12,7 +12,7 @@
 #include "esp_heap_caps.h"
 
 // Some resources are lazy allocated in wifi or event handler
-#define TEST_MEMORY_LEAK_THRESHOLD (-4096)
+#define TEST_MEMORY_LEAK_THRESHOLD (-1536)
 
 static size_t before_free_8bit;
 static size_t before_free_32bit;