* Added configurable default number of transmissions for CSMA to use when not specified using packetbuf attributes (CSMA_CONF_MAX_MAC_TRANSMISSIONS).

* Renamed packetbuf attribute PACKETBUF_ATTR_MAX_MAC_REXMIT to PACKETBUF_ATTR_MAX_MAC_TRANSMISSIONS where value 0 (attribute not set) means that default number of transmissions should be used.
This commit is contained in:
nifi 2010-03-26 12:29:29 +00:00
parent ce5d19fefd
commit 9508d2c4d7
5 changed files with 30 additions and 11 deletions

View file

@ -40,7 +40,7 @@
*
* This file is part of the Contiki operating system.
*
* $Id: packetbuf.h,v 1.6 2010/02/28 09:19:43 adamdunkels Exp $
* $Id: packetbuf.h,v 1.7 2010/03/26 12:29:29 nifi Exp $
*/
/**
@ -341,7 +341,7 @@ enum {
PACKETBUF_ATTR_RADIO_TXPOWER,
PACKETBUF_ATTR_LISTEN_TIME,
PACKETBUF_ATTR_TRANSMIT_TIME,
PACKETBUF_ATTR_MAX_MAC_REXMIT,
PACKETBUF_ATTR_MAX_MAC_TRANSMISSIONS,
/* Scope 1 attributes: used between two neighbors only. */
PACKETBUF_ATTR_RELIABLE,