INET Framework for OMNeT++/OMNEST
inet::ieee80211::Ieee80211BasicBlockAck Class Reference

Class generated from inet/linklayer/ieee80211/mac/Ieee80211Frame.msg:415 by nedtool. More...

#include <Ieee80211Frame_m.h>

Inheritance diagram for inet::ieee80211::Ieee80211BasicBlockAck:
inet::ieee80211::Ieee80211BlockAck inet::ieee80211::Ieee80211TwoAddressFrame inet::ieee80211::Ieee80211OneAddressFrame inet::ieee80211::Ieee80211Frame

Public Member Functions

 Ieee80211BasicBlockAck (const char *name=nullptr, short kind=0)
 
 Ieee80211BasicBlockAck (const Ieee80211BasicBlockAck &other)
 
virtual ~Ieee80211BasicBlockAck ()
 
Ieee80211BasicBlockAckoperator= (const Ieee80211BasicBlockAck &other)
 
virtual Ieee80211BasicBlockAckdup () const override
 
virtual void parsimPack (omnetpp::cCommBuffer *b) const override
 
virtual void parsimUnpack (omnetpp::cCommBuffer *b) override
 
virtual int getFragmentNumber () const
 
virtual void setFragmentNumber (int fragmentNumber)
 
virtual int getStartingSequenceNumber () const
 
virtual void setStartingSequenceNumber (int startingSequenceNumber)
 
virtual unsigned int getBlockAckBitmapArraySize () const
 
virtual BitVectorgetBlockAckBitmap (unsigned int k)
 
virtual const BitVectorgetBlockAckBitmap (unsigned int k) const
 
virtual void setBlockAckBitmap (unsigned int k, const BitVector &blockAckBitmap)
 
virtual int getTidInfo () const
 
virtual void setTidInfo (int tidInfo)
 
- Public Member Functions inherited from inet::ieee80211::Ieee80211BlockAck
 Ieee80211BlockAck (const char *name=nullptr, short kind=0)
 
 Ieee80211BlockAck (const Ieee80211BlockAck &other)
 
virtual ~Ieee80211BlockAck ()
 
Ieee80211BlockAckoperator= (const Ieee80211BlockAck &other)
 
virtual bool getBlockAckPolicy () const
 
virtual void setBlockAckPolicy (bool blockAckPolicy)
 
virtual bool getMultiTid () const
 
virtual void setMultiTid (bool multiTid)
 
virtual bool getCompressedBitmap () const
 
virtual void setCompressedBitmap (bool compressedBitmap)
 
- Public Member Functions inherited from inet::ieee80211::Ieee80211TwoAddressFrame
 Ieee80211TwoAddressFrame (const char *name=nullptr, short kind=0)
 
 Ieee80211TwoAddressFrame (const Ieee80211TwoAddressFrame &other)
 
virtual ~Ieee80211TwoAddressFrame ()
 
Ieee80211TwoAddressFrameoperator= (const Ieee80211TwoAddressFrame &other)
 
virtual MACAddressgetTransmitterAddress ()
 
virtual const MACAddressgetTransmitterAddress () const
 
virtual void setTransmitterAddress (const MACAddress &transmitterAddress)
 
- Public Member Functions inherited from inet::ieee80211::Ieee80211OneAddressFrame
 Ieee80211OneAddressFrame (const char *name=nullptr, short kind=0)
 
 Ieee80211OneAddressFrame (const Ieee80211OneAddressFrame &other)
 
virtual ~Ieee80211OneAddressFrame ()
 
Ieee80211OneAddressFrameoperator= (const Ieee80211OneAddressFrame &other)
 
- Public Member Functions inherited from inet::ieee80211::Ieee80211Frame
 Ieee80211Frame (const char *name=nullptr, short kind=0)
 
 Ieee80211Frame (const Ieee80211Frame &other)
 
virtual ~Ieee80211Frame ()
 
Ieee80211Frameoperator= (const Ieee80211Frame &other)
 
virtual short getType () const
 
virtual void setType (short type)
 
virtual bool getToDS () const
 
virtual void setToDS (bool toDS)
 
virtual bool getFromDS () const
 
virtual void setFromDS (bool fromDS)
 
virtual bool getRetry () const
 
virtual void setRetry (bool retry)
 
virtual bool getMoreFragments () const
 
virtual void setMoreFragments (bool moreFragments)
 
virtual ::omnetpp::simtime_t getDuration () const
 
virtual void setDuration (::omnetpp::simtime_t duration)
 
virtual short getAID () const
 
virtual void setAID (short AID)
 
virtual MACAddressgetReceiverAddress ()
 
virtual const MACAddressgetReceiverAddress () const
 
virtual void setReceiverAddress (const MACAddress &receiverAddress)
 
virtual ::omnetpp::simtime_t getMACArrive () const
 
virtual void setMACArrive (::omnetpp::simtime_t MACArrive)
 

Protected Member Functions

bool operator== (const Ieee80211BasicBlockAck &)
 
- Protected Member Functions inherited from inet::ieee80211::Ieee80211BlockAck
bool operator== (const Ieee80211BlockAck &)
 
- Protected Member Functions inherited from inet::ieee80211::Ieee80211TwoAddressFrame
bool operator== (const Ieee80211TwoAddressFrame &)
 
- Protected Member Functions inherited from inet::ieee80211::Ieee80211OneAddressFrame
bool operator== (const Ieee80211OneAddressFrame &)
 
- Protected Member Functions inherited from inet::ieee80211::Ieee80211Frame
bool operator== (const Ieee80211Frame &)
 

Protected Attributes

int fragmentNumber
 
int startingSequenceNumber
 
BitVector blockAckBitmap [64]
 
int tidInfo
 
- Protected Attributes inherited from inet::ieee80211::Ieee80211BlockAck
bool blockAckPolicy
 
bool multiTid
 
bool compressedBitmap
 
- Protected Attributes inherited from inet::ieee80211::Ieee80211TwoAddressFrame
MACAddress transmitterAddress
 
- Protected Attributes inherited from inet::ieee80211::Ieee80211Frame
short type
 
bool toDS
 
bool fromDS
 
bool retry
 
bool moreFragments
 
::omnetpp::simtime_t duration
 
short AID
 
MACAddress receiverAddress
 
::omnetpp::simtime_t MACArrive
 

Private Member Functions

void copy (const Ieee80211BasicBlockAck &other)
 

Detailed Description

Class generated from inet/linklayer/ieee80211/mac/Ieee80211Frame.msg:415 by nedtool.

//
// 8.3.1.9.2 Basic BlockAck variant – 411p.
//
packet Ieee80211BasicBlockAck extends Ieee80211BlockAck
{
    // byteLength TODO
    multiTid = 0;
    compressedBitmap = 0;
    // The BA Information field of the Basic BlockAck frame comprises the Block Ack Starting Sequence Control
    // subfield and the Block Ack Bitmap subfield, as shown in Figure 8-26.
    int fragmentNumber = 0; // ??
    int startingSequenceNumber;
    // The Block Ack Bitmap subfield is 128 octets in length and is used to indicate the received status of up to
    // 64 MSDUs. Bit position n of the Block Ack bitmap, if equal to 1, acknowledges receipt of an MPDU with an
    // MPDU sequence control value equal to (Block Ack Starting Sequence Control + n). Bit position n of the
    // Block Ack bitmap, if equal to 0, indicates that an MPDU with MPDU sequence control value equal to
    // (Block Ack Starting Sequence Control + n) has not been received. Each of the MPDU Sequence Control
    // field and Block Ack Starting Sequence Control subfield values are treated as a 16-bit unsigned integer. For
    // unused fragment numbers of an MSDU, the corresponding bits in the bitmap are set to 0.
    BitVector blockAckBitmap[64]; // 64 * 16 bitmatrix
    // The TID_INFO subfield of the BA Control field of the Basic BlockAck frame contains the TID for which
    // this BlockAck frame is sent.
    int tidInfo;
}

Constructor & Destructor Documentation

inet::ieee80211::Ieee80211BasicBlockAck::Ieee80211BasicBlockAck ( const char *  name = nullptr,
short  kind = 0 
)
inet::ieee80211::Ieee80211BasicBlockAck::Ieee80211BasicBlockAck ( const Ieee80211BasicBlockAck other)
virtual inet::ieee80211::Ieee80211BasicBlockAck::~Ieee80211BasicBlockAck ( )
virtual

Member Function Documentation

void inet::ieee80211::Ieee80211BasicBlockAck::copy ( const Ieee80211BasicBlockAck other)
private
virtual Ieee80211BasicBlockAck* inet::ieee80211::Ieee80211BasicBlockAck::dup ( ) const
inlineoverridevirtual

Reimplemented from inet::ieee80211::Ieee80211BlockAck.

1318 {return new Ieee80211BasicBlockAck(*this);}
Ieee80211BasicBlockAck(const char *name=nullptr, short kind=0)
virtual BitVector& inet::ieee80211::Ieee80211BasicBlockAck::getBlockAckBitmap ( unsigned int  k)
virtual
virtual const BitVector& inet::ieee80211::Ieee80211BasicBlockAck::getBlockAckBitmap ( unsigned int  k) const
inlinevirtual

Referenced by getBlockAckBitmap().

1329 {return const_cast<Ieee80211BasicBlockAck*>(this)->getBlockAckBitmap(k);}
Ieee80211BasicBlockAck(const char *name=nullptr, short kind=0)
virtual BitVector & getBlockAckBitmap(unsigned int k)
const double k
Definition: QAM16Modulation.cc:24
virtual unsigned int inet::ieee80211::Ieee80211BasicBlockAck::getBlockAckBitmapArraySize ( ) const
virtual
virtual int inet::ieee80211::Ieee80211BasicBlockAck::getFragmentNumber ( ) const
virtual
virtual int inet::ieee80211::Ieee80211BasicBlockAck::getStartingSequenceNumber ( ) const
virtual
virtual int inet::ieee80211::Ieee80211BasicBlockAck::getTidInfo ( ) const
virtual
Ieee80211BasicBlockAck& inet::ieee80211::Ieee80211BasicBlockAck::operator= ( const Ieee80211BasicBlockAck other)
bool inet::ieee80211::Ieee80211BasicBlockAck::operator== ( const Ieee80211BasicBlockAck )
protected
virtual void inet::ieee80211::Ieee80211BasicBlockAck::parsimPack ( omnetpp::cCommBuffer *  b) const
overridevirtual
virtual void inet::ieee80211::Ieee80211BasicBlockAck::parsimUnpack ( omnetpp::cCommBuffer *  b)
overridevirtual
virtual void inet::ieee80211::Ieee80211BasicBlockAck::setBlockAckBitmap ( unsigned int  k,
const BitVector blockAckBitmap 
)
virtual
virtual void inet::ieee80211::Ieee80211BasicBlockAck::setFragmentNumber ( int  fragmentNumber)
virtual
virtual void inet::ieee80211::Ieee80211BasicBlockAck::setStartingSequenceNumber ( int  startingSequenceNumber)
virtual
virtual void inet::ieee80211::Ieee80211BasicBlockAck::setTidInfo ( int  tidInfo)
virtual

Member Data Documentation

BitVector inet::ieee80211::Ieee80211BasicBlockAck::blockAckBitmap[64]
protected
int inet::ieee80211::Ieee80211BasicBlockAck::fragmentNumber
protected
int inet::ieee80211::Ieee80211BasicBlockAck::startingSequenceNumber
protected
int inet::ieee80211::Ieee80211BasicBlockAck::tidInfo
protected

The documentation for this class was generated from the following file: