#include <EdcaTransmitLifetimeHandler.h>
inet::ieee80211::EdcaTransmitLifetimeHandler::EdcaTransmitLifetimeHandler |
( |
simtime_t |
bkLifetime, |
|
|
simtime_t |
beLifetime, |
|
|
simtime_t |
viLifetime, |
|
|
simtime_t |
voLifetime |
|
) |
| |
simtime_t msduLifetime[4]
Definition: EdcaTransmitLifetimeHandler.h:32
void inet::ieee80211::EdcaTransmitLifetimeHandler::frameGotInProgess |
( |
Ieee80211DataFrame * |
frame | ) |
|
|
virtual |
void inet::ieee80211::EdcaTransmitLifetimeHandler::frameTransmitted |
( |
Ieee80211DataFrame * |
frame | ) |
|
|
virtual |
bool inet::ieee80211::EdcaTransmitLifetimeHandler::isLifetimeExpired |
( |
Ieee80211DataFrame * |
frame | ) |
|
|
virtual |
Implements inet::ieee80211::ITransmitLifetimeHandler.
46 auto it =
lifetimes.find(frame->getSequenceNumber());
48 throw cRuntimeError(
"There is no lifetime entry for frame = %s", frame->getName());
Definition: Ieee80211Frame_m.h:117
AccessCategory mapTidToAc(int tid)
Definition: EdcaTransmitLifetimeHandler.cc:53
std::map< SequenceNumber, simtime_t > lifetimes
Definition: EdcaTransmitLifetimeHandler.h:33
AccessCategory
IEEE 802.11e QoS (EDCA) access categories.
Definition: AccessCategory.h:29
simtime_t msduLifetime[4]
Definition: EdcaTransmitLifetimeHandler.h:32
AccessCategory inet::ieee80211::EdcaTransmitLifetimeHandler::mapTidToAc |
( |
int |
tid | ) |
|
|
protected |
Referenced by isLifetimeExpired().
57 case 1:
case 2:
return AC_BK;
58 case 0:
case 3:
return AC_BE;
59 case 4:
case 5:
return AC_VI;
60 case 6:
case 7:
return AC_VO;
61 default:
throw cRuntimeError(
"No mapping from TID=%d to AccessCategory (must be in the range 0..7)", tid);
Definition: AccessCategory.h:31
Definition: AccessCategory.h:33
Definition: AccessCategory.h:34
Definition: AccessCategory.h:32
std::map<SequenceNumber, simtime_t> inet::ieee80211::EdcaTransmitLifetimeHandler::lifetimes |
simtime_t inet::ieee80211::EdcaTransmitLifetimeHandler::msduLifetime[4] |
The documentation for this class was generated from the following files: