Header file for the Collect link estimate
Data Structures | |
struct | collect_link_estimate |
Macros | |
#define | COLLECT_LINK_ESTIMATE_UNIT 8 |
Functions | |
uint16_t | collect_link_estimate (struct collect_link_estimate *le) |
Compute the link estimate metric for a link estimate. More... | |
void | collect_link_estimate_new (struct collect_link_estimate *le) |
Initialize a new link estimate. More... | |
int | collect_link_estimate_num_estimates (struct collect_link_estimate *le) |
void | collect_link_estimate_update_rx (struct collect_link_estimate *le) |
Update a link estimate when a packet has been received. More... | |
void | collect_link_estimate_update_tx (struct collect_link_estimate *le, uint8_t num_tx) |
Update a link estimate when a packet has been sent. More... | |
void | collect_link_estimate_update_tx_fail (struct collect_link_estimate *le, uint8_t num_tx) |
Update a link estimate when a packet has failed to be sent. More... | |