Network Net80211

Package: inet.examples.adhoc.mf80211
File: examples/adhoc/mf80211/Net80211.ned

(no description)

MFMobileHost ChannelControl FlatNetworkConfigurator

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.

Parameters:

Name Type Default value Description
numHosts int
playgroundSizeX double
playgroundSizeY double

Properties:

Name Value Description
isNetwork

Unassigned submodule parameters:

Name Type Default value Description
host.tcp.advertisedWindow int 14*this.mss

in bytes, corresponds with the maximal receiver buffer capacity (Note: normally, NIC queues should be at least this size)

host.tcp.delayedAcksEnabled bool false

delayed ACK algorithm (RFC 1122) enabled/disabled

host.tcp.nagleEnabled bool true

Nagle's algorithm (RFC 896) enabled/disabled

host.tcp.limitedTransmitEnabled bool false

Limited Transmit algorithm (RFC 3042) enabled/disabled (can be used for TCPReno/TCPTahoe/TCPNewReno/TCPNoCongestionControl)

host.tcp.increasedIWEnabled bool false

Increased Initial Window (RFC 3390) enabled/disabled

host.tcp.sackSupport bool false

Selective Acknowledgment (RFC 2018, 2883, 3517) support (header option) (SACK will be enabled for a connection if both endpoints support it)

host.tcp.windowScalingSupport bool false

Window Scale (RFC 1323) support (header option) (WS will be enabled for a connection if both endpoints support it)

host.tcp.timestampSupport bool false

Timestamps (RFC 1323) support (header option) (TS will be enabled for a connection if both endpoints support it)

host.tcp.mss int 536

Maximum Segment Size (RFC 793) (header option)

host.tcp.tcpAlgorithmClass string "TCPReno"

TCPReno/TCPTahoe/TCPNewReno/TCPNoCongestionControl/DumbTCP

host.tcp.sendQueueClass string "TCPVirtualDataSendQueue"

TCPVirtualDataSendQueue/TCPMsgBasedSendQueue

host.tcp.receiveQueueClass string "TCPVirtualDataRcvQueue"

TCPVirtualDataRcvQueue/TCPMsgBasedRcvQueue

host.tcp.recordStats bool true

recording of seqNum etc. into output vectors enabled/disabled

host.pingApp.destAddr string ""

destination IP or IPv6 address

host.pingApp.srcAddr string ""

source IP or IPv6 address (useful with multi-homing)

host.pingApp.packetSize double 56B

of ping payload, in bytes

host.pingApp.interval double 1s

time to wait between pings (can be random)

host.pingApp.hopLimit double 32

TTL or hopLimit for IP packets

host.pingApp.count double 0

stop after count ping requests, 0 means continuously

host.pingApp.startTime double uniform(0s,this.interval)

send first ping at startTime

host.pingApp.stopTime double 0s

send no pings after stopTime, 0 means forever

host.pingApp.printPing bool true

dump on stdout

host.networkLayer.ip.procDelay double 0s
host.networkLayer.arp.retryTimeout double 1s

number seconds ARP waits between retries to resolve an IP address

host.networkLayer.arp.retryCount int 3

number of times ARP will attempt to resolve an IP address

host.networkLayer.arp.cacheTimeout double 120s

number seconds unused entries in the cache will time out

host.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.

host.wlan.mac.maxQueueSize int
host.wlan.mac.rtsCts bool false
host.wlan.mac.bitrate double
host.wlan.mac.broadcastBackoff int
host.wlan.mac.mtu int 1500
host.wlan.decider.debug bool false

debug switch

host.wlan.decider.snirThreshold double 4dB
host.wlan.decider.bitrate double
host.wlan.snrEval.channelNumber int

channel identifier

host.wlan.snrEval.debug bool false

debug switch

host.wlan.snrEval.transmitterPower double
host.wlan.snrEval.bitrate double
host.wlan.snrEval.headerLength int
host.wlan.snrEval.carrierFrequency double
host.wlan.snrEval.thermalNoise double
host.wlan.snrEval.pathLossAlpha double
host.wlan.snrEval.sensitivity double
channelcontrol.coreDebug bool false

debug switch for core framework

channelcontrol.pMax double 20mW

maximum sending power used for this network (in mW)

channelcontrol.sat double -110dBm

signal attenuation threshold (in dBm)

channelcontrol.alpha double 2

path loss coefficient

channelcontrol.carrierFrequency double 2.4GHz

carrier frequency of the channel (in Hz)

channelcontrol.numChannels int 1

number of radio channels (frequencies)

configurator.networkAddress string "192.168.0.0"

network part of the address (see netmask parameter)

configurator.netmask string "255.255.0.0"

host part of addresses are autoconfigured

Source code:

network Net80211
{
    parameters:
        int numHosts;
        double playgroundSizeX;
        double playgroundSizeY;
    submodules:
        host[numHosts]: MFMobileHost {
            parameters:
                @display("r=,,#707070");
        }
        channelcontrol: ChannelControl {
            parameters:
                playgroundSizeX = playgroundSizeX;
                playgroundSizeY = playgroundSizeY;
                @display("p=60,50");
        }
        configurator: FlatNetworkConfigurator {
            parameters:
                @display("p=140,50");
        }
}