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

Go to the source code of this file.

Functions

static double get_RTS_CTS_Time (PIEEE802_11_MAC_VAR mac, PIEEE802_11_PHY_VAR phy)
 
double calculate_RTS_duration (NETSIM_ID txId, NETSIM_ID txIf, NetSim_PACKET *packet)
 
double calculate_CTS_duration (NETSIM_ID d, NETSIM_ID i, double rtsduration)
 
static bool decide_RTS_CTS_Mechanism ()
 
void fn_NetSim_IEEE802_11_RTS_CTS_Init ()
 
void fn_NetSim_IEEE802_11_RTS_CTS_ProcessRTS ()
 
void fn_NetSim_IEEE802_11_RTS_CTS_SendCTS ()
 
void fn_NetSim_IEEE802_11_RTS_CTS_AddCTSTimeOut (NetSim_PACKET *packet, NETSIM_ID devId, NETSIM_ID devIf)
 
void fn_NetSim_IEEE802_11_RTS_CTS_CTSTimeOut ()
 
void fn_NetSim_IEEE802_11_RTS_CTS_ProcessCTS ()
 

Function Documentation

◆ calculate_CTS_duration()

double calculate_CTS_duration ( NETSIM_ID  d,
NETSIM_ID  i,
double  rtsduration 
)

Definition at line 68 of file RTS_CTS.c.

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

◆ calculate_RTS_duration()

double calculate_RTS_duration ( NETSIM_ID  txId,
NETSIM_ID  txIf,
NetSim_PACKET packet 
)

Definition at line 37 of file RTS_CTS.c.

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

◆ decide_RTS_CTS_Mechanism()

static bool decide_RTS_CTS_Mechanism ( )
static

Definition at line 80 of file RTS_CTS.c.

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

◆ fn_NetSim_IEEE802_11_RTS_CTS_AddCTSTimeOut()

void fn_NetSim_IEEE802_11_RTS_CTS_AddCTSTimeOut ( NetSim_PACKET packet,
NETSIM_ID  devId,
NETSIM_ID  devIf 
)

Definition at line 153 of file RTS_CTS.c.

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

◆ fn_NetSim_IEEE802_11_RTS_CTS_CTSTimeOut()

void fn_NetSim_IEEE802_11_RTS_CTS_CTSTimeOut ( )

Definition at line 191 of file RTS_CTS.c.

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

◆ fn_NetSim_IEEE802_11_RTS_CTS_Init()

void fn_NetSim_IEEE802_11_RTS_CTS_Init ( )

Definition at line 98 of file RTS_CTS.c.

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

◆ fn_NetSim_IEEE802_11_RTS_CTS_ProcessCTS()

void fn_NetSim_IEEE802_11_RTS_CTS_ProcessCTS ( )

Definition at line 219 of file RTS_CTS.c.

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

◆ fn_NetSim_IEEE802_11_RTS_CTS_ProcessRTS()

void fn_NetSim_IEEE802_11_RTS_CTS_ProcessRTS ( )

Definition at line 118 of file RTS_CTS.c.

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

◆ fn_NetSim_IEEE802_11_RTS_CTS_SendCTS()

void fn_NetSim_IEEE802_11_RTS_CTS_SendCTS ( )

Definition at line 129 of file RTS_CTS.c.

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

◆ get_RTS_CTS_Time()

static double get_RTS_CTS_Time ( PIEEE802_11_MAC_VAR  mac,
PIEEE802_11_PHY_VAR  phy 
)
static

Definition at line 29 of file RTS_CTS.c.

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