niWLANG_ChannelNumberToCarrierFrequency80211ac

NI WLAN Generation Toolkit 18.0 Help

Edition Date: October 2018

Part Number: 373725J-01

»View Product Info
Download Help (Windows Only)

int32 __stdcall niWLANG_ChannelNumberToCarrierFrequency80211ac (float64 channelStartingFrequency, int32 channelNumber, float64 *carrierFrequency);

Purpose

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

Parameters

Input
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 above the starting frequency of the channel. This value is expressed in increments of 5 MHz.
Output
Name Type Description
carrierFrequency float64* Returns the carrier frequency. This value is expressed in Hz.

The function calculates the carrier frequency using the following equation:

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

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 the function to determine if an error occurred.

To obtain a text description of the status code, call the niWLANG_GetErrorString function.

The general meaning of the status code is as follows:

Value Meaning
0 Success
Positive Values Warnings
Negative Values Errors

WAS THIS ARTICLE HELPFUL?

Not Helpful