Simple Module Ieee80211MgmtAP

File: NetworkInterfaces/Ieee80211/Mgmt/Ieee80211MgmtAP.ned

C++ definition: click here

Used in 802.11 infrastructure mode: handles management frames for an access point (AP). It relies on a connected Ieee80211Mac for actual reception and transmission of frames.

When simulating an AP that has other (Ethernet or wireless) interfaces as well, this module can be connected to a MACRelayUnit which performs bridging of Ethernet frames. This module will perform conversion from/to EtherFrame for MACRelayUnit.

This module never switches channels, that is, it will operate on the channel the physical layer is configured for (see channelNumber in Ieee80211Radio).

Author: Andras Varga

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.

Used in compound 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.

Parameters:

Name Type Description
ssid string
beaconInterval numeric const
frameCapacity numeric const

maximum queue length

numAuthSteps numeric const

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

Gates:

Name Direction Description
uppergateIn input

from MACRelayUnit; can be left unconnected

uppergateOut output

to MACRelayUnit; can be left unconnected

macIn input

from Ieee80211Mac

macOut output

to Ieee80211Mac

Source code:

simple Ieee80211MgmtAP
    parameters:
        ssid: string,
        beaconInterval: numeric const,
        frameCapacity: numeric const, // maximum queue length
        numAuthSteps: numeric const; // use 2 for Open System auth, 4 for WEP
        //dataRate: numeric; XXX TBD
    gates:
        in: uppergateIn; // from MACRelayUnit; can be left unconnected
        out: uppergateOut; // to MACRelayUnit; can be left unconnected
        in: macIn; // from Ieee80211Mac
        out: macOut; // to Ieee80211Mac
endsimple