ieee80211_channel_to_frequency
Prev | Chapter 4. Utility functions | Next

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

Prev | Up | Next
Chapter 4. Utility functions | Home | ieee80211_frequency_to_channel