Ieee80211OfdmPhyHeader

Namespace inet::physicallayer

Ieee80211OfdmPhyHeader

class

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.

Extends

Name Type Description
Ieee80211PhyHeader (unknown -- not in documented files)

Fields

Name Type Description
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
parity bool

TODO B lengthField;

tail uint8_t
service uint16_t

Packet operations (observed)

actionmodule
insertAtFrontIpv4NetworkConfigurator, Ieee80211OfdmRadio, Ieee80211DimensionalRadio, Ieee80211Radio, Ieee80211ScalarRadio
peekAtFrontIpv4NetworkConfigurator, ApskScalarRadioMedium, RadioMedium, Ieee80211DimensionalRadioMedium, Ieee80211ScalarRadioMedium
popAtFrontIeee80211OfdmRadio, Ieee80211DimensionalRadio, Ieee80211Radio, Ieee80211ScalarRadio

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