---
name: "ieee80211_channel_to_frequency"
section: "9"
platform: "linux"
package: "linux-manual-3.16"
version: "3.16.56-1+deb8u1"
release: "Debian 8 (Jessie)"
platforms: ["linux"]
url: "https://new.carta.tech/ieee80211_channel_to_frequency"
---

# ieee80211\_channel\_to\_frequency(9)

convert channel number to frequency

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

## AUTHOR

**Johannes Berg** \<johannes@sipsolutions.net\>

Author.

## COPYRIGHT
