Ieee80211Portal

Package: inet.linklayer.ieee80211.portal

simple module Ieee80211Portal

Implements the portal functionality in IEEE 802.11 networks, serving as a bridge between wireless LANs and wired networks. Performs protocol conversion between IEEE 802.11 frames and IEEE 802.3 (Ethernet) frames, handling frame format differences and LLC header management.

inet.linklayer.ieee80211.portal.Ieee80211PortalIeee80211Portalsimple

Usage diagram

Inheritance diagram

Used in compound modules

Name

Type

Description

ExtUpperIeee80211Interface

compound module

Provides an IEEE 802.11 network interface suitable for emulation. The upper part of the network interface is realized in the real world using a real TAP device of the host computer which is running the simulation.

Extends

Name

Type

Description

SimpleModule

simple module

Base module for all INET simple modules.

Parameters

Name

Type

Default value

Description

displayStringTextFormat

string

“”

Determines the text that is written on top of the submodule, supports displaying pars, watches, and module-specific information

fcsMode

string

“declared”

Properties

Name

Value

Description

class

Ieee80211Portal

display

i=block/layer

Gates

Name

Direction

Size

Description

upperLayerIn

input

upperLayerOut

output

lowerLayerIn

input

lowerLayerOut

output

Source code

//
// Implements the portal functionality in IEEE 802.11 networks, serving as a bridge
// between wireless LANs and wired networks. Performs protocol conversion between
// IEEE 802.11 frames and IEEE 802.3 (Ethernet) frames, handling frame format
// differences and LLC header management.
//
simple Ieee80211Portal extends SimpleModule like IIeee8022Llc, IIeee80211Llc
{
    parameters:
        @class(Ieee80211Portal);
        string fcsMode @enum("declared", "computed") = default("declared");
        @display("i=block/layer");
    gates:
        input upperLayerIn;
        output upperLayerOut;
        input lowerLayerIn;
        output lowerLayerOut;
}

File: src/inet/linklayer/ieee80211/portal/Ieee80211Portal.ned