Ieee80211OfdmPhyHeader

Namespace: inet::physicallayer

class Ieee80211OfdmPhyHeader

The length field is a 12-bit integer indicates the number of octets in the PSDU that the MAC is currently requesting the PHY to transmit.

The rate field (18.3.4.2 RATE field) is a 4-bit integer carries information about the modulation and coding.

There are other fields which are not explicitly represented here, for e.g. Parity, Reserved, SERVICE, Pad Bits.

The PSDU field must be contained as an encapsulated packet.

This packet is intended to represent the whole PPDU frame in the IEEE 802.11 PHY. For detailed description, you may refer to 18.3.2 PLCP frame format, Figure 18-1—PPDU frame format in IEEE Std. 802.11-2012.

Inheritance diagram

Extends

Name

Type

Description

Ieee80211PhyHeader

class

(no description)

Known subclasses

Name

Type

Description

Ieee80211ErpOfdmPhyHeader

class

(no description)

Fields

Name

Type

Description

id

int

mutable

bool

complete

bool

correct

bool

properlyRepresented

bool

chunkLength

b

rawBin

string[]

rawHex

string[]

regionTags

SharingRegionTagSet::TagBaseRegionTag[]

lengthField

B

TODO remove this, because not all subtypes have lengthField

chunkLength

The PLCP header is composed of RATE (4), Reserved (1), LENGTH (12), Parity (1), Tail (6) and SERVICE (16) fields.

rate

uint8_t

reserved

bool

TODO B lengthField;

parity

bool

tail

uint8_t

service

uint16_t

Properties

Name

Value

Description

beforeChange

handleChange()

descriptor

readonly

existingClass

packetData

Source code

// The length field is a 12-bit integer indicates the number of
// octets in the PSDU that the MAC is currently requesting the PHY to
// transmit.
//
// The rate field (18.3.4.2 RATE field) is a 4-bit integer carries
// information about the modulation and coding.
//
// There are other fields which are not explicitly represented here,
// for e.g. Parity, Reserved, SERVICE, Pad Bits.
//
// The PSDU field must be contained as an encapsulated packet.
//
// This packet is intended to represent the whole PPDU frame in the
// IEEE 802.11 PHY. For detailed description, you may refer to 18.3.2 PLCP
// frame format, Figure 18-1—PPDU frame format in IEEE Std. 802.11-2012.
//
class Ieee80211OfdmPhyHeader extends Ieee80211PhyHeader
{
    // The PLCP header is composed of RATE (4), Reserved (1), LENGTH (12), Parity (1),
    // Tail (6) and SERVICE (16) fields.
    chunkLength = B(5);
    uint8_t rate;
    bool reserved = false;
    // TODO B lengthField;
    bool parity = false;
    uint8_t tail = 0;
    uint16_t service;
}

File: src/inet/physicallayer/wireless/ieee80211/packetlevel/Ieee80211PhyHeader.msg