|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.
|channelStartingFrequency||float64||Specifies the start frequency of the frequency band. This value is expressed in Hz.|
Specifies the offset of the center frequency, in increments of 5 MHz, above the starting frequency of the channel.
|carrierFrequency||float64*||Returns the carrier frequency.
The function calculates the carrier frequency using the following formula:
|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: