Bug 1616 - WifiPhyStateHelper reports false CCA_BUSY times at State trace source
This commit is contained in:
@@ -27,6 +27,7 @@ New user-visible features
|
||||
Bugs fixed
|
||||
----------
|
||||
- Bug 1722 - beacons transmitted concurrently
|
||||
- Bug 1616 - WifiPhyStateHelper reports false CCA_BUSY times at State trace source
|
||||
|
||||
Release 3.18
|
||||
=============
|
||||
|
||||
@@ -420,7 +420,10 @@ WifiPhyStateHelper::SwitchMaybeToCcaBusy (Time duration)
|
||||
case WifiPhy::TX:
|
||||
break;
|
||||
}
|
||||
m_startCcaBusy = now;
|
||||
if (GetState () != WifiPhy::CCA_BUSY)
|
||||
{
|
||||
m_startCcaBusy = now;
|
||||
}
|
||||
m_endCcaBusy = std::max (m_endCcaBusy, now + duration);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user