Fine tuning of link stats and RPL OFs
This commit is contained in:
parent
0d7e1e8be4
commit
6349019384
3 changed files with 18 additions and 28 deletions
|
@ -55,13 +55,13 @@
|
|||
|
||||
/* EWMA (exponential moving average) used to maintain statistics over time */
|
||||
#define EWMA_SCALE 100
|
||||
#define EWMA_ALPHA 10
|
||||
#define EWMA_ALPHA 15
|
||||
#define EWMA_BOOTSTRAP_ALPHA 30
|
||||
|
||||
/* ETX fixed point divisor. 128 is the value used by RPL (RFC 6551 and RFC 6719) */
|
||||
#define ETX_DIVISOR LINK_STATS_ETX_DIVISOR
|
||||
/* Number of Tx used to update the ETX EWMA in case of no-ACK */
|
||||
#define ETX_NOACK_PENALTY 16
|
||||
#define ETX_NOACK_PENALTY 10
|
||||
/* Initial ETX value */
|
||||
#define ETX_INIT 2
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue