'\" t .\" Title: ieee80211_get_channel .\" Author: .\" Generator: DocBook XSL Stylesheets v1.79.1 .\" Date: January 2017 .\" Manual: Utility functions .\" Source: Kernel Hackers Manual 4.8.15 .\" Language: English .\" .TH "IEEE80211_GET_CHANNE" "9" "January 2017" "Kernel Hackers Manual 4\&.8\&." "Utility functions" .\" ----------------------------------------------------------------- .\" * Define some portability stuff .\" ----------------------------------------------------------------- .\" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ .\" http://bugs.debian.org/507673 .\" http://lists.gnu.org/archive/html/groff/2009-02/msg00013.html .\" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ .ie \n(.g .ds Aq \(aq .el .ds Aq ' .\" ----------------------------------------------------------------- .\" * set default formatting .\" ----------------------------------------------------------------- .\" disable hyphenation .nh .\" disable justification (adjust text to left margin only) .ad l .\" ----------------------------------------------------------------- .\" * MAIN CONTENT STARTS HERE * .\" ----------------------------------------------------------------- .SH "NAME" ieee80211_get_channel \- get channel struct from wiphy for specified frequency .SH "SYNOPSIS" .HP \w'struct\ ieee80211_channel\ *\ ieee80211_get_channel('u .BI "struct ieee80211_channel * ieee80211_get_channel(struct\ wiphy\ *\ " "wiphy" ", int\ " "freq" ");" .SH "ARGUMENTS" .PP \fIwiphy\fR .RS 4 the struct wiphy to get the channel for .RE .PP \fIfreq\fR .RS 4 the center frequency of the channel .RE .SH "RETURN" .PP The channel struct from \fIwiphy\fR at \fIfreq\fR\&. .SH "AUTHOR" .PP \fBJohannes Berg\fR <\&johannes@sipsolutions.net\&> .RS 4 Author. .RE .SH "COPYRIGHT" .br