diff --git a/platform/avr-ravenusb/contiki-conf.h b/platform/avr-ravenusb/contiki-conf.h index 8eab7cce9..d73b16ed1 100644 --- a/platform/avr-ravenusb/contiki-conf.h +++ b/platform/avr-ravenusb/contiki-conf.h @@ -434,7 +434,9 @@ typedef unsigned short uip_stats_t; #undef UIP_CONF_TCP #define UIP_CONF_TCP 1 #define UIP_CONF_TCP_MSS 48 +#ifndef UIP_CONF_RECEIVE_WINDOW #define UIP_CONF_RECEIVE_WINDOW 48 +#endif #undef NBR_TABLE_CONF_MAX_NEIGHBORS #define NBR_TABLE_CONF_MAX_NEIGHBORS 5 #undef UIP_CONF_MAX_ROUTES diff --git a/platform/econotag/contiki-conf.h b/platform/econotag/contiki-conf.h index 2b29867ef..963a9799c 100644 --- a/platform/econotag/contiki-conf.h +++ b/platform/econotag/contiki-conf.h @@ -212,7 +212,9 @@ #define UIP_CONF_DHCP_LIGHT #define UIP_CONF_LLH_LEN 0 +#ifndef UIP_CONF_RECEIVE_WINDOW #define UIP_CONF_RECEIVE_WINDOW 48 +#endif #define UIP_CONF_TCP_MSS 48 #define UIP_CONF_MAX_CONNECTIONS 4 #define UIP_CONF_MAX_LISTENPORTS 8 diff --git a/platform/ev-aducrf101mkxz/contiki-conf.h b/platform/ev-aducrf101mkxz/contiki-conf.h index 673a358ab..ce9469b7a 100644 --- a/platform/ev-aducrf101mkxz/contiki-conf.h +++ b/platform/ev-aducrf101mkxz/contiki-conf.h @@ -159,7 +159,9 @@ #define UIP_CONF_DHCP_LIGHT #define UIP_CONF_LLH_LEN 0 +#ifndef UIP_CONF_RECEIVE_WINDOW #define UIP_CONF_RECEIVE_WINDOW 48 +#endif #define UIP_CONF_TCP_MSS 48 #define UIP_CONF_MAX_CONNECTIONS 4 #define UIP_CONF_MAX_LISTENPORTS 4 diff --git a/platform/eval-adf7xxxmb4z/contiki-conf.h b/platform/eval-adf7xxxmb4z/contiki-conf.h index 965bb16cd..ad64b392f 100644 --- a/platform/eval-adf7xxxmb4z/contiki-conf.h +++ b/platform/eval-adf7xxxmb4z/contiki-conf.h @@ -162,7 +162,9 @@ #define UIP_CONF_DHCP_LIGHT #define UIP_CONF_LLH_LEN 0 +#ifndef UIP_CONF_RECEIVE_WINDOW #define UIP_CONF_RECEIVE_WINDOW 48 +#endif #define UIP_CONF_TCP_MSS 48 #define UIP_CONF_MAX_CONNECTIONS 4 #define UIP_CONF_MAX_LISTENPORTS 8 diff --git a/platform/micaz/contiki-conf.h b/platform/micaz/contiki-conf.h index 50e2ace1e..9f9b8ded1 100644 --- a/platform/micaz/contiki-conf.h +++ b/platform/micaz/contiki-conf.h @@ -179,7 +179,9 @@ #define UIP_CONF_DHCP_LIGHT #define UIP_CONF_LLH_LEN 0 +#ifndef UIP_CONF_RECEIVE_WINDOW #define UIP_CONF_RECEIVE_WINDOW 48 +#endif #define UIP_CONF_TCP_MSS 48 #define UIP_CONF_MAX_CONNECTIONS 4 #define UIP_CONF_MAX_LISTENPORTS 8 diff --git a/platform/native/contiki-conf.h b/platform/native/contiki-conf.h index 03eacbbde..7ac497468 100644 --- a/platform/native/contiki-conf.h +++ b/platform/native/contiki-conf.h @@ -141,7 +141,9 @@ typedef unsigned short uip_stats_t; #define UIP_CONF_ICMP_DEST_UNREACH 1 #define UIP_CONF_DHCP_LIGHT +#ifndef UIP_CONF_RECEIVE_WINDOW #define UIP_CONF_RECEIVE_WINDOW 48 +#endif #define UIP_CONF_TCP_MSS 48 #define UIP_CONF_UDP_CONNS 12 #define UIP_CONF_FWCACHE_SIZE 30