esp32/lwip: adjust some lwip options and update wifi lib

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
This commit is contained in:
Liu Zhi Fu
2017-04-27 21:58:38 +08:00
parent 7db85a386a
commit 5cf3b1c201
3 changed files with 4 additions and 4 deletions

View 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)"

View File

@@ -670,7 +670,7 @@
#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)