Public Member Functions | |
TransmissionListener (DcaTxop *txop) | |
virtual | ~TransmissionListener () |
virtual void | GotCts (double snr, WifiMode txMode) |
virtual void | MissedCts (void) |
virtual void | GotAck (double snr, WifiMode txMode) |
virtual void | MissedAck (void) |
virtual void | StartNext (void) |
virtual void | Cancel (void) |
Private Attributes | |
DcaTxop * | m_txop |
Definition at line 65 of file dca-txop.cc.
ns3::DcaTxop::TransmissionListener::TransmissionListener | ( | DcaTxop * | txop | ) | [inline] |
Definition at line 67 of file dca-txop.cc.
virtual ns3::DcaTxop::TransmissionListener::~TransmissionListener | ( | ) | [inline, virtual] |
Definition at line 71 of file dca-txop.cc.
virtual void ns3::DcaTxop::TransmissionListener::Cancel | ( | void | ) | [inline, virtual] |
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 88 of file dca-txop.cc.
References ns3::DcaTxop::Cancel(), and m_txop.
virtual void ns3::DcaTxop::TransmissionListener::GotAck | ( | double | snr, | |
WifiMode | txMode | |||
) | [inline, virtual] |
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 79 of file dca-txop.cc.
References ns3::DcaTxop::GotAck(), and m_txop.
virtual void ns3::DcaTxop::TransmissionListener::GotCts | ( | double | snr, | |
WifiMode | txMode | |||
) | [inline, virtual] |
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 73 of file dca-txop.cc.
References ns3::DcaTxop::GotCts(), and m_txop.
virtual void ns3::DcaTxop::TransmissionListener::MissedAck | ( | void | ) | [inline, virtual] |
ns3::MacLow did not receive an expected ACK within AckTimeout.
Implements ns3::MacLowTransmissionListener.
Definition at line 82 of file dca-txop.cc.
References m_txop, and ns3::DcaTxop::MissedAck().
virtual void ns3::DcaTxop::TransmissionListener::MissedCts | ( | void | ) | [inline, virtual] |
ns3::MacLow did not receive an expected CTS within CtsTimeout.
Implements ns3::MacLowTransmissionListener.
Definition at line 76 of file dca-txop.cc.
References m_txop, and ns3::DcaTxop::MissedCts().
virtual void ns3::DcaTxop::TransmissionListener::StartNext | ( | void | ) | [inline, virtual] |
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 85 of file dca-txop.cc.
References m_txop, and ns3::DcaTxop::StartNext().
Definition at line 93 of file dca-txop.cc.
Referenced by Cancel(), GotAck(), GotCts(), MissedAck(), MissedCts(), and StartNext().