WiFi Framework C++ Edition

◆ FrequencyToChannel()

static unsigned char FrequencyToChannel ( const unsigned long  Frequency)
static

The method converts given central frequency to the WLAN channel number.

Parameters
FrequencyThe central frequency.
Returns
If the Frequency if a valid central frequency the method returns the channel number. If the central frequency is invalid or unknown the method returns 0.