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

Go to the source code of this file.

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

Definition at line 23 of file Ieee80211Consts.h.

#define COLLISION   9

Definition at line 25 of file Ieee80211Consts.h.


Variable Documentation

const double BANDWIDTH = 2E+6

Definition at line 52 of file Ieee80211Consts.h.

Referenced by Ieee80211RadioModel::isPacketOK(), and Decider80211::isPacketOK().

const int CW_MAX = 1023

Maximum size of contention window

Definition at line 47 of file Ieee80211Consts.h.

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

const int CW_MIN = 31

Minimum size (initial size) of contention window

Definition at line 44 of file Ieee80211Consts.h.

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

const int HEADER_WITHOUT_PREAMBLE = 48

Definition at line 50 of file Ieee80211Consts.h.

Referenced by Ieee80211RadioModel::isPacketOK(), and Decider80211::isPacketOK().

const unsigned int LENGTH_RTS = 160
const int RETRY_LIMIT = 7

Definition at line 41 of file Ieee80211Consts.h.

Referenced by Mac80211::testMaxAttempts().

const_simtime_t ST = 20E-6

Definition at line 36 of file Ieee80211Consts.h.

Referenced by Mac80211::computeBackoff(), and Ieee80211Mac::getSlotTime().