NetSim Source Code Help
Loading...
Searching...
No Matches
Minstrel_ht.h File Reference
#include "IEEE802_11_Phy.h"
Include dependency graph for Minstrel_ht.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Data Structures

struct  stru_802_11_Phy_Parameters_HT
 Data structure for physical layer parameters. More...
 
struct  stru_McsGroup
 
struct  stru_HtRateInfo
 
struct  stru_GroupInfo
 
struct  stru_HtPerRemoteStation
 
struct  stru_MinstrelHtWifiStation
 

Typedefs

typedef struct stru_HtRateInfo HtRateInfo
 
typedef struct stru_HtRateInfoPtr_HtRateInfo
 
typedef struct stru_GroupInfo GroupInfo
 
typedef struct stru_GroupInfoPtr_GroupInfo
 
typedef struct stru_HtPerRemoteStation MinstrelHtPerRemoteStation
 
typedef struct stru_HtPerRemoteStationPtr_MinstrelHtPerRemoteStation
 
typedef struct stru_MinstrelHtWifiStation MinstrelHtWifiStation
 
typedef struct stru_MinstrelHtWifiStationPtr_MinstrelHtWifiStation
 

Functions

void Ht_InitMinstrel (NETSIM_ID nDevId, NETSIM_ID nifid)
 
static void CheckInit (Ptr_MinstrelHtPerRemoteStation station, NETSIM_ID devid, NETSIM_ID ifid)
 
static void InitSampleTable (Ptr_MinstrelHtPerRemoteStation station)
 
static void InitGroupTable (Ptr_MinstrelHtPerRemoteStation station)
 
static void UpdatePacketCounter (Ptr_MinstrelHtPerRemoteStation station, UINT success, UINT failed)
 
static void UpdateRetry (Ptr_MinstrelHtPerRemoteStation station)
 
static void UpdateStats (Ptr_MinstrelHtPerRemoteStation station)
 
static void UpdateRate (Ptr_MinstrelHtPerRemoteStation station)
 
static UINT FindRate (Ptr_MinstrelHtPerRemoteStation station)
 
static void SetStationThRate (Ptr_MinstrelHtPerRemoteStation station)
 
static void SetStationProbRate (Ptr_MinstrelHtPerRemoteStation station)
 
static UINT GetNextSample (Ptr_MinstrelHtPerRemoteStation station)
 
static void SetNextSample (Ptr_MinstrelHtPerRemoteStation station)
 
static double CalculateEwmsd (double oldEwmsd, double currentProb, double ewmaProb, double ewmaWeight)
 
static double CalculateThroughput (Ptr_MinstrelHtPerRemoteStation station, UINT grpId, UINT rateId)
 
static void CalculateRetransmits (Ptr_MinstrelHtPerRemoteStation station, UINT index)
 
static UINT CountRetries (Ptr_MinstrelHtPerRemoteStation station)
 
static UINT GetLowestIndex (Ptr_MinstrelHtPerRemoteStation station)
 
static UINT GetHighestIndex (Ptr_MinstrelHtPerRemoteStation station)
 

Variables

static struct stru_802_11_Phy_Parameters_HT a
 
struct stru_McsGroup McsGroup
 
double ht_updateStatsTime
 
double ht_lookAroundRate
 
double ht_ewmaWeight
 
UINT ht_sampleCol
 

Typedef Documentation

◆ GroupInfo

typedef struct stru_GroupInfo GroupInfo

◆ HtRateInfo

typedef struct stru_HtRateInfo HtRateInfo

◆ MinstrelHtPerRemoteStation

◆ MinstrelHtWifiStation

◆ Ptr_GroupInfo

typedef struct stru_GroupInfo* Ptr_GroupInfo

◆ Ptr_HtRateInfo

◆ Ptr_MinstrelHtPerRemoteStation

◆ Ptr_MinstrelHtWifiStation

Function Documentation

◆ CalculateEwmsd()

static double CalculateEwmsd ( double  oldEwmsd,
double  currentProb,
double  ewmaProb,
double  ewmaWeight 
)
static

◆ CalculateRetransmits()

static void CalculateRetransmits ( Ptr_MinstrelHtPerRemoteStation  station,
UINT  index 
)
static

◆ CalculateThroughput()

static double CalculateThroughput ( Ptr_MinstrelHtPerRemoteStation  station,
UINT  grpId,
UINT  rateId 
)
static

◆ CheckInit()

static void CheckInit ( Ptr_MinstrelHtPerRemoteStation  station,
NETSIM_ID  devid,
NETSIM_ID  ifid 
)
static

◆ CountRetries()

static UINT CountRetries ( Ptr_MinstrelHtPerRemoteStation  station)
static

◆ FindRate()

static UINT FindRate ( Ptr_MinstrelHtPerRemoteStation  station)
static

◆ GetHighestIndex()

static UINT GetHighestIndex ( Ptr_MinstrelHtPerRemoteStation  station)
static

◆ GetLowestIndex()

static UINT GetLowestIndex ( Ptr_MinstrelHtPerRemoteStation  station)
static

◆ GetNextSample()

static UINT GetNextSample ( Ptr_MinstrelHtPerRemoteStation  station)
static

◆ Ht_InitMinstrel()

void Ht_InitMinstrel ( NETSIM_ID  nDevId,
NETSIM_ID  nifid 
)

Definition at line 40 of file Minstrel_ht.c.

◆ InitGroupTable()

static void InitGroupTable ( Ptr_MinstrelHtPerRemoteStation  station)
static

◆ InitSampleTable()

static void InitSampleTable ( Ptr_MinstrelHtPerRemoteStation  station)
static

◆ SetNextSample()

static void SetNextSample ( Ptr_MinstrelHtPerRemoteStation  station)
static

◆ SetStationProbRate()

static void SetStationProbRate ( Ptr_MinstrelHtPerRemoteStation  station)
static

◆ SetStationThRate()

static void SetStationThRate ( Ptr_MinstrelHtPerRemoteStation  station)
static

◆ UpdatePacketCounter()

static void UpdatePacketCounter ( Ptr_MinstrelHtPerRemoteStation  station,
UINT  success,
UINT  failed 
)
static

◆ UpdateRate()

static void UpdateRate ( Ptr_MinstrelHtPerRemoteStation  station)
static

◆ UpdateRetry()

static void UpdateRetry ( Ptr_MinstrelHtPerRemoteStation  station)
static

◆ UpdateStats()

static void UpdateStats ( Ptr_MinstrelHtPerRemoteStation  station)
static

Variable Documentation

◆ a

◆ ht_ewmaWeight

double ht_ewmaWeight

Definition at line 144 of file Minstrel_ht.h.

◆ ht_lookAroundRate

double ht_lookAroundRate

Definition at line 143 of file Minstrel_ht.h.

◆ ht_sampleCol

UINT ht_sampleCol

Definition at line 145 of file Minstrel_ht.h.

◆ ht_updateStatsTime

double ht_updateStatsTime

Definition at line 142 of file Minstrel_ht.h.

◆ McsGroup

struct stru_McsGroup McsGroup