Compound Module ThroughputServer

Package: inet.examples.wireless.hosttohost
File: examples/wireless/hosttohost/Throughput.ned

(no description)

NotificationBoard Sink Ieee80211NicSTASimplified NullMobility

Usage diagram:

The following diagram shows usage relationships between types. Unresolved types are missing from the diagram.

Inheritance diagram:

The following diagram shows inheritance relationships for this type. Unresolved types are missing from the diagram.

Networks:

Name Type Description
Throughput network (no description)

Properties:

Name Value Description
display i=device/wifilaptop

Gates:

Name Direction Size Description
radioIn input

Unassigned submodule parameters:

Name Type Default value Description
wlan.mgmt.accessPointAddress string

MAC address of associate AP

wlan.mgmt.frameCapacity int 100
wlan.mac.address string "auto"

MAC address as hex string (12 hex digits), or "auto". "auto" values will be replaced by a generated MAC address in init stage 0.

wlan.mac.maxQueueSize int

max queue length in frames; only used if queueModule==""

wlan.mac.bitrate double
wlan.mac.rtsThresholdBytes int 2346B

longer messages will be sent using RTS/CTS

wlan.mac.retryLimit int -1

maximum number of retries per message, -1 means default

wlan.mac.cwMinData int -1

contention window for normal data frames, -1 means default

wlan.mac.cwMinBroadcast int -1

contention window for broadcast messages, -1 means default

wlan.mac.mtu int 1500
wlan.radio.channelNumber int 0

channel identifier

wlan.radio.transmitterPower double 20mW

power used for transmission of messages (in mW)

wlan.radio.bitrate double

(in bits/s)

wlan.radio.thermalNoise double -110dBm

base noise level (dBm)

wlan.radio.pathLossAlpha double 2

used by the path loss calculation

wlan.radio.shadowingDeviation double 0dB

used by the shadowing model calculation

wlan.radio.snirThreshold double 4dB

if signal-noise ratio is below this threshold, frame is considered noise (in dB)

wlan.radio.sensitivity double

received signals with power below sensitivity are ignored

mobility.x double -1

start x coordinate (-1 = display string position, or random if it's missing)

mobility.y double -1

start y coordinate (-1 = display string position, or random if it's missing)

Source code:

module ThroughputServer
{
    parameters:
        @display("i=device/wifilaptop");
    gates:
        input radioIn @directIn;

    submodules:
        notificationBoard: NotificationBoard {
            parameters:
                @display("p=60,70");
        }
        sink: Sink {
            parameters:
                @display("p=210,68,col");
        }
        wlan: Ieee80211NicSTASimplified {
            parameters:
                @display("p=120,158;q=queue");
        }
        mobility: NullMobility {
            parameters:
                @display("p=50,141");
        }
    connections allowunconnected:
        wlan.radioIn <-- radioIn;
        sink.in++ <-- wlan.uppergateOut;
}