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. Click here to see the full picture.

Inheritance diagram:

The following diagram shows inheritance relationships for this type. Unresolved types are missing from the diagram. Click here to see the full picture.

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.mss int 1024

maximum segment size

host.tcp.advertisedWindow int 14*this.mss

in bytes (Note: normally, NIC queues should be at least this size)

host.tcp.tcpAlgorithmClass string "TCPReno"

TCPTahoe/TCPReno/TCPNoCongestionControl/DumbTCP

host.tcp.sendQueueClass string "TCPMsgBasedSendQueue"

TCPVirtualDataSendQueue/TCPMsgBasedSendQueue

host.tcp.receiveQueueClass string "TCPMsgBasedRcvQueue"

TCPVirtualDataRcvQueue/TCPMsgBasedRcvQueue

host.tcp.recordStats bool true

recording seqNum etc. into output vectors on/off

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");
        }
}