diff options
author | sharath <sharathkumarboyanapally@gmail.com> | 2019-02-06 20:28:09 +0530 |
---|---|---|
committer | sharath <sharathkumarboyanapally@gmail.com> | 2019-02-11 14:21:34 +0530 |
commit | ab0c198b32bebf85f88a241de8fab08f5653f90e (patch) | |
tree | d819c1adec9cf81d9114f1bdde2df6e560821645 /stacks/lwip_stack/release/lwip_helper_files | |
parent | 840dc98676773c027e699bd6efc3793118a5f1ef (diff) |
Fix: LWIP performance enhancement [iperf tool]
Change-Id: I46b12bcb3e40ef7af4038e3ba456a4b20b658740
Signed-off-by: sharath <sharathkumarboyanapally@gmail.com>
Diffstat (limited to 'stacks/lwip_stack/release/lwip_helper_files')
-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 |