RateControlTest

Package: inet.examples.wireless.ratecontrol

RateControlTest

network

(no description)

Client SinkClient PhysicalEnvironment Ieee80211ScalarRadioMedium

Usage diagram

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

Parameters

Name Type Default value Description
numCli int

Properties

Name Value Description
isNetwork
display bgb=1300,460

Unassigned submodule parameters

Name Type Default value Description
cliHost.interfaceTable.displayAddresses bool false

whether to display IP addresses on links

cliHost.cli.interfaceTableModule string
cliHost.cli.destAddress string ""

destination MAC address, or module path name of destination station; empty means off

cliHost.cli.startTime double this.sendInterval

time of sending the first request

cliHost.cli.stopTime double -1s

time of finishing sending, negative values mean forever

cliHost.cli.localSAP int 0xf0

local service access point

cliHost.cli.remoteSAP int 0xf1

remote service access point

cliHost.cli.sendInterval double uniform(0s,1s)

interval between sending requests

cliHost.cli.reqLength int 100B

length of request packets

cliHost.cli.respLength int 1KiB

length of response packets

cliHost.cli.stopOperationExtraTime double -1s

extra time after lifecycle stop operation finished

cliHost.cli.stopOperationTimeout double 2s

timeout value for lifecycle stop operation

cliHost.wlan.pcapRecorder.verbose bool true

whether to log packets on the module output

cliHost.wlan.pcapRecorder.pcapFile string ""

the PCAP file to be written

cliHost.wlan.pcapRecorder.fileFormat string "pcapng"
cliHost.wlan.pcapRecorder.snaplen int 65535

maximum number of bytes to record per packet

cliHost.wlan.pcapRecorder.dumpBadFrames bool true

enable dump of frames with hasBitError

cliHost.wlan.pcapRecorder.sendingSignalNames string "packetSentToLower"

space-separated list of outbound packet signals to subscribe to

cliHost.wlan.pcapRecorder.receivingSignalNames string "packetReceivedFromLower"

space-separated list of inbound packet signals to subscribe to

cliHost.wlan.pcapRecorder.dumpProtocols string "ethernetmac ppp ieee80211mac"

space-separated list of protocol names as defined in the Protocol class

cliHost.wlan.pcapRecorder.packetFilter object "*"

which packets are considered, matches all packets by default

cliHost.wlan.pcapRecorder.helpers string ""

usable PcapRecorder::IHelper helpers for accept packettype and store/convert packet as specified linktype currently available: "inet::AckingMacToEthernetPcapRecorderHelper"

cliHost.wlan.pcapRecorder.alwaysFlush bool false

flush the pcapFile after each write to ensure that all packets are captured in case of a crash

cliHost.wlan.pcapRecorder.displayStringTextFormat string "rec: %n pks"
cliHost.wlan.mgmt.macModule string

The path to the MAC module

cliHost.mobility.subjectModule string "^"

module path which determines the subject module, the motion of which this mobility model describes, the default value is the parent module

cliHost.mobility.coordinateSystemModule string ""

module path of the geographic coordinate system module

cliHost.mobility.displayStringTextFormat string "p: %p\nv: %v"

format string for the mobility module's display string text

cliHost.mobility.updateDisplayString bool true

enables continuous update of the subject module's position via modifying its display string

cliHost.mobility.constraintAreaMinX double -inf m

min x position of the constraint area, unconstrained by default (negative infinity)

cliHost.mobility.constraintAreaMinY double -inf m

min y position of the constraint area, unconstrained by default (negative infinity)

cliHost.mobility.constraintAreaMinZ double -inf m

min z position of the constraint area, unconstrained by default (negative infinity)

cliHost.mobility.constraintAreaMaxX double inf m

max x position of the constraint area, unconstrained by default (positive infinity)

cliHost.mobility.constraintAreaMaxY double inf m

max y position of the constraint area, unconstrained by default (positive infinity)

cliHost.mobility.constraintAreaMaxZ double inf m

max z position of the constraint area, unconstrained by default (positive infinity)

cliHost.mobility.updateInterval double 0.1s

the simulation time interval used to regularly signal mobility state changes and update the display

cliHost.mobility.faceForward bool true
cliHost.mobility.startPos double

in range [0.0,4.0): topleft=0, topright=1, bottomright=2, bottomleft=3

cliHost.mobility.speed double

speed of the host

sinkClient.interfaceTable.displayAddresses bool false

whether to display IP addresses on links

sinkClient.sink.localSAP int 0xf1
sinkClient.sink.stopOperationExtraTime double -1s

extra time after lifecycle stop operation finished

sinkClient.sink.stopOperationTimeout double 2s

timeout value for lifecycle stop operation

sinkClient.wlan.pcapRecorder.verbose bool true

whether to log packets on the module output

sinkClient.wlan.pcapRecorder.pcapFile string ""

the PCAP file to be written

sinkClient.wlan.pcapRecorder.fileFormat string "pcapng"
sinkClient.wlan.pcapRecorder.snaplen int 65535

maximum number of bytes to record per packet

sinkClient.wlan.pcapRecorder.dumpBadFrames bool true

enable dump of frames with hasBitError

sinkClient.wlan.pcapRecorder.sendingSignalNames string "packetSentToLower"

space-separated list of outbound packet signals to subscribe to

sinkClient.wlan.pcapRecorder.receivingSignalNames string "packetReceivedFromLower"

space-separated list of inbound packet signals to subscribe to

sinkClient.wlan.pcapRecorder.dumpProtocols string "ethernetmac ppp ieee80211mac"

space-separated list of protocol names as defined in the Protocol class

sinkClient.wlan.pcapRecorder.packetFilter object "*"

which packets are considered, matches all packets by default

sinkClient.wlan.pcapRecorder.helpers string ""

usable PcapRecorder::IHelper helpers for accept packettype and store/convert packet as specified linktype currently available: "inet::AckingMacToEthernetPcapRecorderHelper"

sinkClient.wlan.pcapRecorder.alwaysFlush bool false

flush the pcapFile after each write to ensure that all packets are captured in case of a crash

sinkClient.wlan.pcapRecorder.displayStringTextFormat string "rec: %n pks"
sinkClient.wlan.mgmt.macModule string

The path to the MAC module

sinkClient.mobility.subjectModule string "^"

module path which determines the subject module, the motion of which this mobility model describes, the default value is the parent module

sinkClient.mobility.coordinateSystemModule string ""

module path of the geographic coordinate system module

sinkClient.mobility.displayStringTextFormat string "p: %p\nv: %v"

format string for the mobility module's display string text

sinkClient.mobility.updateDisplayString bool true

enables continuous update of the subject module's position via modifying its display string

sinkClient.mobility.constraintAreaMinX double -inf m

min x position of the constraint area, unconstrained by default (negative infinity)

sinkClient.mobility.constraintAreaMinY double -inf m

min y position of the constraint area, unconstrained by default (negative infinity)

sinkClient.mobility.constraintAreaMinZ double -inf m

min z position of the constraint area, unconstrained by default (negative infinity)

sinkClient.mobility.constraintAreaMaxX double inf m

max x position of the constraint area, unconstrained by default (positive infinity)

sinkClient.mobility.constraintAreaMaxY double inf m

max y position of the constraint area, unconstrained by default (positive infinity)

sinkClient.mobility.constraintAreaMaxZ double inf m

max z position of the constraint area, unconstrained by default (positive infinity)

sinkClient.mobility.updateInterval double 0.1s

the simulation time interval used to regularly signal mobility state changes and update the display

sinkClient.mobility.faceForward bool true
sinkClient.mobility.startPos double

in range [0.0,4.0): topleft=0, topright=1, bottomright=2, bottomleft=3

sinkClient.mobility.speed double

speed of the host

radioMedium.neighborCache.refillPeriod double

Source code

network RateControlTest
{
    parameters:
        int numCli;
        @display("bgb=1300,460");
    submodules:
        cliHost[numCli]: Client {
            parameters:
                @display("r=,,#707070");
        }
        sinkClient: SinkClient {
            parameters:
                @display("p=200,200;r=,,#707070");
        }
        physicalEnvironment: PhysicalEnvironment {
            parameters:
                @display("p=100,100;is=s");
        }
        radioMedium: Ieee80211ScalarRadioMedium {
            parameters:
                @display("p=100,200;is=s");
        }
}

File: examples/wireless/ratecontrol/RateControlTest.ned