Merge branch 'bugfix/adjust_lwip_options_and_update_wifi_lib' into 'master'

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

1. Modify TCP TX window from 2 to 4 to keep RX/TX window same size
2. Modify TCPIP task stack default size from 2048 to 2560 to avoid stack overflow
3. Update wifi lib for TCP performance optimization 

See merge request !714
This commit is contained in:
Jiang Jiang Jian 2017-04-28 16:07:25 +08:00
commit 523a76fe0b
3 changed files with 4 additions and 4 deletions

@ -1 +1 @@
Subproject commit fd7893d22ae4d43488c950583db7125c37b5ba80
Subproject commit c03b89041a888feff1f2fa96106ec4fee61c25a7

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)