Ieee80211Tag.msg

Msg File src/inet/physicallayer/ieee80211/packetlevel/Ieee80211Tag.msg

Name Type Description
Ieee80211ModeTagBase class

This is an abstract base class that should not be directly added as a tag.

Ieee80211ModeReq class

This request determines the IEEE 802.11 mode that should be used to transmit the packet. It may be present on a packet from the application to the phyisical layer.

Ieee80211ModeInd class

This indication specifies the IEEE 802.11 mode that was used to receive the packet. It may be present on a packet from the phyiscal layer to the application.

Ieee80211ChannelTagBase class

This is an abstract base class that should not be directly added as a tag.

Ieee80211ChannelReq class

This request determines the IEEE 802.11 channel that should be used to transmit the packet. It may be present on a packet from the application to the phyisical layer.

Ieee80211ChannelInd class

This indication specifies the IEEE 802.11 channel that was used to receive the packet. It may be present on a packet from the phyiscal layer to the application.

Source code

//
// Copyright (C) 2006 Andras Varga
//
// This program is free software; you can redistribute it and/or
// modify it under the terms of the GNU Lesser General Public
// License as published by the Free Software Foundation; either
// version 2.1 of the License, or (at your option) any later version.
//
// This program is distributed in the hope that it will be useful,
// but WITHOUT ANY WARRANTY; without even the implied warranty of
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
// GNU Lesser General Public License for more details.
//
// You should have received a copy of the GNU Lesser General Public
// License along with this program; if not, see <http://www.gnu.org/licenses/>.
//

import inet.common.INETDefs;
import inet.common.TagBase;
import inet.physicallayer.ieee80211.mode.IIeee80211Mode;
import inet.physicallayer.ieee80211.mode.Ieee80211Channel;

namespace inet::physicallayer;

//
// This is an abstract base class that should not be directly added as a tag.
//
class Ieee80211ModeTagBase extends TagBase
{
    const IIeee80211Mode *mode = nullptr; // IEEE 802.11 transmission mode
}

//
// This request determines the IEEE 802.11 mode that should be used to transmit the packet.
// It may be present on a packet from the application to the phyisical layer.
//
class Ieee80211ModeReq extends Ieee80211ModeTagBase
{
}

//
// This indication specifies the IEEE 802.11 mode that was used to receive the packet.
// It may be present on a packet from the phyiscal layer to the application.
//
class Ieee80211ModeInd extends Ieee80211ModeTagBase
{
}

//
// This is an abstract base class that should not be directly added as a tag.
//
class Ieee80211ChannelTagBase extends TagBase
{
    const Ieee80211Channel *channel = nullptr; // IEEE 802.11 band and channel
}

//
// This request determines the IEEE 802.11 channel that should be used to transmit the packet.
// It may be present on a packet from the application to the phyisical layer.
//
class Ieee80211ChannelReq extends Ieee80211ChannelTagBase
{
}

//
// This indication specifies the IEEE 802.11 channel that was used to receive the packet.
// It may be present on a packet from the phyiscal layer to the application.
//
class Ieee80211ChannelInd extends Ieee80211ChannelTagBase
{
}