IEEE80211_CHANNEL_TO(9) Utility functions IEEE80211_CHANNEL_TO(9)NAMEieee80211_channel_to_frequency - 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 <johannes@sipsolutions.net>
Author.
COPYRIGHTKernel Hackers Manual 3.11 November 2013 IEEE80211_CHANNEL_TO(9)