Scroll to navigation

IEEE80211_CHANNEL_TO(9) Utility functions IEEE80211_CHANNEL_TO(9)

NAME

ieee80211_channel_to_frequency - convert channel number to frequency

SYNOPSIS

int ieee80211_channel_to_frequency(int chan, enum nl80211_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.

COPYRIGHT

January 2017 Kernel Hackers Manual 4.8.