wifi_channel_to_freq


Description:


public uint32 wifi_channel_to_freq (uint32 channel, string band)

Utility function to translate a Wi-Fi channel to its corresponding frequency.

Parameters:

channel

channel

band

frequency band for wireless ("a" or "bg")

Returns:

the frequency represented by the channel of the band, or -1 when the freq is invalid, or 0 when the band is invalid


Namespace: NM.Utils
Package: libnm-util



2022 vala-language.org