collect-link-estimate.c File Reference

Implementation of Collect link estimate based on ETX. More...

#include "net/rime/collect.h"
#include "net/rime/collect-link-estimate.h"

Go to the source code of this file.

Functions

void collect_link_estimate_new (struct collect_link_estimate *le)
 Initialize a new link estimate.
void collect_link_estimate_update_tx (struct collect_link_estimate *le, uint8_t tx)
 Update a link estimate when a packet has been sent.
void collect_link_estimate_update_tx_fail (struct collect_link_estimate *le, uint8_t tx)
 Update a link estimate when a packet has failed to be sent.
void collect_link_estimate_update_rx (struct collect_link_estimate *n)
 Update a link estimate when a packet has been received.
uint16_t collect_link_estimate (struct collect_link_estimate *le)
 Compute the link estimate metric for a link estimate.

Detailed Description

Implementation of Collect link estimate based on ETX.

Author:
Adam Dunkels <adam@sics.se>

Definition in file collect-link-estimate.c.


Generated on Mon Apr 11 14:23:46 2011 for Contiki 2.5 by  doxygen 1.6.1