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

Go to the source code of this file.

Functions

int fn_NetSim_IEEE802_11_Configure_F (void **var)
 
int fn_NetSim_IEEE802_11_Init_F (struct stru_NetSim_Network *NETWORK_Formal, NetSim_EVENTDETAILS *pstruEventDetails_Formal, char *pszAppPath_Formal, char *pszWritePath_Formal, int nVersion_Type)
 
int fn_NetSim_IEEE802_11_Metrics_F (PMETRICSWRITER metricsWriter)
 
void print_minstrel_table (PMETRICSWRITER metricsWriter)
 
int fn_NetSim_IEEE802_11_Configure (void **var)
 
int fn_NetSim_IEEE802_11_Init (struct stru_NetSim_Network *NETWORK_Formal, NetSim_EVENTDETAILS *pstruEventDetails_Formal, char *pszAppPath_Formal, char *pszWritePath_Formal, int nVersion_Type)
 
int fn_NetSim_IEEE802_11_Run ()
 
char * fn_NetSim_IEEE802_11_Trace (int nSubEvent)
 
int fn_NetSim_IEEE802_11_FreePacket (NetSim_PACKET *pstruPacket)
 
int fn_NetSim_IEEE802_11_CopyPacket (NetSim_PACKET *pstruDestPacket, NetSim_PACKET *pstruSrcPacket)
 
int fn_NetSim_IEEE802_11_Metrics (PMETRICSWRITER metricsWriter)
 
char * fn_NetSim_IEEE802_11_ConfigPacketTrace (const void *xmlNetSimNode)
 
int fn_NetSim_IEEE802_11_WritePacketTrace (NetSim_PACKET *pstruPacket, char **ppszTrace)
 
int fn_NetSim_IEEE802_11_Finish ()
 
void fn_NetSim_IEEE802_11_Timer ()
 
bool isIEEE802_11_log ()
 
bool isieee802_11_Backoff_log ()
 

Function Documentation

◆ fn_NetSim_IEEE802_11_ConfigPacketTrace()

char * fn_NetSim_IEEE802_11_ConfigPacketTrace ( const void *  xmlNetSimNode)

This function is to configure the WLAN protocol packet trace parameter. This function return a string which has the parameters separated by comma.

Definition at line 126 of file IEEE802_11.c.

◆ fn_NetSim_IEEE802_11_Configure()

int fn_NetSim_IEEE802_11_Configure ( void **  var)

Definition at line 38 of file IEEE802_11.c.

Here is the call graph for this function:

◆ fn_NetSim_IEEE802_11_Configure_F()

int fn_NetSim_IEEE802_11_Configure_F ( void **  var)
Here is the caller graph for this function:

◆ fn_NetSim_IEEE802_11_CopyPacket()

int fn_NetSim_IEEE802_11_CopyPacket ( NetSim_PACKET pstruDestPacket,
NetSim_PACKET pstruSrcPacket 
)

This function is called by NetworkStack.dll, to copy the WLAN protocol pstruMacData->Packet_MACProtocol from source packet to destination.

Definition at line 105 of file IEEE802_11.c.

Here is the call graph for this function:

◆ fn_NetSim_IEEE802_11_Finish()

int fn_NetSim_IEEE802_11_Finish ( )

This function is called by NetworkStack.dll, once simulation end to free the allocated memory for the network.

Definition at line 147 of file IEEE802_11.c.

Here is the call graph for this function:

◆ fn_NetSim_IEEE802_11_FreePacket()

int fn_NetSim_IEEE802_11_FreePacket ( NetSim_PACKET pstruPacket)

This function is called by NetworkStack.dll, to free the WLAN protocol pstruMacData->Packet_MACProtocol.

Definition at line 94 of file IEEE802_11.c.

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

◆ fn_NetSim_IEEE802_11_Init()

int fn_NetSim_IEEE802_11_Init ( struct stru_NetSim_Network NETWORK_Formal,
NetSim_EVENTDETAILS pstruEventDetails_Formal,
char *  pszAppPath_Formal,
char *  pszWritePath_Formal,
int  nVersion_Type 
)

Definition at line 43 of file IEEE802_11.c.

Here is the call graph for this function:

◆ fn_NetSim_IEEE802_11_Init_F()

int fn_NetSim_IEEE802_11_Init_F ( struct stru_NetSim_Network NETWORK_Formal,
NetSim_EVENTDETAILS pstruEventDetails_Formal,
char *  pszAppPath_Formal,
char *  pszWritePath_Formal,
int  nVersion_Type 
)
Here is the caller graph for this function:

◆ fn_NetSim_IEEE802_11_Metrics()

int fn_NetSim_IEEE802_11_Metrics ( PMETRICSWRITER  metricsWriter)

This function call WLAN Metrics function in lib file to write the Metrics in Metrics.txt

Definition at line 115 of file IEEE802_11.c.

Here is the call graph for this function:

◆ fn_NetSim_IEEE802_11_Metrics_F()

int fn_NetSim_IEEE802_11_Metrics_F ( PMETRICSWRITER  metricsWriter)
Here is the caller graph for this function:

◆ fn_NetSim_IEEE802_11_Run()

int fn_NetSim_IEEE802_11_Run ( )

Definition at line 55 of file IEEE802_11.c.

Here is the call graph for this function:

◆ fn_NetSim_IEEE802_11_Timer()

void fn_NetSim_IEEE802_11_Timer ( )

Definition at line 152 of file IEEE802_11.c.

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

◆ fn_NetSim_IEEE802_11_Trace()

char * fn_NetSim_IEEE802_11_Trace ( int  nSubEvent)

This function is called by NetworkStack.dll, while writing the event trace to get the sub event as a string.

Definition at line 85 of file IEEE802_11.c.

◆ fn_NetSim_IEEE802_11_WritePacketTrace()

int fn_NetSim_IEEE802_11_WritePacketTrace ( NetSim_PACKET pstruPacket,
char **  ppszTrace 
)

This function is called while writing the Packet trace for WLAN protocol. This function is called for every packet while writing the packet trace.

Definition at line 136 of file IEEE802_11.c.

◆ isieee802_11_Backoff_log()

bool isieee802_11_Backoff_log ( )

Definition at line 178 of file IEEE802_11.c.

◆ isIEEE802_11_log()

bool isIEEE802_11_log ( )

Definition at line 169 of file IEEE802_11.c.

◆ print_minstrel_table()

void print_minstrel_table ( PMETRICSWRITER  metricsWriter)

Definition at line 775 of file Minstrel.c.

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