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
The following diagram shows usage relationships between types. Unresolved types are missing from the diagram.
The following diagram shows inheritance relationships for this type. Unresolved types are missing from the diagram.
Name | Type | Description |
---|---|---|
Ieee80211NicAP | compound module |
This NIC implements an 802.11 network interface card, in an AP, using infrastructure mode. |
Name | Type | Default value | Description |
---|---|---|---|
ssid | string | "SSID" | |
beaconInterval | double | 100ms | |
frameCapacity | int | 100 |
maximum queue length |
numAuthSteps | int | 4 |
use 2 for Open System auth, 4 for WEP |
Name | Value | Description |
---|---|---|
display | i=block/cogwheel |
dataRate: numeric; XXX TBD |
Name | Direction | Size | 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 |
// // 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 // simple Ieee80211MgmtAP like Ieee80211Mgmt { parameters: string ssid = default("SSID"); double beaconInterval @unit("s") = default(100ms); int frameCapacity = default(100); // maximum queue length int numAuthSteps = default(4); // use 2 for Open System auth, 4 for WEP //dataRate: numeric; XXX TBD @display("i=block/cogwheel"); gates: input uppergateIn; // from MACRelayUnit; can be left unconnected output uppergateOut; // to MACRelayUnit; can be left unconnected input macIn @labels(Ieee80211Frame); // from Ieee80211Mac output macOut @labels(Ieee80211Frame); // to Ieee80211Mac }