Tid independent remote station statistics. More...
#include <wifi-remote-station-manager.h>
Public Member Functions | |
| double | GetFrameErrorRate () const |
| Returns frame error rate (probability that frame is corrupted due to transmission error). | |
| void | NotifyTxFailed () |
| Updates average frame error rate when final data or RTS has failed. | |
| 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. Depends on time of the last update. More... | |
Private Attributes | |
| double | m_failAvg |
| moving percentage of failed frames | |
| Time | m_lastUpdate |
| when last update has occured | |
| Time | m_memoryTime |
| averaging coefficient depends on the memory time | |
Tid independent remote station statistics.
Structure is similar to struct sta_info in Linux kernel (see net/mac80211/sta_info.h)
Definition at line 45 of file wifi-remote-station-manager.h.
|
private |
Calculate averaging coefficient for frame error rate. Depends on time of the last update.
Definition at line 870 of file wifi-remote-station-manager.cc.
References ns3::Time::GetMicroSeconds(), m_lastUpdate, m_memoryTime, and ns3::Simulator::Now().
Referenced by NotifyTxFailed(), and NotifyTxSuccess().
| 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 879 of file wifi-remote-station-manager.cc.
References CalculateAveragingCoefficient(), and m_failAvg.