wifimac::lowerMAC::timing::DCF Class Reference
Distributed Coordination Function.
More...
#include <lowerMAC/timing/DCF.hpp>
List of all members.
Detailed Description
Implements the known CSMA/CA using exponential backoff. FU does _not_ store any compounds, but uses the doIsAccepting to trigger the backoff: 1. Upper FU calls doIsAccepting -> backoff instance is asked for permission 2a. (Post-)backoff has run down: Return true, packet is send 2b.
Backoff has not finished: Return false 3b.
Backoff calls
DCF back when finished 4b.
DCF wakes upper FU up, re-start at 1
Definition at line 53 of file DCF.hpp.
Constructor & Destructor Documentation
Member Function Documentation
| void DCF::backoffExpired |
( |
|
) |
[private, virtual] |
time the backoff will be finished at (when called during AIFS the maximum waiting time will be used) wns::simulator::Time() if backoff hasn't started, current time when finished and idle
Definition at line 80 of file DCF.hpp.
| void DCF::onFUNCreated |
( |
|
) |
[virtual] |
| void wifimac::lowerMAC::timing::DCF::registerEOBObserver |
( |
BackoffObserver * |
observer |
) |
[inline] |
Member Data Documentation
The documentation for this class was generated from the following files:
- modules/dll/wimemac/src/lowerMAC/timing/DCF.hpp
- modules/dll/wimemac/src/lowerMAC/timing/DCF.cpp
- modules/dll/wimemac/src/lowerMAC/timing/DCF.cpp