From 1911dc4956a707df838a52940c48775167e4f2ed Mon Sep 17 00:00:00 2001 From: dak664 Date: Mon, 8 Feb 2010 22:09:25 +0000 Subject: [PATCH] Defines for fragmentation handling --- platform/avr-raven/contiki-conf.h | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/platform/avr-raven/contiki-conf.h b/platform/avr-raven/contiki-conf.h index f3ad6c936..e205084e2 100644 --- a/platform/avr-raven/contiki-conf.h +++ b/platform/avr-raven/contiki-conf.h @@ -81,6 +81,13 @@ typedef int32_t s32_t; #define SICSLOWPAN_CONF_MAX_ADDR_CONTEXTS 2 #define SICSLOWPAN_CONF_FRAG 1 //set zero for sky equivalence with barebones driver +/* Below will prevent fragmentation of TCP packets, undef for faster page loads, simpler wireshark captures */ +//#define UIP_CONF_TCP_MSS 48 + +/* Fragmentation uses queuebuf.c to save packets */ +#define QUEUEBUF_CONF_NUM 1 +#define QUEUEBUF_CONF_REF_NUM 1 + #ifdef RF230BB #define SICSLOWPAN_CONF_CONVENTIONAL_MAC 1 //for barebones driver //#define SICSLOWPAN_CONF_FRAG 0 //for sky equivalence with barebones driver