NED File src/inet/physicallayer/common/packetlevel/MediumLimitCache.ned
Name | Type | Description |
---|---|---|
MediumLimitCache | compound module | (no description) |
Source code
// // Copyright (C) 2013 OpenSim Ltd. // // This program is free software; you can redistribute it and/or // modify it under the terms of the GNU Lesser General Public License // as published by the Free Software Foundation; either version 2 // of the License, or (at your option) any later version. // // This program is distributed in the hope that it will be useful, // but WITHOUT ANY WARRANTY; without even the implied warranty of // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the // GNU Lesser General Public License for more details. // // You should have received a copy of the GNU Lesser General Public License // along with this program; if not, see <http://www.gnu.org/licenses/>. // package inet.physicallayer.common.packetlevel; import inet.physicallayer.contract.packetlevel.IMediumLimitCache; module MediumLimitCache like IMediumLimitCache { parameters: double carrierFrequency @unit(Hz) = default(0Hz/0); // TODO: rename to maxRangeCarrierFrequency? double maxSpeed @unit(mps) = default(0mps/0); // maxium speed on the medium, NaN means medium computes using mobility models double maxTransmissionPower @unit(W) = default(0W/0); // TODO: @unit(W) + dBm/dBW <--> W double minInterferencePower @unit(dBm) = default(0dBm/0); // TODO: @unit(W) + dBm/dBW <--> W double minReceptionPower @unit(dBm) = default(0dBm/0); // TODO: @unit(W) + dBm/dBW <--> W double maxAntennaGain @unit(dB) = default(0dB); // maximum antenna gain on the medium, NaN means medium computes using antenna models double minInterferenceTime @unit(s) = default(1ps); // minimum time interval to consider two overlapping signals interfering double maxTransmissionDuration @unit(s) = default(10ms); // maximum duration of a transmission on the medium double maxCommunicationRange @unit(m) = default(0m/0); // maximum communication range on the medium, NaN means medium computes using transmitter and receiver models double maxInterferenceRange @unit(m) = default(0m/0); // maximum interference range on the medium, NaN means medium computes using transmitter and receiver models @display("i=block/table2"); @class(MediumLimitCache); }