Added a packet attribute to specify transmission power on outgoing packets

This commit is contained in:
adamdunkels 2009-03-11 20:33:17 +00:00
parent 14924bae66
commit 537219bf27
2 changed files with 4 additions and 2 deletions

View File

@ -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",

View File

@ -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,