class used to define timing parameters
More...
#include <modetimingparameters.h>
class used to define timing parameters
Definition at line 57 of file modetimingparameters.h.
◆ ModeTimingParameters()
EMANE::Models::IEEE80211ABG::ModeTimingParameters::ModeTimingParameters |
( |
const MACConfig & |
macConfig | ) |
|
◆ ~ModeTimingParameters()
EMANE::Models::IEEE80211ABG::ModeTimingParameters::~ModeTimingParameters |
( |
| ) |
|
◆ getContentionWindow()
int EMANE::Models::IEEE80211ABG::ModeTimingParameters::getContentionWindow |
( |
std::uint8_t |
u8Category, |
|
|
std::uint8_t |
tries |
|
) |
| const |
get the contention window
- Parameters
-
u8Category | queue index |
tries | number of retires |
- Return values
-
cw | the contention interval |
Definition at line 502 of file modetimingparameters.cc.
◆ getDeferIntervalMicroseconds()
EMANE::Microseconds EMANE::Models::IEEE80211ABG::ModeTimingParameters::getDeferIntervalMicroseconds |
( |
std::uint8_t |
u8Category | ) |
const |
get the defer time
- Parameters
-
- Return values
-
the | defer interval in Microseconds |
Definition at line 334 of file modetimingparameters.cc.
◆ getMessageDurationMicroseconds()
EMANE::Microseconds EMANE::Models::IEEE80211ABG::ModeTimingParameters::getMessageDurationMicroseconds |
( |
std::uint8_t |
type, |
|
|
size_t |
numBytes |
|
) |
| const |
get the message duration
- Parameters
-
type | packet type (rts, cts, ack, data) |
numBytes | packet size in bytes |
- Return values
-
the | transmission duration in Microseconds |
Definition at line 408 of file modetimingparameters.cc.
◆ getOverheadMicroseconds()
EMANE::Microseconds EMANE::Models::IEEE80211ABG::ModeTimingParameters::getOverheadMicroseconds |
( |
std::uint8_t |
u8Category | ) |
const |
get the overhead time
- Parameters
-
- Return values
-
the | overhead interval in Microseconds |
Definition at line 355 of file modetimingparameters.cc.
◆ getSlotSizeMicroseconds()
EMANE::Microseconds EMANE::Models::IEEE80211ABG::ModeTimingParameters::getSlotSizeMicroseconds |
( |
| ) |
const |
get the slot duration for a given mode and distance
- Return values
-
slot | time length in Microseconds |
Definition at line 227 of file modetimingparameters.cc.
◆ getSotTime()
TimePoint EMANE::Models::IEEE80211ABG::ModeTimingParameters::getSotTime |
( |
| ) |
const |
◆ packetTimedOut()
bool EMANE::Models::IEEE80211ABG::ModeTimingParameters::packetTimedOut |
( |
const Microseconds & |
txOpMicroseconds, |
|
|
const TimePoint & |
rxTime |
|
) |
| const |
check if a packet has timed out
- Parameters
-
txOpMicroseconds | packet txop time |
rxTime | packet rx time |
- Return values
-
return | true if packet has timed out, else return false. |
Definition at line 381 of file modetimingparameters.cc.
The documentation for this class was generated from the following files: