From ddcfb7ed3d11333d9b6eeab0bc5259f477aa1d0d Mon Sep 17 00:00:00 2001 From: lockzhiner_wang-xiaobin Date: Fri, 23 Sep 2022 06:50:29 +0000 Subject: [PATCH 1/2] =?UTF-8?q?=E8=A7=84=E8=8C=83=E5=8C=96=E4=BB=A3?= =?UTF-8?q?=E7=A0=81?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: lockzhiner_wang-xiaobin --- lingpi/third_party/rk2206_lwip/lwipopts.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lingpi/third_party/rk2206_lwip/lwipopts.h b/lingpi/third_party/rk2206_lwip/lwipopts.h index 74277e1..8db3346 100755 --- a/lingpi/third_party/rk2206_lwip/lwipopts.h +++ b/lingpi/third_party/rk2206_lwip/lwipopts.h @@ -142,7 +142,7 @@ #define MEMP_NUM_ARP_QUEUE (65535 * LWIP_CONFIG_NUM_SOCKETS / (IP_FRAG_MAX_MTU - 20 - 8)) #define MEMP_NUM_NETBUF (65535 * 3 * LWIP_CONFIG_NUM_SOCKETS / (IP_FRAG_MAX_MTU - 20 - 8)) #define MEMP_NUM_NETCONN LWIP_CONFIG_NUM_SOCKETS -#define MEMP_NUM_PBUF LWIP_CONFIG_NUM_SOCKETS*2 +#define MEMP_NUM_PBUF ((LWIP_CONFIG_NUM_SOCKETS) * 2) #define MEMP_NUM_RAW_PCB LWIP_CONFIG_NUM_SOCKETS #define MEMP_NUM_REASSDATA (IP_REASS_MAX_MEM_SIZE / 65535) #define MEMP_NUM_TCPIP_MSG_API 64 @@ -161,7 +161,7 @@ #define TCP_MAXRTX 64 #define TCP_MSS 1400 #define TCP_SND_BUF 65535 -#define TCP_SND_QUEUELEN (8 * TCP_SND_BUF) / TCP_MSS +#define TCP_SND_QUEUELEN ((8 * (TCP_SND_BUF)) / (TCP_MSS)) #define TCP_TTL 255 #define TCP_WND 32768 #define UDP_TTL 255 -- Gitee From 9929de7a5efdc7efc5d30c2ec436dd23ee218a3a Mon Sep 17 00:00:00 2001 From: lockzhiner_wang-xiaobin Date: Sat, 24 Sep 2022 07:26:05 +0000 Subject: [PATCH 2/2] =?UTF-8?q?=E6=9B=B4=E6=96=B0OAT.xml?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: lockzhiner_wang-xiaobin --- OAT.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/OAT.xml b/OAT.xml index ee60ce6..392774f 100755 --- a/OAT.xml +++ b/OAT.xml @@ -56,7 +56,7 @@ Note:If the text contains special characters, please escape them according to th --> - build/LICENSE|third_party/LICENSE + build/LICENSE|third_party/LICENSE -- Gitee