A Discrete-Event Network Simulator
API
Loading...
Searching...
No Matches
ns3::WifiUlMuMultiStaBa Struct Reference

WifiUlMuMultiStaBa specifies that a Basic Trigger Frame is being sent to solicit TB PPDUs that will be acknowledged through a multi-STA BlockAck frame. More...

#include "wifi-acknowledgment.h"

+ Inheritance diagram for ns3::WifiUlMuMultiStaBa:
+ Collaboration diagram for ns3::WifiUlMuMultiStaBa:

Public Member Functions

 WifiUlMuMultiStaBa ()
 
bool CheckQosAckPolicy (Mac48Address receiver, uint8_t tid, WifiMacHeader::QosAckPolicy ackPolicy) const override
 Check whether the given QoS Ack policy can be used for the MPDUs addressed to the given receiver and belonging to the given TID.
 
std::unique_ptr< WifiAcknowledgmentCopy () const override
 Clone this object.
 
void Print (std::ostream &os) const override
 Print the object contents.
 
- Public Member Functions inherited from ns3::WifiAcknowledgment
 WifiAcknowledgment (Method m)
 Constructor.
 
virtual ~WifiAcknowledgment ()
 
virtual std::unique_ptr< WifiAcknowledgmentCopy () const =0
 Clone this object.
 
WifiMacHeader::QosAckPolicy GetQosAckPolicy (Mac48Address receiver, uint8_t tid) const
 Get the QoS Ack policy to use for the MPDUs addressed to the given receiver and belonging to the given TID.
 
virtual void Print (std::ostream &os) const =0
 Print the object contents.
 
void SetQosAckPolicy (Mac48Address receiver, uint8_t tid, WifiMacHeader::QosAckPolicy ackPolicy)
 Set the QoS Ack policy to use for the MPDUs addressed to the given receiver and belonging to the given TID.
 

Public Attributes

BlockAckType baType
 BlockAck type.
 
WifiTxVector multiStaBaTxVector
 TXVECTOR for the Multi-STA BlockAck.
 
std::map< std::pair< Mac48Address, uint8_t >, std::size_t > stationsReceivingMultiStaBa
 Map (originator, tid) pairs to the their index in baType.
 
WifiTxVector tbPpduTxVector
 TXVECTOR for a TB PPDU.
 
- Public Attributes inherited from ns3::WifiAcknowledgment
Time acknowledgmentTime
 time required by the acknowledgment method
 
const Method method
 acknowledgment method
 

Additional Inherited Members

- Public Types inherited from ns3::WifiAcknowledgment
enum  Method {
  NONE = 0 , NORMAL_ACK , BLOCK_ACK , BAR_BLOCK_ACK ,
  DL_MU_BAR_BA_SEQUENCE , DL_MU_TF_MU_BAR , DL_MU_AGGREGATE_TF , UL_MU_MULTI_STA_BA ,
  ACK_AFTER_TB_PPDU
}
 Available acknowledgment methods. More...
 

Detailed Description

WifiUlMuMultiStaBa specifies that a Basic Trigger Frame is being sent to solicit TB PPDUs that will be acknowledged through a multi-STA BlockAck frame.

Definition at line 315 of file wifi-acknowledgment.h.

Constructor & Destructor Documentation

◆ WifiUlMuMultiStaBa()

ns3::WifiUlMuMultiStaBa::WifiUlMuMultiStaBa ( )

Definition at line 313 of file wifi-acknowledgment.cc.

Member Function Documentation

◆ CheckQosAckPolicy()

bool ns3::WifiUlMuMultiStaBa::CheckQosAckPolicy ( Mac48Address  receiver,
uint8_t  tid,
WifiMacHeader::QosAckPolicy  ackPolicy 
) const
overridevirtual

Check whether the given QoS Ack policy can be used for the MPDUs addressed to the given receiver and belonging to the given TID.

Parameters
receiverthe MAC address of the receiver
tidthe TID
ackPolicythe QoS Ack policy to use
Returns
true if the given QoS Ack policy can be used, false otherwise

Implements ns3::WifiAcknowledgment.

Definition at line 326 of file wifi-acknowledgment.cc.

◆ Copy()

std::unique_ptr< WifiAcknowledgment > ns3::WifiUlMuMultiStaBa::Copy ( ) const
overridevirtual

Clone this object.

Returns
a pointer to the cloned object

Implements ns3::WifiAcknowledgment.

Definition at line 320 of file wifi-acknowledgment.cc.

◆ Print()

void ns3::WifiUlMuMultiStaBa::Print ( std::ostream &  os) const
overridevirtual

Print the object contents.

Parameters
osoutput stream in which the data should be printed.

Implements ns3::WifiAcknowledgment.

Definition at line 335 of file wifi-acknowledgment.cc.

References stationsReceivingMultiStaBa.

Member Data Documentation

◆ baType

◆ multiStaBaTxVector

WifiTxVector ns3::WifiUlMuMultiStaBa::multiStaBaTxVector

TXVECTOR for the Multi-STA BlockAck.

Definition at line 329 of file wifi-acknowledgment.h.

Referenced by ns3::HeFrameExchangeManager::CalculateAcknowledgmentTime(), and ns3::HeFrameExchangeManager::SendMultiStaBlockAck().

◆ stationsReceivingMultiStaBa

std::map<std::pair<Mac48Address, uint8_t>, std::size_t> ns3::WifiUlMuMultiStaBa::stationsReceivingMultiStaBa

Map (originator, tid) pairs to the their index in baType.

Definition at line 326 of file wifi-acknowledgment.h.

Referenced by ns3::HeFrameExchangeManager::EndReceiveAmpdu(), Print(), ns3::HeFrameExchangeManager::ReceiveMpdu(), and ns3::HeFrameExchangeManager::SendMultiStaBlockAck().

◆ tbPpduTxVector

WifiTxVector ns3::WifiUlMuMultiStaBa::tbPpduTxVector

TXVECTOR for a TB PPDU.

Definition at line 328 of file wifi-acknowledgment.h.


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