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

#include <OriginatorBlockAckProcedure.h>

Inheritance diagram for inet::ieee80211::OriginatorBlockAckProcedure:
inet::ieee80211::IOriginatorBlockAckProcedure

Public Member Functions

virtual Ieee80211BlockAckReqbuildCompressedBlockAckReqFrame (const MACAddress &receiverAddress, Tid tid, int startingSequenceNumber) const override
 
virtual Ieee80211BlockAckReqbuildBasicBlockAckReqFrame (const MACAddress &receiverAddress, Tid tid, int startingSequenceNumber) const override
 
- Public Member Functions inherited from inet::ieee80211::IOriginatorBlockAckProcedure
virtual ~IOriginatorBlockAckProcedure ()
 

Member Function Documentation

Ieee80211BlockAckReq * inet::ieee80211::OriginatorBlockAckProcedure::buildBasicBlockAckReqFrame ( const MACAddress receiverAddress,
Tid  tid,
int  startingSequenceNumber 
) const
overridevirtual

Implements inet::ieee80211::IOriginatorBlockAckProcedure.

34 {
35  Ieee80211BasicBlockAckReq *blockAckReq = new Ieee80211BasicBlockAckReq("BasicBlockAckReq");
36  blockAckReq->setReceiverAddress(receiverAddress);
37  blockAckReq->setStartingSequenceNumber(startingSequenceNumber);
38  blockAckReq->setTidInfo(tid);
39  return blockAckReq;
40 }
Ieee80211BlockAckReq * inet::ieee80211::OriginatorBlockAckProcedure::buildCompressedBlockAckReqFrame ( const MACAddress receiverAddress,
Tid  tid,
int  startingSequenceNumber 
) const
overridevirtual

Implements inet::ieee80211::IOriginatorBlockAckProcedure.

24 {
25  throw cRuntimeError("Unsupported feature");
26  Ieee80211CompressedBlockAckReq *blockAckReq = new Ieee80211CompressedBlockAckReq("CompressedBlockAckReq");
27  blockAckReq->setReceiverAddress(receiverAddress);
28  blockAckReq->setStartingSequenceNumber(startingSequenceNumber);
29  blockAckReq->setTidInfo(tid);
30  return blockAckReq;
31 }

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