Package: inet.examples.wireless.ratecontrol
RateControlTest
network(no description)
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.displayStringTextFormat | string | "" |
Determines the text that is written on top of the submodule, supports displaying pars, watches, and module-specific information |
| cliHost.interfaceTable.displayAddresses | bool | false |
Whether to display IP addresses on links |
| cliHost.cli.displayStringTextFormat | string | "" |
Determines the text that is written on top of the submodule, supports displaying pars, watches, and module-specific information |
| 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.displayStringTextFormat | string | "rec: %n pks" |
Determines the text that is written on top of the submodule, supports displaying pars, watches, and module-specific information |
| cliHost.wlan.pcapRecorder.verbose | bool | true |
Whether to log packets on the module output |
| cliHost.wlan.pcapRecorder.recordEmptyPackets | bool | true |
Specifies if zero length packets are recorded or not |
| cliHost.wlan.pcapRecorder.enableConvertingPackets | bool | true |
Specifies if converting packets to link type is allowed or not |
| cliHost.wlan.pcapRecorder.pcapFile | string | "" |
The PCAP file to be written, suggested value: pcapFile = "${resultdir}/${configname}-#${runnumber}" + fullpath() + ".pcap" |
| cliHost.wlan.pcapRecorder.fileFormat | string | "pcapng" | |
| cliHost.wlan.pcapRecorder.snaplen | int | 65535 |
Maximum number of bytes to record per packet |
| cliHost.wlan.pcapRecorder.timePrecision | int | 6 |
Time precision in recorded file. pcap supports only 6 (usec) or 9 (nanosec), pcapng supports more values (see 'if_tsresol' option in pcapng file format). |
| cliHost.wlan.pcapRecorder.dumpBadFrames | bool | true |
Enable dump of frames with hasBitError |
| cliHost.wlan.pcapRecorder.sendingSignalNames | string | "transmissionEnded" |
Space-separated list of outbound packet signals to subscribe to |
| cliHost.wlan.pcapRecorder.receivingSignalNames | string | "receptionEnded" |
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.mib.displayStringTextFormat | string | "" |
Determines the text that is written on top of the submodule, supports displaying pars, watches, and module-specific information |
| cliHost.wlan.mgmt.macModule | string |
The path to the MAC module |
|
| cliHost.mobility.displayStringTextFormat | string | "p: %p\nv: %v" |
Determines the text that is written on top of the submodule, supports displaying pars, watches, and module-specific information |
| cliHost.mobility.subjectModule | string | "^" |
The module path that determines the subject module, the motion of which this mobility model describes. The default value is the parent module |
| cliHost.mobility.coordinateSystemModule | string | "" |
The module path of the geographic coordinate system module |
| cliHost.mobility.updateDisplayString | bool | true |
Enables continuous update of the subject module's position by modifying its display string |
| cliHost.mobility.constraintAreaMinX | double | -inf m |
The minimum x position of the constraint area. It is unconstrained by default (negative infinity) |
| cliHost.mobility.constraintAreaMinY | double | -inf m |
The minimum y position of the constraint area. It is unconstrained by default (negative infinity) |
| cliHost.mobility.constraintAreaMinZ | double | -inf m |
The minimum z position of the constraint area. It is unconstrained by default (negative infinity) |
| cliHost.mobility.constraintAreaMaxX | double | inf m |
The maximum x position of the constraint area. It is unconstrained by default (positive infinity) |
| cliHost.mobility.constraintAreaMaxY | double | inf m |
The maximum y position of the constraint area. It is unconstrained by default (positive infinity) |
| cliHost.mobility.constraintAreaMaxZ | double | inf m |
The maximum z position of the constraint area. It is 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): top left=0, top right=1, bottom right=2, bottom left=3 |
|
| cliHost.mobility.speed | double |
Speed of the host |
|
| sinkClient.interfaceTable.displayStringTextFormat | string | "" |
Determines the text that is written on top of the submodule, supports displaying pars, watches, and module-specific information |
| sinkClient.interfaceTable.displayAddresses | bool | false |
Whether to display IP addresses on links |
| sinkClient.sink.displayStringTextFormat | string | "" |
Determines the text that is written on top of the submodule, supports displaying pars, watches, and module-specific information |
| sinkClient.sink.localSAP | int | 0xf1 | |
| sinkClient.sink.stopOperationExtraTime | double | -1s |
Extra time after lifecycle stop operation is finished |
| sinkClient.sink.stopOperationTimeout | double | 2s |
Timeout value for lifecycle stop operation |
| sinkClient.wlan.pcapRecorder.displayStringTextFormat | string | "rec: %n pks" |
Determines the text that is written on top of the submodule, supports displaying pars, watches, and module-specific information |
| sinkClient.wlan.pcapRecorder.verbose | bool | true |
Whether to log packets on the module output |
| sinkClient.wlan.pcapRecorder.recordEmptyPackets | bool | true |
Specifies if zero length packets are recorded or not |
| sinkClient.wlan.pcapRecorder.enableConvertingPackets | bool | true |
Specifies if converting packets to link type is allowed or not |
| sinkClient.wlan.pcapRecorder.pcapFile | string | "" |
The PCAP file to be written, suggested value: pcapFile = "${resultdir}/${configname}-#${runnumber}" + fullpath() + ".pcap" |
| sinkClient.wlan.pcapRecorder.fileFormat | string | "pcapng" | |
| sinkClient.wlan.pcapRecorder.snaplen | int | 65535 |
Maximum number of bytes to record per packet |
| sinkClient.wlan.pcapRecorder.timePrecision | int | 6 |
Time precision in recorded file. pcap supports only 6 (usec) or 9 (nanosec), pcapng supports more values (see 'if_tsresol' option in pcapng file format). |
| sinkClient.wlan.pcapRecorder.dumpBadFrames | bool | true |
Enable dump of frames with hasBitError |
| sinkClient.wlan.pcapRecorder.sendingSignalNames | string | "transmissionEnded" |
Space-separated list of outbound packet signals to subscribe to |
| sinkClient.wlan.pcapRecorder.receivingSignalNames | string | "receptionEnded" |
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.mib.displayStringTextFormat | string | "" |
Determines the text that is written on top of the submodule, supports displaying pars, watches, and module-specific information |
| sinkClient.wlan.mgmt.macModule | string |
The path to the MAC module |
|
| sinkClient.mobility.displayStringTextFormat | string | "p: %p\nv: %v" |
Determines the text that is written on top of the submodule, supports displaying pars, watches, and module-specific information |
| sinkClient.mobility.subjectModule | string | "^" |
The module path that determines the subject module, the motion of which this mobility model describes. The default value is the parent module |
| sinkClient.mobility.coordinateSystemModule | string | "" |
The module path of the geographic coordinate system module |
| sinkClient.mobility.updateDisplayString | bool | true |
Enables continuous update of the subject module's position by modifying its display string |
| sinkClient.mobility.constraintAreaMinX | double | -inf m |
The minimum x position of the constraint area. It is unconstrained by default (negative infinity) |
| sinkClient.mobility.constraintAreaMinY | double | -inf m |
The minimum y position of the constraint area. It is unconstrained by default (negative infinity) |
| sinkClient.mobility.constraintAreaMinZ | double | -inf m |
The minimum z position of the constraint area. It is unconstrained by default (negative infinity) |
| sinkClient.mobility.constraintAreaMaxX | double | inf m |
The maximum x position of the constraint area. It is unconstrained by default (positive infinity) |
| sinkClient.mobility.constraintAreaMaxY | double | inf m |
The maximum y position of the constraint area. It is unconstrained by default (positive infinity) |
| sinkClient.mobility.constraintAreaMaxZ | double | inf m |
The maximum z position of the constraint area. It is 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): top left=0, top right=1, bottom right=2, bottom left=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