From 994067aecdb42daed1bf67063764071925e7eb8d Mon Sep 17 00:00:00 2001 From: maralvira Date: Mon, 14 Jun 2010 15:56:09 +0000 Subject: [PATCH] bring econotag conf in-sync with sky. Increase the size of the route and neighbor tables; remove the uIP packet buffer queue for every neighbor to save RAM --- platform/redbee-econotag/contiki-conf.h | 13 ++++++------- 1 file changed, 6 insertions(+), 7 deletions(-) diff --git a/platform/redbee-econotag/contiki-conf.h b/platform/redbee-econotag/contiki-conf.h index f181a835a..40d96cf1a 100644 --- a/platform/redbee-econotag/contiki-conf.h +++ b/platform/redbee-econotag/contiki-conf.h @@ -129,8 +129,7 @@ #define MAC_CONF_CHANNEL_CHECK_RATE 8 #define COLLECT_CONF_ANNOUNCEMENTS 1 -#define RIME_CONF_NO_POLITE_ANNOUCEMENTS 1 -#define RIME_CONF_NO_BROADCAST_ANNOUCEMENTS 0 +#define RIME_CONF_NO_POLITE_ANNOUCEMENTS 0 #define CXMAC_CONF_ANNOUNCEMENTS 0 #define XMAC_CONF_ANNOUNCEMENTS 0 #define CONTIKIMAC_CONF_ANNOUNCEMENTS 0 @@ -151,6 +150,8 @@ #define RF_CHANNEL 26 #endif /* RF_CHANNEL */ +#define CONTIKIMAC_CONF_BROADCAST_RATE_LIMIT 0 + #define IEEE802154_CONF_PANID 0xABCD #define PROFILE_CONF_ON 0 @@ -174,17 +175,15 @@ #define UIP_CONF_ROUTER 1 #define UIP_CONF_IPV6_RPL 1 -/* Handle 10 neighbors */ -#define UIP_CONF_DS6_NBR_NBU 10 -/* Handle 10 routes */ -#define UIP_CONF_DS6_ROUTE_NBU 10 +#define UIP_CONF_DS6_NBR_NBU 30 +#define UIP_CONF_DS6_ROUTE_NBU 30 #define UIP_CONF_ND6_SEND_RA 0 #define UIP_CONF_ND6_REACHABLE_TIME 600000 #define UIP_CONF_ND6_RETRANS_TIMER 10000 #define UIP_CONF_IPV6 1 -#define UIP_CONF_IPV6_QUEUE_PKT 1 +#define UIP_CONF_IPV6_QUEUE_PKT 0 #define UIP_CONF_IPV6_CHECKS 1 #define UIP_CONF_IPV6_REASSEMBLY 0 #define UIP_CONF_NETIF_MAX_ADDRESSES 3