wifi: Cleanup unused methods in ChannelAccessManager

This commit is contained in:
Stefano Avallone
2023-12-18 17:22:45 +01:00
committed by Stefano Avallone
parent 0b4ebba006
commit f73e943e6c
2 changed files with 0 additions and 25 deletions

View File

@@ -199,7 +199,6 @@ ChannelAccessManager::ChannelAccessManager()
m_lastRxReceivedOk(true),
m_lastTxEnd(0),
m_lastSwitchingEnd(0),
m_usingOtherEmlsrLink(false),
m_sleeping(false),
m_off(false),
m_linkId(0)
@@ -1132,20 +1131,6 @@ ChannelAccessManager::NotifyCtsTimeoutResetNow()
DoRestartAccessTimeoutIfNeeded();
}
void
ChannelAccessManager::NotifyStartUsingOtherEmlsrLink()
{
NS_LOG_FUNCTION(this);
m_usingOtherEmlsrLink = true;
}
void
ChannelAccessManager::NotifyStopUsingOtherEmlsrLink()
{
NS_LOG_FUNCTION(this);
m_usingOtherEmlsrLink = false;
}
void
ChannelAccessManager::UpdateLastIdlePeriod()
{

View File

@@ -320,15 +320,6 @@ class ChannelAccessManager : public Object
*/
void NotifyCtsTimeoutResetNow();
/**
* Notify that another EMLSR link is being used, hence medium access should be disabled.
*/
void NotifyStartUsingOtherEmlsrLink();
/**
* Notify that another EMLSR link is no longer being used, hence medium access can be resumed.
*/
void NotifyStopUsingOtherEmlsrLink();
/**
* Check if the device is busy sending or receiving,
* or NAV or CCA busy.
@@ -486,7 +477,6 @@ class ChannelAccessManager : public Object
std::map<WifiChannelListType, Timespan>
m_lastIdle; //!< the last idle start and end time for each channel type
Time m_lastSwitchingEnd; //!< the last switching end time
bool m_usingOtherEmlsrLink; //!< whether another EMLSR link is being used
bool m_sleeping; //!< flag whether it is in sleeping state
bool m_off; //!< flag whether it is in off state
Time m_eifsNoDifs; //!< EIFS no DIFS time