Name

ieee80211_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.