Ieee80211Delba

Namespace: inet

class Ieee80211Delba

8.5.5.4 DELBA frame format

Inheritance diagram

Extends

Name

Type

Description

Ieee80211ActionFrame

class

8.3.3.13 Action frame format – mgmt frame with subtype action

Fields

Name

Type

Description

id

int

mutable

bool

complete

bool

correct

bool

properlyRepresented

bool

chunkLength

b

rawBin

string[]

rawHex

string[]

regionTags

SharingRegionTagSet::TagBaseRegionTag[]

chunkLength

type

Ieee80211FrameType

type and subtype

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

chunkLength

transmitterAddress

MacAddress

aka address2 (TA)

chunkLength

address3

MacAddress

fragmentNumber

short

sequenceNumber

SequenceNumberCyclic

type

category

short

blockAckAction

uint8_t

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

chunkLength

category

Category field is set to 3 (representing DELBA). (1 byte)

blockAckAction

Block Ack Action field is set to 2 (representing DELBA). (1 byte)

reserved

uint16_t

Reserved. (11 bits)

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)

Properties

Name

Value

Description

beforeChange

handleChange()

descriptor

readonly

existingClass

packetData

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