Tid independent remote station statistics. More...
#include <wifi-remote-station-manager.h>
Collaboration diagram for ns3::WifiRemoteStationInfo:Public Member Functions | |
| WifiRemoteStationInfo () | |
| double | GetFrameErrorRate () const |
| Return frame error rate (probability that frame is corrupted due to transmission error). More... | |
| void | NotifyTxFailed () |
| Updates average frame error rate when final data or RTS has failed. More... | |
| void | NotifyTxSuccess (uint32_t retryCounter) |
| Updates average frame error rate when data or RTS was transmitted successfully. More... | |
Private Member Functions | |
| double | CalculateAveragingCoefficient () |
| Calculate averaging coefficient for frame error rate. More... | |
Private Attributes | |
| double | m_failAvg |
| moving percentage of failed frames More... | |
| Time | m_lastUpdate |
| when last update has occured More... | |
| Time | m_memoryTime |
| averaging coefficient depends on the memory time More... | |
Tid independent remote station statistics.
Structure is similar to struct sta_info in Linux kernel (see net/mac80211/sta_info.h)
Definition at line 47 of file wifi-remote-station-manager.h.
| ns3::WifiRemoteStationInfo::WifiRemoteStationInfo | ( | ) |
Definition at line 1392 of file wifi-remote-station-manager.cc.
|
private |
Calculate averaging coefficient for frame error rate.
Depends on time of the last update.
Definition at line 1400 of file wifi-remote-station-manager.cc.
References ns3::Time::GetMicroSeconds(), m_lastUpdate, m_memoryTime, and ns3::Simulator::Now().
Referenced by NotifyTxFailed(), and NotifyTxSuccess().
Here is the call graph for this function:
Here is the caller graph for this function:| double ns3::WifiRemoteStationInfo::GetFrameErrorRate | ( | ) | const |
Return frame error rate (probability that frame is corrupted due to transmission error).
Definition at line 1423 of file wifi-remote-station-manager.cc.
References m_failAvg.
| void ns3::WifiRemoteStationInfo::NotifyTxFailed | ( | ) |
Updates average frame error rate when final data or RTS has failed.
Definition at line 1416 of file wifi-remote-station-manager.cc.
References CalculateAveragingCoefficient(), and m_failAvg.
Here is the call graph for this function:| void ns3::WifiRemoteStationInfo::NotifyTxSuccess | ( | uint32_t | retryCounter | ) |
Updates average frame error rate when data or RTS was transmitted successfully.
| retryCounter | is slrc or ssrc value at the moment of success transmission. |
Definition at line 1409 of file wifi-remote-station-manager.cc.
References CalculateAveragingCoefficient(), and m_failAvg.
Here is the call graph for this function:
|
private |
moving percentage of failed frames
Definition at line 76 of file wifi-remote-station-manager.h.
Referenced by GetFrameErrorRate(), NotifyTxFailed(), and NotifyTxSuccess().
|
private |
when last update has occured
Definition at line 74 of file wifi-remote-station-manager.h.
Referenced by CalculateAveragingCoefficient().
|
private |
averaging coefficient depends on the memory time
Definition at line 72 of file wifi-remote-station-manager.h.
Referenced by CalculateAveragingCoefficient().