A Discrete-Event Network Simulator
API
ns3::EdcaTxopN::TransmissionListener Class Reference
+ Inheritance diagram for ns3::EdcaTxopN::TransmissionListener:
+ Collaboration diagram for ns3::EdcaTxopN::TransmissionListener:

Public Member Functions

 TransmissionListener (EdcaTxopN *txop)
 
virtual ~TransmissionListener ()
 
virtual void Cancel (void)
 Invoked if this transmission was canceled one way or another. More...
 
virtual void EndTxNoAck (void)
 Invoked upon the end of the transmission of a frame that does not require an ACK (e.g., broadcast and multicast frames). More...
 
virtual Ptr< WifiMacQueueGetQueue (void)
 
virtual void GotAck (double snr, WifiMode txMode)
 
virtual void GotBlockAck (const CtrlBAckResponseHeader *blockAck, Mac48Address source, double rxSnr, WifiMode txMode, double dataSnr)
 
virtual void GotCts (double snr, WifiMode txMode)
 
virtual void MissedAck (void)
 ns3::MacLow did not receive an expected ACK within AckTimeout. More...
 
virtual void MissedBlockAck (uint32_t nMpdus)
 
virtual void MissedCts (void)
 ns3::MacLow did not receive an expected CTS within CtsTimeout. More...
 
virtual void StartNext (void)
 Invoked when ns3::MacLow wants to continue the TXOP. More...
 
virtual void StartNextFragment (void)
 Invoked when ns3::MacLow wants to start a new transmission as configured by MacLowTransmissionParameters::EnableNextData. More...
 
- Public Member Functions inherited from ns3::MacLowTransmissionListener
 MacLowTransmissionListener ()
 
virtual ~MacLowTransmissionListener ()
 

Private Attributes

EdcaTxopNm_txop
 

Detailed Description

Definition at line 90 of file edca-txop-n.cc.

Constructor & Destructor Documentation

ns3::EdcaTxopN::TransmissionListener::TransmissionListener ( EdcaTxopN txop)
inline

Definition at line 93 of file edca-txop-n.cc.

virtual ns3::EdcaTxopN::TransmissionListener::~TransmissionListener ( )
inlinevirtual

Definition at line 99 of file edca-txop-n.cc.

Member Function Documentation

virtual void ns3::EdcaTxopN::TransmissionListener::Cancel ( void  )
inlinevirtual

Invoked if this transmission was canceled one way or another.

When this method is invoked, you can assume that the packet has not been passed down the stack to the PHY.

Implements ns3::MacLowTransmissionListener.

Definition at line 135 of file edca-txop-n.cc.

References ns3::EdcaTxopN::Cancel(), and m_txop.

+ Here is the call graph for this function:

virtual void ns3::EdcaTxopN::TransmissionListener::EndTxNoAck ( void  )
inlinevirtual

Invoked upon the end of the transmission of a frame that does not require an ACK (e.g., broadcast and multicast frames).

Implements ns3::MacLowTransmissionListener.

Definition at line 139 of file edca-txop-n.cc.

References ns3::EdcaTxopN::EndTxNoAck(), and m_txop.

+ Here is the call graph for this function:

virtual Ptr<WifiMacQueue> ns3::EdcaTxopN::TransmissionListener::GetQueue ( void  )
inlinevirtual

Definition at line 143 of file edca-txop-n.cc.

References ns3::EdcaTxopN::GetEdcaQueue(), and m_txop.

+ Here is the call graph for this function:

virtual void ns3::EdcaTxopN::TransmissionListener::GotAck ( double  snr,
WifiMode  txMode 
)
inlinevirtual
Parameters
snrthe snr of the ack
txModethe transmission mode of the ack

ns3::MacLow received an expected ACK within AckTimeout. The snr and txMode arguments are not valid when SUPER_FAST_ACK is used.

Implements ns3::MacLowTransmissionListener.

Definition at line 111 of file edca-txop-n.cc.

References ns3::EdcaTxopN::GotAck(), and m_txop.

+ Here is the call graph for this function:

virtual void ns3::EdcaTxopN::TransmissionListener::GotBlockAck ( const CtrlBAckResponseHeader blockAck,
Mac48Address  source,
double  rxSnr,
WifiMode  txMode,
double  dataSnr 
)
inlinevirtual
Parameters
blockAckBlock ack response header
sourceAddress of block ack sender
rxSnrreceived SNR of block ack response
txModemode of block ack response
dataSnrSNR conveyed from remote station (received data SNR)

Invoked when ns3::MacLow receives a block ack frame. Block ack frame is received after a block ack request and contains information about the correct reception of a set of packet for which a normal ack wasn't send. Default implementation for this method is empty. Every queue that intends to be notified by MacLow of reception of a block ack must redefine this function.

Reimplemented from ns3::MacLowTransmissionListener.

Definition at line 119 of file edca-txop-n.cc.

References ns3::EdcaTxopN::GotBlockAck(), and m_txop.

+ Here is the call graph for this function:

virtual void ns3::EdcaTxopN::TransmissionListener::GotCts ( double  snr,
WifiMode  txMode 
)
inlinevirtual
Parameters
snrthe snr of the cts
txModethe txMode of the cts

ns3::MacLow received an expected CTS within CtsTimeout.

Implements ns3::MacLowTransmissionListener.

Definition at line 103 of file edca-txop-n.cc.

References ns3::EdcaTxopN::GotCts(), and m_txop.

+ Here is the call graph for this function:

virtual void ns3::EdcaTxopN::TransmissionListener::MissedAck ( void  )
inlinevirtual

ns3::MacLow did not receive an expected ACK within AckTimeout.

Implements ns3::MacLowTransmissionListener.

Definition at line 115 of file edca-txop-n.cc.

References m_txop, and ns3::EdcaTxopN::MissedAck().

+ Here is the call graph for this function:

virtual void ns3::EdcaTxopN::TransmissionListener::MissedBlockAck ( uint32_t  nMpdus)
inlinevirtual
Parameters
nMpdusnumber of MPDUs that were transmitted in the unsuccesful A-MPDU transmission

ns3::MacLow did not receive an expected BLOCK_ACK within BlockAckTimeout. This method is used only for immediate block ack variant. With delayed block ack, the MissedAck method will be called instead: upon receipt of a block ack request, the rx station will reply with a normal ack frame. Later, when the rx station gets a txop, it will send the block ack back to the tx station which will reply with a normal ack to the rx station.

Reimplemented from ns3::MacLowTransmissionListener.

Definition at line 123 of file edca-txop-n.cc.

References m_txop, and ns3::EdcaTxopN::MissedBlockAck().

+ Here is the call graph for this function:

virtual void ns3::EdcaTxopN::TransmissionListener::MissedCts ( void  )
inlinevirtual

ns3::MacLow did not receive an expected CTS within CtsTimeout.

Implements ns3::MacLowTransmissionListener.

Definition at line 107 of file edca-txop-n.cc.

References m_txop, and ns3::EdcaTxopN::MissedCts().

+ Here is the call graph for this function:

virtual void ns3::EdcaTxopN::TransmissionListener::StartNext ( void  )
inlinevirtual

Invoked when ns3::MacLow wants to continue the TXOP.

The listener is expected to call again MacLow::StartTransmission with the "next" packet to send.

Implements ns3::MacLowTransmissionListener.

Definition at line 131 of file edca-txop-n.cc.

References m_txop, and ns3::EdcaTxopN::StartNext().

+ Here is the call graph for this function:

virtual void ns3::EdcaTxopN::TransmissionListener::StartNextFragment ( void  )
inlinevirtual

Invoked when ns3::MacLow wants to start a new transmission as configured by MacLowTransmissionParameters::EnableNextData.

The listener is expected to call again MacLow::StartTransmission with the "next" fragment to send.

Implements ns3::MacLowTransmissionListener.

Definition at line 127 of file edca-txop-n.cc.

References m_txop, and ns3::EdcaTxopN::StartNextFragment().

+ Here is the call graph for this function:

Member Data Documentation

EdcaTxopN* ns3::EdcaTxopN::TransmissionListener::m_txop
private

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