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

Go to the source code of this file.

Functions

void fn_NetSim_IEEE802_11ac_OFDM_MIMO_init (NETSIM_ID nDeviceId, NETSIM_ID nInterfaceId)
 
double fn_NetSim_IEEE802_11ac_TxTimeCalculation (NetSim_PACKET *pstruPacket, NETSIM_ID nDevId, NETSIM_ID nInterfaceId)
 
double get_11ac_preamble_time (PIEEE802_11_PHY_VAR phy)
 

Function Documentation

◆ fn_NetSim_IEEE802_11ac_OFDM_MIMO_init()

void fn_NetSim_IEEE802_11ac_OFDM_MIMO_init ( NETSIM_ID  nDeviceId,
NETSIM_ID  nInterfaceId 
)

This function is called to initialize the MIMO and OFDM parameters relevant to IEEE802.11ac. This function is called from the "fn_NetSim_WLAN_PHY_Configuration()" for HT PHY. Initialize time parameters as per the Table 20-5—Timing-related constants 802.11n-2009 pdf also initialize 802.11ac PHY header relevant parameters.

Definition at line 25 of file IEEE802_11ac.c.

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

◆ fn_NetSim_IEEE802_11ac_TxTimeCalculation()

double fn_NetSim_IEEE802_11ac_TxTimeCalculation ( NetSim_PACKET pstruPacket,
NETSIM_ID  nDevId,
NETSIM_ID  nInterfaceId 
)
This function is used to calculate the transmission time. If flag=1, then preamble time is
also taken into consideration. else only the time required to transmit the packetsize
specified will be returned.
For Short GI
TXTIME = TGF_HT_PREAMBLE + THT_SIG + TSYMS * NSYM + SignalExtension
For Regular/ Long GI
TXTIME = TGF_HT_PREAMBLE + THT_SIG + TSYM * NSYM + SignalExtension
TGF_HT_PREAMBLE is the duration of the preamble in HT_greenfield format, given by
TGF_HT_PREAMBLE = THT_GF_STF + THT_ LTF1 + (NLTF – 1)THT_ LTFs
TSYM, TSYMS, THT-SIG, TL-STF, THT-STF, THT-GF-STF, TL-LTF, THT-LTF1 and THT-LTFs defined in Table20-5 Timing-related constants
SignalExtension is 0 microsecs when TXVECTOR parameter NO_SIG_EXTN is TRUE and is the duration of signal extension as defined by aSignalExtension in
Table 20- 4 when TXVECTOR parameter NO_SIG_EXTN is FALSE NLTF is defined in Equation (20-22)
NSYM is the total number of data symbols in the data portion, which may be calculated according to Equation (20-95)
For BCC coding
NSYM = mSTBC * ceil ( (8*length + 16 + 6*NES)/(mSTBC*NDBPS) )
For LDPC
NSYM = Navbits / NCBPS
length is the number of octets in the data portion of the PPDU
mSTBC is equal to 2 when STBC is used, and otherwise 1
NES and NCBPS are defined in Table 20-6
NDBPS is defined in Table 20-28
Navbits is defined in Equation (20-39)
#define TRUE
Definition: Linux.h:77
#define FALSE
Definition: Linux.h:76

Definition at line 140 of file IEEE802_11ac.c.

Here is the call graph for this function:

◆ get_11ac_preamble_time()

double get_11ac_preamble_time ( PIEEE802_11_PHY_VAR  phy)

Definition at line 180 of file IEEE802_11ac.c.

Here is the caller graph for this function: