Ieee80211DataOrMgmtHeader

Namespace: inet

class Ieee80211DataOrMgmtHeader

Common base class for 802.11 data and management frames

Usage diagram

Inheritance diagram

Extends

Name

Type

Description

Ieee80211TwoAddressHeader

class

Format of a 802.11 frame with address1 and address2 present

Known subclasses

Name

Type

Description

Ieee80211DataHeader

class

Format of the 802.11 data frame

Ieee80211MgmtHeader

class

Base class for 802.11 management frames (subclasses will add frame body contents)

Fields

Name

Type

Description

id

int

mutable

bool

complete

bool

correct

bool

properlyRepresented

bool

chunkLength

b

rawBin

string[]

rawHex

string[]

regionTags

SharingRegionTagSet::TagBaseRegionTag[]

chunkLength

type

Ieee80211FrameType

type and subtype

toDS

bool

fromDS

bool

moreFragments

bool

retry

bool

powerMgmt

bool

unused

moreData

bool

unused

protectedFrame

bool

unused

order

bool

unused

durationField

simtime_t

“duration” in the Duration/ID field (-1=no duration)

AID

short

“id” (Association ID) in the Duration/ID field (-1=no ID)

receiverAddress

MacAddress

aka address1 (RA)

MACArrive

simtime_t

FIXME remove it, technical data, used inside of MAC module

chunkLength

transmitterAddress

MacAddress

aka address2 (TA)

chunkLength

address3

MacAddress

fragmentNumber

short

sequenceNumber

SequenceNumberCyclic

Properties

Name

Value

Description

beforeChange

handleChange()

descriptor

readonly

existingClass

packetData

Source code

//
// Common base class for 802.11 data and management frames
//
class Ieee80211DataOrMgmtHeader extends Ieee80211TwoAddressHeader
{
    chunkLength = LENGTH_MGMT - B(4);
    MacAddress address3;
    short fragmentNumber;
    SequenceNumberCyclic sequenceNumber;
}

File: src/inet/linklayer/ieee80211/mac/Ieee80211Frame.msg