Ieee80211TransmitterBase

Package: inet.physicallayer.wireless.ieee80211.packetlevel

Ieee80211TransmitterBase

compound module

This transmitter model serves as the base module for IEEE 802.11 transmitters. It supports switching channels, configuring different operation modes, and preamble modes.

See also: Ieee80211ReceiverBase, Ieee80211ScalarTransmitter, Ieee80211DimensionalTransmitter.

Inheritance diagram

The following diagram shows inheritance relationships for this type. Unresolved types are missing from the diagram.

Known subclasses

Name Type Description
Ieee80211ScalarTransmitter compound module

This transmitter model produces IEEE 802.11 transmissions that have scalar transmission power in their analog representation. The bit domain, symbol domain, and sample domains of the transmissions are not represented.

Ieee80211UnitDiskTransmitter compound module

See also: Ieee80211UnitDiskReceiver, Ieee80211UnitDiskRadio, UnitDiskRadioMedium.

Extends

Name Type Description
NarrowbandTransmitterBase compound module

This module servces as a base module for narrowband transmitter models.

Parameters

Name Type Default value Description
preambleDuration double

preamble duration

headerLength int

number of header bits added to the length of the MAC frame

bitrate double

the bitrate of the transmitter is used to compute the duration of the transmission

power double

transmission power

centerFrequency double

center frequency of the band where the transmitter transmits on the medium

bandwidth double

bandwidth of the band where the transmitter transmits on the medium

codeRate double 1
modulation string "BPSK"

"BPSK", "16-QAM", "256-QAM"

opMode string
bandName string
channelNumber int

Properties

Name Value Description
display i=block/wtx

Source code

//
// This transmitter model serves as the base module for IEEE 802.11 transmitters.
// It supports switching channels, configuring different operation modes, and
// preamble modes.
//
// @see ~Ieee80211ReceiverBase, ~Ieee80211ScalarTransmitter,
// ~Ieee80211DimensionalTransmitter.
//
module Ieee80211TransmitterBase extends NarrowbandTransmitterBase
{
    parameters:
        string opMode @enum("a","b","g(erp)","g(mixed)","n(mixed-2.4Ghz)","p","ac");
        string bandName @enum("2.4 GHz","5 GHz","5 GHz (20 MHz)","5 GHz (40 MHz)","5 GHz (80 MHz)","5 GHz (160 MHz)","5.9 GHz");
        int channelNumber;
        modulation = default("BPSK"); // TODO this is simply wrong
}

File: src/inet/physicallayer/wireless/ieee80211/packetlevel/Ieee80211TransmitterBase.ned