diff options
author | 2019-04-03 12:01:09 +0000 | |
---|---|---|
committer | 2019-04-03 12:01:09 +0000 | |
commit | 1a18eec5affd1804d0648eaaeb3ce9fb1757a85e (patch) | |
tree | 19257cfcc939c43a354e3ffc388fb8d22b8028bc /stacks/lwip_stack/release/lwip_helper_files/include/lwipopts.h | |
parent | db9dffb1beafa94b9341c9638887b1c6c8768377 (diff) | |
parent | ab0c198b32bebf85f88a241de8fab08f5653f90e (diff) |
Merge "Fix: LWIP performance enhancement [iperf tool]"
Diffstat (limited to 'stacks/lwip_stack/release/lwip_helper_files/include/lwipopts.h')
-rw-r--r-- | stacks/lwip_stack/release/lwip_helper_files/include/lwipopts.h | 10 |
1 files changed, 9 insertions, 1 deletions
diff --git a/stacks/lwip_stack/release/lwip_helper_files/include/lwipopts.h b/stacks/lwip_stack/release/lwip_helper_files/include/lwipopts.h index 4b1cf4f..46c4af2 100644 --- a/stacks/lwip_stack/release/lwip_helper_files/include/lwipopts.h +++ b/stacks/lwip_stack/release/lwip_helper_files/include/lwipopts.h @@ -35,5 +35,13 @@ #define LWIP_TCP_KEEPALIVE 1 #define LWIP_TIMEVAL_PRIVATE 0 #define LWIP_COMPAT_MUTEX 1 - +#ifdef TCP_MSS +#undef TCP_MSS +#endif +#define TCP_MSS 1460 +#define TCP_WND (20 * TCP_MSS) +#define TCP_SND_BUF (10 * TCP_MSS) +#define TCP_SND_QUEUELEN ((20 * (TCP_SND_BUF) + (TCP_MSS - 1))/(TCP_MSS)) +#define LWIP_WND_SCALE 1 +#define TCP_RCV_SCALE 7 #endif |