|
|
| 861 |
{ |
861 |
{ |
| 862 |
//The standard says the BAR gets discarded when all MSDUs lifetime expires |
862 |
//The standard says the BAR gets discarded when all MSDUs lifetime expires |
| 863 |
AgreementsI it = m_agreements.find (std::make_pair (recipient, tid)); |
863 |
AgreementsI it = m_agreements.find (std::make_pair (recipient, tid)); |
| 864 |
NS_ASSERT (it != m_agreements.end ()); |
864 |
if (it == m_agreements.end ()) { |
|
|
865 |
return false; |
| 866 |
} |
| 865 |
CleanupBuffers (); |
867 |
CleanupBuffers (); |
| 866 |
if ((seqNumber + 63) < it->second.first.GetStartingSequence ()) |
868 |
if ((seqNumber + 63) < it->second.first.GetStartingSequence ()) |
| 867 |
{ |
869 |
{ |