wifi: Remove unused function to notify Block Agreement is established at originator side

This commit is contained in:
Sébastien Deronne
2023-10-19 21:50:48 +02:00
parent 932cfdc464
commit 13954e5252
2 changed files with 0 additions and 30 deletions

View File

@@ -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)
{

View File

@@ -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.