Increased alpha to 85 in order to get slower changes in the ETX. Put back the start guess to 3.

This commit is contained in:
nvt-se 2010-10-27 00:45:24 +00:00
parent 46122f558f
commit c2c0505402

View file

@ -28,7 +28,7 @@
* *
* This file is part of the Contiki operating system. * This file is part of the Contiki operating system.
* *
* $Id: neighbor-info.c,v 1.15 2010/10/25 20:06:17 nvt-se Exp $ * $Id: neighbor-info.c,v 1.16 2010/10/27 00:45:24 nvt-se Exp $
*/ */
/** /**
* \file * \file
@ -50,8 +50,8 @@
#define ETX_LIMIT 15 #define ETX_LIMIT 15
#define ETX_SCALE 100 #define ETX_SCALE 100
#define ETX_ALPHA 70 #define ETX_ALPHA 85
#define ETX_FIRST_GUESS 2 #define ETX_FIRST_GUESS 3
/*---------------------------------------------------------------------------*/ /*---------------------------------------------------------------------------*/
NEIGHBOR_ATTRIBUTE(uint8_t, etx, NULL); NEIGHBOR_ATTRIBUTE(uint8_t, etx, NULL);