* Made Chameleon header processing module configurable (CHAMELEON_CONF_MODULE)

* Removed the unused init function from header processing modules
* Added option CHAMELEON_CONF_WITH_MAC_LINK_ADDRESSES to specify that
  MAC link addresses should be used instead of Chameleon's own encoding
  of sender and receiver. This avoids encoding the link addresses twice
  when the MAC RDC has its own addresses.
This commit is contained in:
nifi 2010-05-28 06:18:39 +00:00
parent b7b2c8fcde
commit f6e0b46f38
5 changed files with 144 additions and 90 deletions

View file

@ -33,7 +33,7 @@
*
* This file is part of the Contiki operating system.
*
* $Id: rime.c,v 1.28 2010/03/19 13:17:55 adamdunkels Exp $
* $Id: rime.c,v 1.29 2010/05/28 06:18:39 nifi Exp $
*/
/**
@ -152,7 +152,7 @@ init(void)
announcement_init();
rime_mac = &NETSTACK_MAC;
chameleon_init(&chameleon_bitopt);
chameleon_init();
#if ! RIME_CONF_NO_POLITE_ANNOUCEMENTS
/* XXX This is initializes the transmission of announcements but it
* is not currently certain where this initialization is supposed to