diff --git a/src/wifi/model/block-ack-manager.cc b/src/wifi/model/block-ack-manager.cc index c24b39553..266514b7c 100644 --- a/src/wifi/model/block-ack-manager.cc +++ b/src/wifi/model/block-ack-manager.cc @@ -705,25 +705,6 @@ BlockAckManager::InactivityTimeout(const Mac48Address& recipient, uint8_t tid) m_blockAckInactivityTimeout(recipient, tid, true); } -void -BlockAckManager::NotifyOriginatorAgreementEstablished(const Mac48Address& recipient, - uint8_t tid, - uint16_t startingSeq) -{ - NS_LOG_FUNCTION(this << recipient << +tid << startingSeq); - auto it = m_originatorAgreements.find({recipient, tid}); - NS_ASSERT(it != m_originatorAgreements.end()); - if (!it->second.first.IsEstablished()) - { - m_originatorAgreementState(Simulator::Now(), - recipient, - tid, - OriginatorBlockAckAgreement::ESTABLISHED); - } - it->second.first.SetState(OriginatorBlockAckAgreement::ESTABLISHED); - it->second.first.SetStartingSequence(startingSeq); -} - void BlockAckManager::NotifyOriginatorAgreementRejected(const Mac48Address& recipient, uint8_t tid) { diff --git a/src/wifi/model/block-ack-manager.h b/src/wifi/model/block-ack-manager.h index 4af851db2..5de6628b1 100644 --- a/src/wifi/model/block-ack-manager.h +++ b/src/wifi/model/block-ack-manager.h @@ -233,17 +233,6 @@ class BlockAckManager : public Object * the number of buffered MPDUs but the number of buffered MSDUs. */ uint32_t GetNBufferedPackets(const Mac48Address& recipient, uint8_t tid) const; - /** - * @param recipient Address of peer station involved in block ack mechanism. - * @param tid Traffic ID of transmitted packet. - * @param startingSeq starting sequence field - * - * Puts corresponding originator agreement in established state and updates number of packets - * and starting sequence field. Invoked typically after a block ack refresh. - */ - void NotifyOriginatorAgreementEstablished(const Mac48Address& recipient, - uint8_t tid, - uint16_t startingSeq); /** * @param recipient Address of peer station involved in block ack mechanism. * @param tid Traffic ID of transmitted packet.