net: configure TCP receive window size
Tweak TCP receive window size from Kconfig. Change-Id: I0d43809d5f36727a86d68b45a38ec136ca0b69cf Signed-off-by: jgarcia <jeremie.garcia@intel.com>
This commit is contained in:
parent
7e8e620ddf
commit
5b6175d00c
2 changed files with 14 additions and 0 deletions
|
@ -133,6 +133,16 @@ config TCP_MSS
|
|||
not change this but let the IP stack to calculate a best
|
||||
size for it.
|
||||
|
||||
config TCP_RECEIVE_WINDOW
|
||||
int
|
||||
prompt "TCP receive window size"
|
||||
depends on NETWORKING_WITH_TCP
|
||||
default 0
|
||||
help
|
||||
Tweak the TCP receive window size. Normally one should
|
||||
not change this but let the IP stack to calculate a best
|
||||
size for it.
|
||||
|
||||
config NETWORKING_WITH_RPL
|
||||
bool
|
||||
prompt "Enable RPL (ripple) IPv6 mesh routing protocol"
|
||||
|
|
|
@ -52,6 +52,10 @@ typedef unsigned int uip_stats_t;
|
|||
#define UIP_CONF_TCP_MSS CONFIG_TCP_MSS
|
||||
#endif /* CONFIG_TCP_MSS */
|
||||
|
||||
#if CONFIG_TCP_RECEIVE_WINDOW > 0
|
||||
#define UIP_CONF_RECEIVE_WINDOW CONFIG_TCP_RECEIVE_WINDOW
|
||||
#endif /* CONFIG_TCP_RECEIVE_WINDOW */
|
||||
|
||||
/* Currently we can only be a TCP listener (server) */
|
||||
#define UIP_CONF_ACTIVE_OPEN 0
|
||||
#else
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue