]> granicus.if.org Git - esp-idf/commitdiff
esp32/lwip: adjust some lwip options and update wifi lib
authorLiu Zhi Fu <liuzhifu@espressif.com>
Thu, 27 Apr 2017 13:58:38 +0000 (21:58 +0800)
committerLiu Zhi Fu <liuzhifu@espressif.com>
Fri, 28 Apr 2017 07:25:33 +0000 (15:25 +0800)
1. Modify TCP TX window from 2 to 4
2. Modify TCPIP task stack default size from 2048 to 2560
3. Update wifi lib for TCP performance optimization

components/esp32/lib
components/lwip/Kconfig
components/lwip/include/lwip/port/lwipopts.h

index fd7893d22ae4d43488c950583db7125c37b5ba80..c03b89041a888feff1f2fa96106ec4fee61c25a7 160000 (submodule)
@@ -1 +1 @@
-Subproject commit fd7893d22ae4d43488c950583db7125c37b5ba80
+Subproject commit c03b89041a888feff1f2fa96106ec4fee61c25a7
index 1e37056fbee923bed82b94d94dbff6e65c54f17f..06becb7f3dfc859b724f79e88a58c3e215fb82af 100644 (file)
@@ -91,10 +91,10 @@ config LWIP_DHCP_DOES_ARP_CHECK
 
 config TCPIP_TASK_STACK_SIZE
     int "TCP/IP Task Stack Size"
-    default 2048
+    default 2560
     help
        Configure TCP/IP task stack size, used by LWIP to process multi-threaded TCP/IP operations.
-       The default is 2048 bytes, setting this stack too small will result in stack overflow crashes.
+       The default is 2560 bytes, setting this stack too small will result in stack overflow crashes.
 
 menuconfig PPP_SUPPORT
     bool "Enable PPP support (new/experimental)"
index 1fba710422a18e60643c99e58275e5a329c0dbc2..3b8c5485c41a0bdadd2e68ef0b3f6063271a9a32 100644 (file)
 #define ESP_LWIP_LOGI(...)              ESP_LOGI("lwip", __VA_ARGS__)
 
 #define TCP_WND_DEFAULT                 (4*TCP_MSS)
-#define TCP_SND_BUF_DEFAULT             (2*TCP_MSS)
+#define TCP_SND_BUF_DEFAULT             (4*TCP_MSS)
 
 #if ESP_PERF
 #define DBG_PERF_PATH_SET(dir, point)