---
name: "ieee80211_frequency_to_channel"
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_frequency_to_channel"
---

# ieee80211\_frequency\_to\_channel(9)

convert frequency to channel number

## NAME

ieee80211\_frequency\_to\_channel - convert frequency to channel number

## SYNOPSIS

**int ieee80211\_frequency\_to\_channel(int** *freq***);**

## ARGUMENTS

*freq*

center frequency

## RETURN

The corresponding channel, or 0 if the conversion failed.

## AUTHOR

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

Author.

## COPYRIGHT
