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 void | GotAck (double snr, WifiMode txMode) |
virtual void | GotBlockAck (const CtrlBAckResponseHeader *blockAck, Mac48Address source) |
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 (void) |
ns3::MacLow did not receive an expected BLOCK_ACK within BlockAckTimeout. More... | |
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 start a new transmission as configured by MacLowTransmissionParameters::EnableNextData. More... | |
![]() | |
MacLowTransmissionListener () | |
virtual | ~MacLowTransmissionListener () |
Private Attributes | |
EdcaTxopN * | m_txop |
Definition at line 72 of file edca-txop-n.cc.
|
inline |
Definition at line 75 of file edca-txop-n.cc.
|
inlinevirtual |
Definition at line 80 of file edca-txop-n.cc.
|
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 110 of file edca-txop-n.cc.
References ns3::EdcaTxopN::Cancel(), and m_txop.
|
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 114 of file edca-txop-n.cc.
References ns3::EdcaTxopN::EndTxNoAck(), and m_txop.
|
inlinevirtual |
snr | the snr of the ack |
txMode | the transmission mode of the ack |
ns3::MacLow received an expected ACL within AckTimeout. The snr and txMode arguments are not valid when SUPER_FAST_ACK is used.
Implements ns3::MacLowTransmissionListener.
Definition at line 90 of file edca-txop-n.cc.
References ns3::EdcaTxopN::GotAck(), and m_txop.
|
inlinevirtual |
blockAck | Block ack response header |
source | Address of block ack sender |
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 98 of file edca-txop-n.cc.
References ns3::EdcaTxopN::GotBlockAck(), and m_txop.
|
inlinevirtual |
snr | the snr of the cts |
txMode | the txMode of the cts |
ns3::MacLow received an expected CTS within CtsTimeout.
Implements ns3::MacLowTransmissionListener.
Definition at line 82 of file edca-txop-n.cc.
References ns3::EdcaTxopN::GotCts(), and m_txop.
|
inlinevirtual |
ns3::MacLow did not receive an expected ACK within AckTimeout.
Implements ns3::MacLowTransmissionListener.
Definition at line 94 of file edca-txop-n.cc.
References m_txop, and ns3::EdcaTxopN::MissedAck().
|
inlinevirtual |
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 102 of file edca-txop-n.cc.
References m_txop, and ns3::EdcaTxopN::MissedBlockAck().
|
inlinevirtual |
ns3::MacLow did not receive an expected CTS within CtsTimeout.
Implements ns3::MacLowTransmissionListener.
Definition at line 86 of file edca-txop-n.cc.
References m_txop, and ns3::EdcaTxopN::MissedCts().
|
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" data to send.
Implements ns3::MacLowTransmissionListener.
Definition at line 106 of file edca-txop-n.cc.
References m_txop, and ns3::EdcaTxopN::StartNext().
|
private |
Definition at line 120 of file edca-txop-n.cc.
Referenced by Cancel(), EndTxNoAck(), GotAck(), GotBlockAck(), GotCts(), MissedAck(), MissedBlockAck(), MissedCts(), and StartNext().