EMANE
1.2.1
|
class used to define the mac layer configuration items More...
#include <macconfig.h>
Public Member Functions | |
MACConfig (LogServiceProvider &logServiceProvider, NEMId id) | |
constructor More... | |
~MACConfig () | |
destructor More... | |
bool | getPromiscuosEnable () const |
get the promiscuous mode More... | |
bool | getWmmEnable () const |
get the wmm mode More... | |
void | registerConfiguration (ConfigurationRegistrar &configRegistrar) |
MODULATION_TYPE | getModulationType () const |
get the modulation type More... | |
std::uint8_t | getUnicastDataRateIndex () const |
get the unicast datarate index More... | |
std::uint8_t | getBroadcastDataRateIndex () const |
get the broadcast datarate index More... | |
std::uint32_t | getUnicastDataRateKbps () const |
get the unicast datarate More... | |
std::uint32_t | getBroadcastDataRateKbps () const |
get the broadcast datarate More... | |
std::uint32_t | getMaxDataRateKbps () const |
std::uint32_t | getUnicastDataRateKbps (std::uint8_t) const |
get the unicast datarate More... | |
std::uint32_t | getBroadcastDataRateKbps (std::uint8_t) const |
get the broadcast datarate More... | |
std::uint32_t | getMaxP2pDistance () const |
get the max ptp distance More... | |
std::uint8_t | getNumAccessCategories () const |
get the number of access categories (queues) More... | |
std::uint16_t | getRtsThreshold () const |
std::uint8_t | getQueueSize (std::uint8_t) const |
get the queue size for a given queue index More... | |
std::uint16_t | getQueueEntrySize (std::uint8_t) const |
get the queue entry size for a given queue index More... | |
std::uint16_t | getCWMin (std::uint8_t) const |
get the min contention window size for a given queue index More... | |
std::uint16_t | getCWMax (std::uint8_t) const |
get the max contention window size for a given queue index More... | |
void | setCWMin0 (std::uint16_t u16Value) |
void | setCWMin1 (std::uint16_t u16Value) |
void | setCWMin2 (std::uint16_t u16Value) |
void | setCWMin3 (std::uint16_t u16Value) |
void | setCWMax0 (std::uint16_t u16Value) |
void | setCWMax1 (std::uint16_t u16Value) |
void | setCWMax2 (std::uint16_t u16Value) |
void | setCWMax3 (std::uint16_t u16Value) |
Microseconds | getAifsMicroseconds (std::uint8_t) const |
get the aifs for a given queue index More... | |
Microseconds | getTxOpMicroseconds (std::uint8_t) const |
get the txop for a given queue index More... | |
std::uint8_t | getRetryLimit (std::uint8_t) const |
get the retry limit for a given queue index More... | |
std::uint16_t | getFlowControlTokens () const |
get the number of flow control tokens More... | |
bool | getFlowControlEnable () const |
get the flow control enable status More... | |
std::string | getPcrUri () const |
get the pcr uri More... | |
Microseconds | getNeighborTimeoutMicroseconds () const |
Microseconds | getChannelActivityIntervalMicroseconds () const |
bool | configure (const ConfigurationUpdate &update) |
bool | processConfiguration (const ConfigurationUpdate &update) |
CWRatioVector | getCWMinRatioVector (std::uint8_t) const |
Microseconds | getNeighborMetricDeleteTimeMicroseconds () const |
Microseconds | getRadioMetricReportIntervalMicroseconds () const |
bool | getRadioMetricEnable () const |
class used to define the mac layer configuration items
Definition at line 152 of file macconfig.h.
EMANE::Models::IEEE80211ABG::MACConfig::MACConfig | ( | LogServiceProvider & | logServiceProvider, |
NEMId | id | ||
) |
constructor
Definition at line 71 of file macconfig.cc.
EMANE::Models::IEEE80211ABG::MACConfig::~MACConfig | ( | ) |
destructor
Definition at line 82 of file macconfig.cc.
bool EMANE::Models::IEEE80211ABG::MACConfig::configure | ( | const ConfigurationUpdate & | update | ) |
Definition at line 1008 of file macconfig.cc.
EMANE::Microseconds EMANE::Models::IEEE80211ABG::MACConfig::getAifsMicroseconds | ( | std::uint8_t | u8Category | ) | const |
get the aifs for a given queue index
u8Category | queue index |
aifs |
Definition at line 806 of file macconfig.cc.
std::uint8_t EMANE::Models::IEEE80211ABG::MACConfig::getBroadcastDataRateIndex | ( | ) | const |
get the broadcast datarate index
datarate | index |
Definition at line 509 of file macconfig.cc.
std::uint32_t EMANE::Models::IEEE80211ABG::MACConfig::getBroadcastDataRateKbps | ( | ) | const |
get the broadcast datarate
datarate | in Kbps |
Definition at line 548 of file macconfig.cc.
std::uint32_t EMANE::Models::IEEE80211ABG::MACConfig::getBroadcastDataRateKbps | ( | std::uint8_t | u8Index | ) | const |
get the broadcast datarate
datarate | in Kbps |
Definition at line 575 of file macconfig.cc.
EMANE::Microseconds EMANE::Models::IEEE80211ABG::MACConfig::getChannelActivityIntervalMicroseconds | ( | ) | const |
Definition at line 939 of file macconfig.cc.
std::uint16_t EMANE::Models::IEEE80211ABG::MACConfig::getCWMax | ( | std::uint8_t | u8Category | ) | const |
get the max contention window size for a given queue index
u8Category | queue index |
max | contention window size |
Definition at line 709 of file macconfig.cc.
std::uint16_t EMANE::Models::IEEE80211ABG::MACConfig::getCWMin | ( | std::uint8_t | u8Category | ) | const |
get the min contention window size for a given queue index
u8Category | queue index |
min | contention window size |
Definition at line 680 of file macconfig.cc.
EMANE::Models::IEEE80211ABG::CWRatioVector EMANE::Models::IEEE80211ABG::MACConfig::getCWMinRatioVector | ( | std::uint8_t | u8Category | ) | const |
Definition at line 953 of file macconfig.cc.
bool EMANE::Models::IEEE80211ABG::MACConfig::getFlowControlEnable | ( | ) | const |
get the flow control enable status
flow | control enable |
Definition at line 894 of file macconfig.cc.
std::uint16_t EMANE::Models::IEEE80211ABG::MACConfig::getFlowControlTokens | ( | ) | const |
get the number of flow control tokens
flow | control tokens |
Definition at line 909 of file macconfig.cc.
std::uint32_t EMANE::Models::IEEE80211ABG::MACConfig::getMaxDataRateKbps | ( | ) | const |
Definition at line 530 of file macconfig.cc.
std::uint32_t EMANE::Models::IEEE80211ABG::MACConfig::getMaxP2pDistance | ( | ) | const |
EMANE::Models::IEEE80211ABG::MODULATION_TYPE EMANE::Models::IEEE80211ABG::MACConfig::getModulationType | ( | ) | const |
EMANE::Microseconds EMANE::Models::IEEE80211ABG::MACConfig::getNeighborMetricDeleteTimeMicroseconds | ( | ) | const |
Definition at line 960 of file macconfig.cc.
EMANE::Microseconds EMANE::Models::IEEE80211ABG::MACConfig::getNeighborTimeoutMicroseconds | ( | ) | const |
Definition at line 931 of file macconfig.cc.
std::uint8_t EMANE::Models::IEEE80211ABG::MACConfig::getNumAccessCategories | ( | ) | const |
get the number of access categories (queues)
number | of access categories (queues) |
Definition at line 605 of file macconfig.cc.
std::string EMANE::Models::IEEE80211ABG::MACConfig::getPcrUri | ( | ) | const |
bool EMANE::Models::IEEE80211ABG::MACConfig::getPromiscuosEnable | ( | ) | const |
get the promiscuous mode
true | if on, false if off |
Definition at line 439 of file macconfig.cc.
std::uint16_t EMANE::Models::IEEE80211ABG::MACConfig::getQueueEntrySize | ( | std::uint8_t | u8Category | ) | const |
get the queue entry size for a given queue index
u8Category | queue index |
queue | size |
Definition at line 650 of file macconfig.cc.
std::uint8_t EMANE::Models::IEEE80211ABG::MACConfig::getQueueSize | ( | std::uint8_t | u8Category | ) | const |
get the queue size for a given queue index
u8Category | queue index |
queue | size |
Definition at line 621 of file macconfig.cc.
bool EMANE::Models::IEEE80211ABG::MACConfig::getRadioMetricEnable | ( | ) | const |
Definition at line 974 of file macconfig.cc.
EMANE::Microseconds EMANE::Models::IEEE80211ABG::MACConfig::getRadioMetricReportIntervalMicroseconds | ( | ) | const |
Definition at line 967 of file macconfig.cc.
std::uint8_t EMANE::Models::IEEE80211ABG::MACConfig::getRetryLimit | ( | std::uint8_t | u8Category | ) | const |
get the retry limit for a given queue index
u8Category | queue index |
retry | limit |
Definition at line 865 of file macconfig.cc.
std::uint16_t EMANE::Models::IEEE80211ABG::MACConfig::getRtsThreshold | ( | ) | const |
Definition at line 946 of file macconfig.cc.
EMANE::Microseconds EMANE::Models::IEEE80211ABG::MACConfig::getTxOpMicroseconds | ( | std::uint8_t | u8Category | ) | const |
get the txop for a given queue index
u8Category | queue index |
txop |
Definition at line 836 of file macconfig.cc.
std::uint8_t EMANE::Models::IEEE80211ABG::MACConfig::getUnicastDataRateIndex | ( | ) | const |
get the unicast datarate index
datarate | index |
Definition at line 495 of file macconfig.cc.
std::uint32_t EMANE::Models::IEEE80211ABG::MACConfig::getUnicastDataRateKbps | ( | ) | const |
std::uint32_t EMANE::Models::IEEE80211ABG::MACConfig::getUnicastDataRateKbps | ( | std::uint8_t | u8Index | ) | const |
bool EMANE::Models::IEEE80211ABG::MACConfig::getWmmEnable | ( | ) | const |
bool EMANE::Models::IEEE80211ABG::MACConfig::processConfiguration | ( | const ConfigurationUpdate & | update | ) |
Definition at line 1033 of file macconfig.cc.
void EMANE::Models::IEEE80211ABG::MACConfig::registerConfiguration | ( | ConfigurationRegistrar & | configRegistrar | ) |
Definition at line 86 of file macconfig.cc.
void EMANE::Models::IEEE80211ABG::MACConfig::setCWMax0 | ( | std::uint16_t | u16Value | ) |
Definition at line 767 of file macconfig.cc.
void EMANE::Models::IEEE80211ABG::MACConfig::setCWMax1 | ( | std::uint16_t | u16Value | ) |
Definition at line 774 of file macconfig.cc.
void EMANE::Models::IEEE80211ABG::MACConfig::setCWMax2 | ( | std::uint16_t | u16Value | ) |
Definition at line 781 of file macconfig.cc.
void EMANE::Models::IEEE80211ABG::MACConfig::setCWMax3 | ( | std::uint16_t | u16Value | ) |
Definition at line 788 of file macconfig.cc.
void EMANE::Models::IEEE80211ABG::MACConfig::setCWMin0 | ( | std::uint16_t | u16Value | ) |
Definition at line 729 of file macconfig.cc.
void EMANE::Models::IEEE80211ABG::MACConfig::setCWMin1 | ( | std::uint16_t | u16Value | ) |
Definition at line 738 of file macconfig.cc.
void EMANE::Models::IEEE80211ABG::MACConfig::setCWMin2 | ( | std::uint16_t | u16Value | ) |
Definition at line 747 of file macconfig.cc.
void EMANE::Models::IEEE80211ABG::MACConfig::setCWMin3 | ( | std::uint16_t | u16Value | ) |
Definition at line 756 of file macconfig.cc.