NetSim Source Code Help
Loading...
Searching...
No Matches
Generic_RateAdaptation.c File Reference
#include "main.h"
#include "IEEE802_11.h"
#include "IEEE802_11_Phy.h"
Include dependency graph for Generic_RateAdaptation.c:

Go to the source code of this file.

Data Structures

struct  GENERIC_RATE_ADAPTATION
 

Macros

#define RATE_UP_INDEX   19
 
#define RATE_DOWN_INDEX   3
 

Typedefs

typedef struct GENERIC_RATE_ADAPTATIONPGENERIC_RATE_ADAPTATION
 

Functions

static PGENERIC_RATE_ADAPTATION get_rate_adaptation_data (NETSIM_ID devid, NETSIM_ID ifid)
 
static void set_rate_adaptation_data (NETSIM_ID devid, NETSIM_ID ifid, PGENERIC_RATE_ADAPTATION rate)
 
void free_rate_adaptation_data (PIEEE802_11_PHY_VAR phy)
 
unsigned int get_max_phy_index (NETSIM_ID devid, NETSIM_ID ifid)
 
static unsigned int get_min_phy_index (NETSIM_ID devid, NETSIM_ID ifid)
 
void Generic_Rate_adaptation_init (NETSIM_ID nDevId, NETSIM_ID nifid)
 
void packet_drop_notify (NETSIM_ID devid, NETSIM_ID ifid, NETSIM_ID rcvid)
 
void packet_recv_notify (NETSIM_ID devid, NETSIM_ID ifid, NETSIM_ID rcvid)
 
unsigned int get_rate_index (NETSIM_ID devid, NETSIM_ID ifid, NETSIM_ID rcvid)
 

Macro Definition Documentation

◆ RATE_DOWN_INDEX

#define RATE_DOWN_INDEX   3

Definition at line 29 of file Generic_RateAdaptation.c.

◆ RATE_UP_INDEX

#define RATE_UP_INDEX   19

Definition at line 28 of file Generic_RateAdaptation.c.

Typedef Documentation

◆ PGENERIC_RATE_ADAPTATION

Function Documentation

◆ free_rate_adaptation_data()

void free_rate_adaptation_data ( PIEEE802_11_PHY_VAR  phy)

Definition at line 49 of file Generic_RateAdaptation.c.

◆ Generic_Rate_adaptation_init()

void Generic_Rate_adaptation_init ( NETSIM_ID  nDevId,
NETSIM_ID  nifid 
)

Definition at line 102 of file Generic_RateAdaptation.c.

Here is the call graph for this function:

◆ get_max_phy_index()

unsigned int get_max_phy_index ( NETSIM_ID  devid,
NETSIM_ID  ifid 
)

Definition at line 62 of file Generic_RateAdaptation.c.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ get_min_phy_index()

static unsigned int get_min_phy_index ( NETSIM_ID  devid,
NETSIM_ID  ifid 
)
static

Definition at line 82 of file Generic_RateAdaptation.c.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ get_rate_adaptation_data()

static PGENERIC_RATE_ADAPTATION get_rate_adaptation_data ( NETSIM_ID  devid,
NETSIM_ID  ifid 
)
static

Definition at line 39 of file Generic_RateAdaptation.c.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ get_rate_index()

unsigned int get_rate_index ( NETSIM_ID  devid,
NETSIM_ID  ifid,
NETSIM_ID  rcvid 
)

Definition at line 149 of file Generic_RateAdaptation.c.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ packet_drop_notify()

void packet_drop_notify ( NETSIM_ID  devid,
NETSIM_ID  ifid,
NETSIM_ID  rcvid 
)

Definition at line 118 of file Generic_RateAdaptation.c.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ packet_recv_notify()

void packet_recv_notify ( NETSIM_ID  devid,
NETSIM_ID  ifid,
NETSIM_ID  rcvid 
)

Definition at line 134 of file Generic_RateAdaptation.c.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ set_rate_adaptation_data()

static void set_rate_adaptation_data ( NETSIM_ID  devid,
NETSIM_ID  ifid,
PGENERIC_RATE_ADAPTATION  rate 
)
static

Definition at line 44 of file Generic_RateAdaptation.c.

Here is the call graph for this function:
Here is the caller graph for this function: