NI WLAN Analysis Toolkit 18.0 Help

Edition Date: October 2018

Part Number: 373724K-01

»View Product Info
Download Help (Windows Only)

int32 __stdcall niWLANA_ChannelNumberToCarrierFrequency80211ac (int32 frequencyBand, float64 channelBandwidth, int32 channelNumber, int32 secondaryFactor, float64 channelStartingFactor, float64 *carrierFrequency);


Calculates the carrier frequency of the 802.11ac channels according to section 22.3.14 of IEEE Std 802.11ac-2013.


Name Type Description
channelStartingFrequency float64 Specifies the start frequency of the frequency band. This value is expressed in Hz.
channelNumber int32

Specifies the offset of the center frequency, in increments of 5 MHz, above the starting frequency of the channel.

Name Type Description
carrierFrequency float64* Returns the carrier frequency.

The function calculates the carrier frequency using the following formula:

Carrier frequency (Hz) = channel starting frequency (Hz) + (channel number * 5 MHz)

This value is expressed in Hz.

Return Value

Name Type Description
status int32 Returns the status code of this operation. The status code either indicates success or describes an error or warning condition. Examine the status code from each call to an niWLAN function to determine if an error has occurred.

To obtain a text description of the status code and additional information about the error condition, call the niWLANA_GetErrorString function.

The general meaning of the status code is as follows:

Value Meaning
0 Success
Positive Values Warnings
Negative Values Errors


Not Helpful