Bug 2034 - [lr-wpan] CSMA-CA BackoffPeriod is too short
This commit is contained in:
@@ -35,6 +35,7 @@ Bugs fixed
|
||||
- Bug 1974 - CalculateTxTime should return a Time, not a double
|
||||
- Bug 1982 - AODV and mesh use random variables before seed can be set
|
||||
- Bug 2025 - (lr-wpan) Changing the channel doesn't affect the Tx params
|
||||
- Bug 2034 - (lr-wpan) CSMA-CA BackoffPeriod is too short
|
||||
- Bug 2070 - Wrong report of Packets and Bytes stored in CoDeL
|
||||
- Bug 2073 - NDisc cache entries update timer might be stuck in a loop
|
||||
- Bug 2076 - TCP MinRTO Attribute is not actually used
|
||||
|
||||
@@ -240,7 +240,7 @@ LrWpanCsmaCa::RandomBackoffDelay ()
|
||||
|
||||
|
||||
symbolRate = (uint64_t) m_mac->GetPhy ()->GetDataOrSymbolRate (isData); //symbols per second
|
||||
backoffPeriod = (uint64_t)m_random->GetValue (0, upperBound); //num backoff periods
|
||||
backoffPeriod = (uint64_t)m_random->GetValue (0, upperBound+1); // num backoff periods
|
||||
randomBackoff = MicroSeconds (backoffPeriod * GetUnitBackoffPeriod () * 1000 * 1000 / symbolRate);
|
||||
|
||||
if (IsUnSlottedCsmaCa ())
|
||||
|
||||
Reference in New Issue
Block a user