Package: inet.physicallayer.wireless.ieee80211.packetlevel
Ieee80211DimensionalTransmitter
compound moduleThis transmitter model produces IEEE 802.11 transmissions that have dimensional transmission power (that changes over time and/or frequency) in their analog representation. The bit domain, symbol domain, and sample domains of the transmissions are not represented.
See also: Ieee80211DimensionalReceiver, Ieee80211DimensionalRadio, Ieee80211DimensionalRadioMedium.
Some example values for the frequencyGains parameter:
- default (flat signal): "left s 0dB either e 0dB right"
- 802.11a/g/n/ac OFDM spectral mask (for 20/40/80/160MHz bandwidth): "left c-b*1.5 -40dB linear c-b -28dB linear c-b*0.5-1MHz -20dB linear c-b*0.5+1MHz 0dB linear c+b*0.5-1MHz 0dB linear c+b*0.5+1MHz -20dB linear c+b -28dB linear c+b*1.5 -40dB right"
Inheritance diagram
The following diagram shows inheritance relationships for this type. Unresolved types are missing from the diagram.
Extends
Name | Type | Description |
---|---|---|
DimensionalTransmitterBase | compound module |
This transmitter model produces transmissions that use dimensional transmission power (that changes over time and/or frequency) in their analog representation and the configured modulation. |
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" |
gainFunctionCacheLimit | int | 0 |
limits the number of gain functions cached for a given duration, centerFrequency and bandwidth |
timeGains | string | "left s 0dB either e 0dB right" |
sequence of interpolation method, time, gain tuples; time can be an expression, gain is in [dB] or [0..inf); default value is a flat signal |
timeGainsNormalization | string | "" |
determines how the time gains function is normalized, no normalization by default |
frequencyGains | string | "left s 0dB either e 0dB right" |
sequence of interpolation method, frequency, gain tuples; frequency can be an expression, gain is in [dB] or [0..1]; default value is a flat signal |
frequencyGainsNormalization | string | "integral" |
determines how the frequency gains function is normalized, integral normalization by default |
opMode | string |
TODO remove parameters when base module is changed |
|
bandName | string | ||
channelNumber | int |
Properties
Name | Value | Description |
---|---|---|
display | i=block/wtx | |
class | Ieee80211DimensionalTransmitter |
Source code
// // This transmitter model produces IEEE 802.11 transmissions that have // dimensional transmission power (that changes over time and/or frequency) in // their analog representation. The bit domain, symbol domain, and sample // domains of the transmissions are not represented. // // @see ~Ieee80211DimensionalReceiver, ~Ieee80211DimensionalRadio, // ~Ieee80211DimensionalRadioMedium. // // Some example values for the frequencyGains parameter: // - default (flat signal): "left s 0dB either e 0dB right" // - 802.11a/g/n/ac OFDM spectral mask (for 20/40/80/160MHz bandwidth): "left c-b*1.5 -40dB linear c-b -28dB linear c-b*0.5-1MHz -20dB linear c-b*0.5+1MHz 0dB linear c+b*0.5-1MHz 0dB linear c+b*0.5+1MHz -20dB linear c+b -28dB linear c+b*1.5 -40dB right" // module Ieee80211DimensionalTransmitter extends DimensionalTransmitterBase { parameters: // TODO remove parameters when base module is changed 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; @class(Ieee80211DimensionalTransmitter); }File: src/inet/physicallayer/wireless/ieee80211/packetlevel/Ieee80211DimensionalTransmitter.ned