static struct stru_802_11_Phy_Parameters_HT a
static double CalculateEwmsd(double oldEwmsd, double currentProb, double ewmaProb, double ewmaWeight)
static void UpdateRate(Ptr_MinstrelHtPerRemoteStation station)
static void CheckInit(Ptr_MinstrelHtPerRemoteStation station, NETSIM_ID devid, NETSIM_ID ifid)
static UINT CountRetries(Ptr_MinstrelHtPerRemoteStation station)
void Ht_InitMinstrel(NETSIM_ID nDevId, NETSIM_ID nifid)
static UINT GetLowestIndex(Ptr_MinstrelHtPerRemoteStation station)
static void SetStationThRate(Ptr_MinstrelHtPerRemoteStation station)
static UINT GetNextSample(Ptr_MinstrelHtPerRemoteStation station)
struct stru_HtPerRemoteStation MinstrelHtPerRemoteStation
struct stru_HtRateInfo * Ptr_HtRateInfo
struct stru_HtPerRemoteStation * Ptr_MinstrelHtPerRemoteStation
struct stru_MinstrelHtWifiStation MinstrelHtWifiStation
static void SetNextSample(Ptr_MinstrelHtPerRemoteStation station)
static double CalculateThroughput(Ptr_MinstrelHtPerRemoteStation station, UINT grpId, UINT rateId)
struct stru_GroupInfo GroupInfo
static void UpdateStats(Ptr_MinstrelHtPerRemoteStation station)
struct stru_GroupInfo * Ptr_GroupInfo
static void InitGroupTable(Ptr_MinstrelHtPerRemoteStation station)
struct stru_HtRateInfo HtRateInfo
static UINT FindRate(Ptr_MinstrelHtPerRemoteStation station)
struct stru_MinstrelHtWifiStation * Ptr_MinstrelHtWifiStation
static void CalculateRetransmits(Ptr_MinstrelHtPerRemoteStation station, UINT index)
static void InitSampleTable(Ptr_MinstrelHtPerRemoteStation station)
struct stru_McsGroup McsGroup
static UINT GetHighestIndex(Ptr_MinstrelHtPerRemoteStation station)
static void UpdateRetry(Ptr_MinstrelHtPerRemoteStation station)
static void SetStationProbRate(Ptr_MinstrelHtPerRemoteStation station)
static void UpdatePacketCounter(Ptr_MinstrelHtPerRemoteStation station, UINT success, UINT failed)
double ht_updateStatsTime
enum enum_Modulation PHY_MODULATION
Data structure for physical layer parameters.
PHY_MODULATION nModulation
double avgAmpduLen
Average number of MPDUs in an A-MPDU.
NETSIM_ID remoteStationId
UINT sampleCount
Max number of samples per update interval.
UINT sampleWait
How many transmission attempts to wait until a new sample.
UINT ampduPacketCount
Number of A-MPDUs transmitted since last update.
NETSIM_ID stationInterface
double ampduLen
Number of MPDUs tried since last update.
UINT sampleTries
Number of sample tries after waiting sampleWait.
UINT sampleSlow
Number of times a slow rate was sampled.
UINT sampleGroup
The group that the sample rate belongs to.
Ptr_GroupInfo groupTable
Table of groups with stats.
BOOL supported
If the rate is supported.
double throughput
Throughput of this rate (in pkts per second).
UINT adjustedRetryCount
Adjust the retry limit for this rate.
UINT retryCount
Retry limit.
double prob
Current probability within last time interval. (# frame success )/(# total frames)
double ewmsdProb
Exponential weighted moving standard deviation of probability.
BOOL retryUpdated
If number of retries was updated already.
Ptr_MinstrelHtPerRemoteStation * minstrelHtInfo