Compound Module WirelessAPSimplified

File: Nodes/Wireless/WirelessAPSimplified.ned

Models a 802.11 Access Point, but using a simplified NIC that does not support handovers. It should be used in conjunction with WirelessHostSimplified, or any other host model containing WirelessNicSTASimplified.

See also: WirelessAP, WirelessAPSimplified, WirelessAPWithEth, WirelessAPWithEthSimplified

See also: WirelessHost, WirelessHostSimplified

See also: MobileHost, MFMobileHost

notificationBoard: NotificationBoard wlan: Ieee80211NicAPSimplified 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.

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.

Ieee80211NicAPSimplified

This NIC implements an infrastructure mode 802.11 network interface card for a wireless Access Point (AP), but using a simplified mgmt module that does not support handovers.

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.frameCapacity numeric
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 WirelessAPSimplified
    gates:
        in: radioIn;
    submodules:
        notificationBoard: NotificationBoard;
            display: "p=79,74;i=block/control";
        wlan: 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