wifi: remove unused BlockAckManager::m_maxDelay

This commit is contained in:
Alexander Krotov
2019-06-14 19:23:35 +03:00
parent 92929a919f
commit c2a5175b90
3 changed files with 0 additions and 16 deletions

View File

@@ -817,13 +817,6 @@ BlockAckManager::SetStartingSequence (Mac48Address recipient, uint8_t tid, uint1
agreementIt->second.first.SetStartingSequence (startingSeq);
}
void
BlockAckManager::SetMaxPacketDelay (Time maxDelay)
{
NS_LOG_FUNCTION (this << maxDelay);
m_maxDelay = maxDelay;
}
void
BlockAckManager::SetBlockAckInactivityCallback (Callback<void, Mac48Address, uint8_t, bool> callback)
{

View File

@@ -304,13 +304,6 @@ public:
* See ctrl-headers.h for more details.
*/
void SetBlockAckType (BlockAckType bAckType);
/**
* \param maxDelay Max delay for a buffered packet.
*
* This method is always called by ns3::WifiMacQueue object and sets max delay equals
* to ns3:WifiMacQueue delay value.
*/
void SetMaxPacketDelay (Time maxDelay);
/**
* Set block ack inactivity callback
@@ -523,7 +516,6 @@ private:
uint8_t m_blockAckThreshold; ///< block ack threshold
BlockAckType m_blockAckType; ///< block ack type
Time m_maxDelay; ///< maximum delay
Ptr<MacTxMiddle> m_txMiddle; ///< the MacTxMiddle
Mac48Address m_address; ///< address
Ptr<WifiMacQueue> m_queue; ///< queue

View File

@@ -103,7 +103,6 @@ QosTxop::QosTxop ()
m_baManager->SetBlockAckType (m_blockAckType);
m_baManager->SetBlockDestinationCallback (MakeCallback (&QosBlockedDestinations::Block, m_qosBlockedDestinations));
m_baManager->SetUnblockDestinationCallback (MakeCallback (&QosBlockedDestinations::Unblock, m_qosBlockedDestinations));
m_baManager->SetMaxPacketDelay (m_queue->GetMaxDelay ());
m_baManager->SetTxOkCallback (MakeCallback (&QosTxop::BaTxOk, this));
m_baManager->SetTxFailedCallback (MakeCallback (&QosTxop::BaTxFailed, this));
}