From 39fe51924e65147b77fd32e466cfeb54a1d64d5d Mon Sep 17 00:00:00 2001 From: Liu Zhi Fu Date: Thu, 26 Jan 2017 15:33:23 +0800 Subject: [PATCH 1/2] esp32: update wifi lib to fix two datapath issues 1. fix ampdu<->mpdu<->ampdu switch may cause rx slow issue by put mpdu into ampdu reorder queue 2. fix each ac first sending always fail issue by adding retry --- components/esp32/lib | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/components/esp32/lib b/components/esp32/lib index 6e50eb85a..45414a677 160000 --- a/components/esp32/lib +++ b/components/esp32/lib @@ -1 +1 @@ -Subproject commit 6e50eb85a07d12ded45d8765fc82bb7ab929e441 +Subproject commit 45414a6778e1bf2855f18a8c6b954d5cf575bb40 From 3b3c3210a670d40325bb3af7f900989599777e71 Mon Sep 17 00:00:00 2001 From: Liu Zhi Fu Date: Wed, 1 Mar 2017 13:37:36 +0800 Subject: [PATCH 2/2] lwip: fix bool options default value wrong issue menuconfig options with bool type should use 'y/n' to use the default value, instead of '1/0' --- components/lwip/Kconfig | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/components/lwip/Kconfig b/components/lwip/Kconfig index 0070ef466..f99b6fe8a 100644 --- a/components/lwip/Kconfig +++ b/components/lwip/Kconfig @@ -2,7 +2,7 @@ menu "LWIP" config L2_TO_L3_COPY bool "Enable copy between Layer2 and Layer3 packets" - default 0 + default n help If this feature is enabled, all traffic from layer2(WIFI Driver) will be copied to a new buffer before sending it to layer3(LWIP stack), freeing @@ -35,14 +35,14 @@ config LWIP_THREAD_LOCAL_STORAGE_INDEX config LWIP_SO_REUSE bool "Enable SO_REUSEADDR option" - default 0 + default n help Enabling this option allows binding to a port which remains in TIME_WAIT. config LWIP_SO_RCVBUF bool "Enable SO_RCVBUF option" - default 0 + default n help Enabling this option allows checking for available data on a netconn. @@ -57,14 +57,14 @@ config LWIP_DHCP_MAX_NTP_SERVERS config LWIP_IP_FRAG bool "Enable fragment outgoing IP packets" - default 0 + default n help Enabling this option allows fragmenting outgoing IP packets if their size exceeds MTU. config LWIP_IP_REASSEMBLY bool "Enable reassembly incoming fragmented IP packets" - default 0 + default n help Enabling this option allows reassemblying incoming fragmented IP packets. @@ -84,7 +84,7 @@ config TCP_SYNMAXRTX config LWIP_DHCP_DOES_ARP_CHECK bool "Enable an ARP check on the offered address" - default 1 + default y help Enabling this option allows check if the offered IP address is not already in use by another host on the network.