ieee80211_channel_to_frequency(9) convert channel number to frequency

SYNOPSIS

int ieee80211_channel_to_frequency(int chan, enum ieee80211_band band);

ARGUMENTS

chan

channel number

band

band, necessary due to channel number overlap

RETURN

The corresponding frequency (in MHz), or 0 if the conversion failed.

AUTHOR

Johannes Berg <[email protected]>

Author.

COPYRIGHT