Main Page | Namespace List | Class Hierarchy | Class List | Directories | File List | Namespace Members | Class Members | File Members | Related Pages

Consts80211.h File Reference


Enumerations

enum  _802_11frameType {
  DATA = 1, BROADCAST = 2, RTS = 3, CTS = 4,
  ACK = 5, ACKRTS = 6, BEGIN_RECEPTION = 7, BITERROR = -1,
  COLLISION = 9
}

Variables

const unsigned int LENGTH_RTS = 160
const unsigned int LENGTH_CTS = 112
const unsigned int LENGTH_ACK = 112
const double ST = 20E-6
const double SIFS = 10E-6
const double DIFS = 2*ST + SIFS
const int RETRY_LIMIT = 7
const int CW_MIN = 7
const int CW_MAX = 255
const int PHY_HEADER_LENGTH = 192
const int HEADER_WITHOUT_PREAMBLE = 48
const double BITRATE_HEADER = 1E+6
const double BANDWIDTH = 2E+6
const int MAC_GENERATOR = 5
const double PROCESSING_TIMEOUT = 0.001


Enumeration Type Documentation

enum _802_11frameType
 

Enumeration values:
DATA 
BROADCAST 
RTS 
CTS 
ACK 
ACKRTS 
BEGIN_RECEPTION 
BITERROR 
COLLISION 
00005                       {
00006 
00007   //between MAC layers of two nodes
00008   DATA = 1,//data
00009   BROADCAST = 2,//broadcast
00010   RTS = 3,//request to send
00011   CTS = 4,//clear to send
00012   ACK = 5,//acknowledgement
00013   ACKRTS = 6,//cut through packet
00014 
00015   //between the PHY and the MAC layer of one node
00016   BEGIN_RECEPTION = 7,//carrier sensing from the phy to the mac :
00017   //beginning of reception
00018 
00019   //used in the phy layer to indicate unrocognizable frames, and
00020   //between the decider and the MAC
00021   BITERROR = -1,//the phy has recognized a bit error in the packet
00022   COLLISION = 9//packet lost due to collision
00023 };


Variable Documentation

const double BANDWIDTH = 2E+6
 

const double BITRATE_HEADER = 1E+6
 

const int CW_MAX = 255
 

Maximum size of contention window

const int CW_MIN = 7
 

Minimum size (initial size) of contention window

const double DIFS = 2*ST + SIFS
 

const int HEADER_WITHOUT_PREAMBLE = 48
 

const unsigned int LENGTH_ACK = 112
 

const unsigned int LENGTH_CTS = 112
 

const unsigned int LENGTH_RTS = 160
 

const int MAC_GENERATOR = 5
 

const int PHY_HEADER_LENGTH = 192
 

const double PROCESSING_TIMEOUT = 0.001
 

const int RETRY_LIMIT = 7
 

const double SIFS = 10E-6
 

const double ST = 20E-6
 


Generated on Thu Oct 19 18:22:19 2006 for INET Framework for OMNeT++/OMNEST by  doxygen 1.4.0