From 537219bf275f59407a8144bcacf20d4a641c018d Mon Sep 17 00:00:00 2001 From: adamdunkels Date: Wed, 11 Mar 2009 20:33:17 +0000 Subject: [PATCH] Added a packet attribute to specify transmission power on outgoing packets --- core/net/rime/rimebuf.c | 3 ++- core/net/rime/rimebuf.h | 3 ++- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/core/net/rime/rimebuf.c b/core/net/rime/rimebuf.c index f01a980c3..63a294088 100644 --- a/core/net/rime/rimebuf.c +++ b/core/net/rime/rimebuf.c @@ -33,7 +33,7 @@ * * This file is part of the Contiki operating system. * - * $Id: rimebuf.c,v 1.17 2009/02/10 23:51:12 adamdunkels Exp $ + * $Id: rimebuf.c,v 1.18 2009/03/11 20:33:17 adamdunkels Exp $ */ /** @@ -68,6 +68,7 @@ const char *rimebuf_attr_strings[] = "RIMEBUF_ATTR_LINK_QUALITY", "RIMEBUF_ATTR_RSSI", "RIMEBUF_ATTR_TIMESTAMP", + "RIMEBUF_ATTR_RADIO_TXPOWER", "RIMEBUF_ATTR_LISTEN_ENERGY", "RIMEBUF_ATTR_TRANSMIT_ENERGY", diff --git a/core/net/rime/rimebuf.h b/core/net/rime/rimebuf.h index 9fb45dea6..9d47a0385 100644 --- a/core/net/rime/rimebuf.h +++ b/core/net/rime/rimebuf.h @@ -40,7 +40,7 @@ * * This file is part of the Contiki operating system. * - * $Id: rimebuf.h,v 1.18 2009/03/02 22:00:41 adamdunkels Exp $ + * $Id: rimebuf.h,v 1.19 2009/03/11 20:33:18 adamdunkels Exp $ */ /** @@ -331,6 +331,7 @@ enum { RIMEBUF_ATTR_LINK_QUALITY, RIMEBUF_ATTR_RSSI, RIMEBUF_ATTR_TIMESTAMP, + RIMEBUF_ATTR_RADIO_TXPOWER, RIMEBUF_ATTR_LISTEN_TIME, RIMEBUF_ATTR_TRANSMIT_TIME,