Package: inet.physicallayer.wireless.ieee80211.packetlevel
Ieee80211RadioMedium
compound moduleThis radio medium model is part of the IEEE 802.11 physical layer model. It must be used in conjunction with the ~Ieee80211Radio model or other derived models.
This model provides sensible default values for the radio medium parameters to be used in IEEE 802.11 simulations.
<b>See also:</b> ~Ieee80211Radio, ~Ieee80211ScalarRadioMedium, ~Ieee80211DimensionalRadioMedium.
Inheritance diagram
The following diagram shows inheritance relationships for this type. Unresolved types are missing from the diagram.
Used in
Known subclasses
| Name | Type | Description |
|---|---|---|
| Ieee80211DimensionalRadioMedium | compound module |
This radio medium model uses dimensional transmission power (that changes over time and/or frequency) in the analog representation. It must be used in conjunction with the dimensional analog model in radios. |
| Ieee80211ScalarRadioMedium | compound module |
This radio medium model uses scalar transmission power in the analog representation. It must be used in conjunction with the analog model in radios. |
Extends
| Name | Type | Description |
|---|---|---|
| RadioMedium | compound module |
The medium model describes the shared physical medium where communication takes place. It keeps track of radios, noise sources, ongoing transmissions, background noise, and other ongoing noises. The medium computes when, where and how transmissions and noises arrive at receivers. It also efficiently provides the set of interfering transmissions and noises for the receivers. |
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 |
| physicalEnvironmentModule | string | "physicalEnvironment" |
Module path of the physical environment model |
| signalAnalogRepresentation | string | "scalar" | |
| rangeFilter | string | "" |
filter parameters that control when signals are sent to receiver radios |
| radioModeFilter | bool | false |
When enabled, the radio medium doesn't send signals to a radio if it's neither in receiver nor in transceiver mode |
| listeningFilter | bool | false |
When enabled, the radio medium doesn't send signals to a radio if it listens on the channel in an incompatible mode (e.g. different carrier frequency and bandwidth, different modulation) |
| macAddressFilter | bool | false |
When enabled, the radio medium doesn't send signals to a radio if the destination MAC address differs |
| recordTransmissionLog | bool | false |
logging parameters |
| recordReceptionLog | bool | false |
When enabled, the medium writes one line per reception into the communication log file |
| sameTransmissionStartTimeCheck | string | "error" |
Specifies what should happen if two transmissions start at the same moment |
Properties
| Name | Value | Description |
|---|---|---|
| class | RadioMedium | |
| display | i=misc/sun |
Signals
| Name | Type | Unit | Description |
|---|---|---|---|
| radioRemoved | |||
| signalDepartureStarted | |||
| radioAdded | |||
| signalArrivalStarted | |||
| signalAdded | |||
| signalDepartureEnded | |||
| signalRemoved | |||
| signalArrivalEnded |
Unassigned submodule parameters
| Name | Type | Default value | Description |
|---|---|---|---|
| neighborCache.refillPeriod | double |
Source code
// // This radio medium model is part of the IEEE 802.11 physical layer model. It // must be used in conjunction with the ~Ieee80211Radio model or other derived // models. // // This model provides sensible default values for the radio medium parameters // to be used in IEEE 802.11 simulations. // // @see ~Ieee80211Radio, ~Ieee80211ScalarRadioMedium, ~Ieee80211DimensionalRadioMedium. // module Ieee80211RadioMedium extends RadioMedium { parameters: backgroundNoise.power = default(-110dBm); mediumLimitCache.centerFrequency = default(2.4GHz); mediumLimitCache.minReceptionPower = default(-85dBm); mediumLimitCache.minInterferencePower = default(-110dBm); }File: src/inet/physicallayer/wireless/ieee80211/packetlevel/Ieee80211RadioMedium.ned