Applicable Versions
NetSim StandardNetSim Pro


Applicable Releases
v11.0v12
v13


The API to calculate SNR in IEEE802.11 module can be found in ErrorModel.h file. 

This file is included in the various header files of IEEE802.11 project.

To open this file for viewing you can right-click on ErrorModel.h and select Open Document as shown below:


calculate_snr(double dReceivedPower_dbm, double bandwidth_mHz);

is the API to calculate SNR in 802.11 Which takes the received power in dBm and bandwidth in MHz as inputs.

For Example, 

calculate_snr(pdbm, phy->dChannelBandwidth);

Related articles:

https://support.tetcos.com/en/support/solutions/articles/14000095868-how-can-i-get-plots-for-snr-in-netsim-