Ieee80211Delba

Ieee80211Delba

class

8.5.5.4 DELBA frame format

Inheritance diagram

The following diagram shows inheritance relationships for this type. Unresolved types are missing from the diagram.

Extends

Name Type Description
Ieee80211ActionFrame class

8.3.3.13 Action frame format -- mgmt frame with subtype action

Fields

Name Type Description
chunkLength b
category short
blockAckAction uint8_t

TODO: subclasses will add action subfield contents WirelessNetworkManagementAction action; // action TODO: remove it

reserved uint16_t

DELBA Parameter Set (2 bytes)

initiator bool

It is set to 1 to indicate the originator and is set to 0 to indicate the recipient. The Initiator subfield indicates if the originator or the recipient of the data is sending this frame. (1 bit)

tid uint8_t

The TID subfield indicates the TSID or the UP for which the Block Ack has been originally set up. (4 bits)

reasonCode uint16_t

This Reason Code field is used to indicate the reason that an unsolicited notification management frame of type Disassociation, Deauthentication, DELTS, DELBA, DLS Teardown, or Mesh Peering Close was generated. (2 bytes)

type Ieee80211FrameType

type and subtype

address3 MacAddress
fragmentNumber short
sequenceNumber SequenceNumber
transmitterAddress MacAddress

aka address2 (TA)

toDS bool
fromDS bool
moreFragments bool
retry bool
powerMgmt bool

unused

moreData bool

unused

protectedFrame bool

unused

order bool

unused

durationField simtime_t

"duration" in the Duration/ID field (-1=no duration)

AID short

"id" (Association ID) in the Duration/ID field (-1=no ID)

receiverAddress MacAddress

aka address1 (RA)

MACArrive simtime_t

FIXME remove it, technical data, used inside of MAC module

mutable bool
complete bool
correct bool
properlyRepresented bool
rawBin string[]
rawHex string[]
tags RegionTagSet::cObjectRegionTag[]

Source code

//
// 8.5.5.4 DELBA frame format
//
class Ieee80211Delba extends Ieee80211ActionFrame
{
    chunkLength = LENGTH_DELBA;
    category = 3; // Category field is set to 3 (representing DELBA). (1 byte)
    blockAckAction = 2; // Block Ack Action field is set to 2 (representing DELBA). (1 byte)

    // DELBA Parameter Set (2 bytes)
    uint16_t reserved = 0; // Reserved. (11 bits)
    bool initiator; // It is set to 1 to indicate the originator and is set to 0 to indicate the recipient.
    				// The Initiator subfield indicates if the originator or the recipient of the data is sending this frame. (1 bit)
    uint8_t tid; // The TID subfield indicates the TSID or the UP for which the Block Ack has been originally set up. (4 bits)

    // This Reason Code field is used to indicate the reason that an unsolicited notification management frame of
    // type Disassociation, Deauthentication, DELTS, DELBA, DLS Teardown, or Mesh Peering Close was
    // generated. (2 bytes)
    uint16_t reasonCode;
}

File: src/inet/linklayer/ieee80211/mac/Ieee80211Frame.msg