|
DESERT 4.0.0
|
#include <uwpolling_AUV.h>

Public Member Functions | |
| void | incrementCounters () |
| void | resetCounters () |
| uint | getNumberOfNeighbors () |
Public Attributes | |
| uint | n_probe_detected |
| uint | n_probe_received |
Struct used for handling the number of probes detected and received to estimate the number of neighbors.
|
inline |
Get estimate number of neighbors
References n_probe_detected, and n_probe_received.
Referenced by Uwpolling_AUV::getMaxBackoffTime().
|
inline |
Increment both counters
References n_probe_detected, and n_probe_received.
Referenced by Uwpolling_AUV::Phy2MacEndRx().
|
inline |
Reset both counters
References n_probe_detected, and n_probe_received.
Referenced by Uwpolling_AUV::stateTxTrigger(), and Uwpolling_AUV::Uwpolling_AUV().
| uint probe_cicle_counters::n_probe_detected |
Number of probe (prehamble) detected in a round by the MAC
Referenced by Uwpolling_AUV::getMaxBackoffTime(), getNumberOfNeighbors(), incrementCounters(), Uwpolling_AUV::Phy2MacEndRx(), and resetCounters().
| uint probe_cicle_counters::n_probe_received |
Number of probe received in a round (i.e., prehamble received)
Referenced by Uwpolling_AUV::getMaxBackoffTime(), getNumberOfNeighbors(), incrementCounters(), and resetCounters().