INET Framework for OMNeT++/OMNEST
Ieee80211Consts.h File Reference

Defines

#define BITERROR   -1
#define COLLISION   9

Variables

const unsigned int LENGTH_RTS = 160
const unsigned int LENGTH_CTS = 112
const unsigned int LENGTH_ACK = 112
const_simtime_t ST = 20E-6
const_simtime_t SIFS = 10E-6
const_simtime_t DIFS = 2 * ST + SIFS
const_simtime_t MAX_PROPAGATION_DELAY = 2E-6
const int RETRY_LIMIT = 7
const int CW_MIN = 31
const int CW_MAX = 1023
const int PHY_HEADER_LENGTH = 192
const int HEADER_WITHOUT_PREAMBLE = 48
const double BITRATE_HEADER = 1E+6
const double BANDWIDTH = 2E+6

Define Documentation

#define BITERROR   -1
#define COLLISION   9

Variable Documentation

const int CW_MAX = 1023

Maximum size of contention window

Referenced by Ieee80211Mac::computeBackoffPeriod(), and Mac80211::computeContentionWindow().

const int CW_MIN = 31

Minimum size (initial size) of contention window

Referenced by Mac80211::computeContentionWindow(), and Ieee80211Mac::initialize().

const int RETRY_LIMIT = 7
const_simtime_t ST = 20E-6