Ieee80211Transmitter¶
Package: inet.physicallayer.wireless.ieee80211.packetlevel
compound module Ieee80211Transmitter
This transmitter model produces IEEE 802.11 transmissions.
See also: Ieee80211Receiver, Ieee80211Radio, Ieee80211RadioMedium.
Inheritance diagram¶
Extends¶
Name |
Type |
Description |
|---|---|---|
compound module |
Serves as a base module for narrowband transmitter models. |
Parameters¶
Name |
Type |
Default value |
Description |
|---|---|---|---|
displayStringTextFormat |
string |
“” |
Determines the text that is written on top of the submodule, supports displaying pars, watches, and module-specific information |
signalAnalogRepresentation |
string |
“scalar” |
Determines the analog domain signal representation of transmissions |
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 |
|---|---|---|
class |
Ieee80211Transmitter |
|
display |
i=block/wtx |
Source code¶
//
// This transmitter model produces IEEE 802.11 transmissions.
//
// @see ~Ieee80211Receiver, ~Ieee80211Radio, ~Ieee80211RadioMedium.
//
module Ieee80211Transmitter 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
@class(Ieee80211Transmitter);
}
File: src/inet/physicallayer/wireless/ieee80211/packetlevel/Ieee80211Transmitter.ned