Compound Module WirelessAP

File: Nodes/Wireless/WirelessAP.ned

Models a 802.11 Access Point. It can be used in conjunction with WirelessHost, or any other host model containing WirelessNicSTA.

See also: WirelessAP, WirelessAPSimplified, WirelessAPWithEth, WirelessAPWithEthSimplified

See also: WirelessHost, WirelessHostSimplified

See also: MobileHost, MFMobileHost

notificationBoard: NotificationBoard wlan: Ieee80211NicAP mobility: NullMobility

Usage diagram:

The following diagram shows usage relationships between modules, networks and channels. Unresolved module (and channel) types are missing from the diagram. Click here to see the full picture.

WirelessAP NotificationBoard NullMobility Ieee80211NicAP

Contains the following modules:

If a module type shows up more than once, that means it has been defined in more than one NED file.

Ieee80211NicAP

This NIC implements an 802.11 network interface card, in an AP, using infrastructure mode.

NotificationBoard

Using NotificationBoard, modules can now notify each other about "events" such as routing table changes, interface status changes (up/down), interface configuration changes, wireless handovers, changes in the state of the wireless channel, mobile node position changes, etc.

NullMobility

This mobility module does nothing; it can be used for stationary nodes.

Gates:

Name Direction Description
radioIn input

Unassigned submodule parameters:

Name Type Description
wlan.mgmt.ssid string
wlan.mgmt.beaconInterval numeric const
wlan.mgmt.frameCapacity numeric const

maximum queue length

wlan.mgmt.numAuthSteps numeric const

use 2 for Open System auth, 4 for WEP dataRate: numeric; XXX TBD

wlan.mac.address string

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 numeric const

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

wlan.mac.bitrate numeric const
wlan.mac.rtsThresholdBytes numeric const

longer messages will be sent using RTS/CTS; use 2346 for default

wlan.mac.retryLimit numeric const

maximum number of retries per message, -1 means default

wlan.mac.cwMinData numeric const

contention window for normal data frames, -1 means default

wlan.mac.cwMinBroadcast numeric const

contention window for broadcast messages, -1 means default

wlan.radio.channelNumber numeric const

channel identifier

wlan.radio.transmitterPower numeric const

power used for transmission of messages (in mW)

wlan.radio.bitrate numeric const

(in bits/s)

wlan.radio.thermalNoise numeric const

base noise level (dBm)

wlan.radio.pathLossAlpha numeric const

used by the path loss calculation

wlan.radio.snirThreshold numeric const

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

wlan.radio.sensitivity numeric const

received signals with power below sensitivity are ignored

mobility.x numeric const

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

mobility.y numeric const

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

Source code:

module WirelessAP
    gates:
        in: radioIn;
    submodules:
        notificationBoard: NotificationBoard;
            display: "p=79,74;i=block/control";
        wlan: Ieee80211NicAP; // see also Ieee80211NicAPSimplified
            display: "p=110,179;q=queue;i=block/ifcard";
        mobility: NullMobility;
            display: "p=144,70;i=block/cogwheel_s";
    connections nocheck:
        radioIn --> wlan.radioIn display "m=s";
endmodule