Ieee80211ConfigureRadioCommand

Namespace: inet::physicallayer

class Ieee80211ConfigureRadioCommand

Control info attached to a configure command that is sent to the Radio.

Inheritance diagram

Extends

Name

Type

Description

ConfigureRadioCommand

class

Control info attached to a configure command that is sent to the Radio.

Fields

Name

Type

Description

radioMode

int

new radio mode or -1 if not set.

power

W

new default transmission power in the range (0, +infinity) or NaN if not set.

bitrate

bps

new default bitrate in the range (0, +infinity) or NaN if not set.

modulation

IModulation *

new default modulation or nullptr if not set.

centerFrequency

Hz

new default carrier frequency in the range (0, +infinity) or NaN if not set.

bandwidth

Hz

new default bandwidth in the rage (0, +infinity) or NaN if not set.

opMode

string

new default operation mode or “” if not set.

modeSet

const Ieee80211ModeSet *

new default mode set or nullptr if not set.

mode

const IIeee80211Mode *

new default transmission mode or nullptr if not set.

band

IIeee80211Band *

new default band or nullptr if not set.

channel

Ieee80211Channel *

new default band and channel or nullptr if not set.

channelNumber

int

new default channel number in the range [0, numChannels] or -1 if not set.

Source code

//
// Control info attached to a configure command that is sent to the ~Radio.
//
class Ieee80211ConfigureRadioCommand extends ConfigureRadioCommand
{
    string opMode;                         // new default operation mode or "" if not set.
    const Ieee80211ModeSet *modeSet;       // new default mode set or nullptr if not set.
    const IIeee80211Mode *mode;            // new default transmission mode or nullptr if not set.
    IIeee80211Band *band;                  // new default band or nullptr if not set.
    Ieee80211Channel *channel;             // new default band and channel or nullptr if not set.
    int channelNumber = -1;                // new default channel number in the range [0, numChannels] or -1 if not set.
}

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