'\" t .\" Title: struct ieee80211_channel .\" Author: .\" Generator: DocBook XSL Stylesheets v1.78.1 .\" Date: January 2017 .\" Manual: Device registration .\" Source: Kernel Hackers Manual 4.8.15 .\" Language: English .\" .TH "STRUCT IEEE80211_CHA" "9" "January 2017" "Kernel Hackers Manual 4\&.8\&." "Device registration" .\" ----------------------------------------------------------------- .\" * 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" struct_ieee80211_channel \- channel definition .SH "SYNOPSIS" .sp .nf struct ieee80211_channel { enum nl80211_band band; u16 center_freq; u16 hw_value; u32 flags; int max_antenna_gain; int max_power; int max_reg_power; bool beacon_found; u32 orig_flags; int orig_mag; int orig_mpwr; enum nl80211_dfs_state dfs_state; unsigned long dfs_state_entered; unsigned int dfs_cac_ms; }; .fi .SH "MEMBERS" .PP band .RS 4 band this channel belongs to\&. .RE .PP center_freq .RS 4 center frequency in MHz .RE .PP hw_value .RS 4 hardware\-specific value for the channel .RE .PP flags .RS 4 channel flags from enum ieee80211_channel_flags\&. .RE .PP max_antenna_gain .RS 4 maximum antenna gain in dBi .RE .PP max_power .RS 4 maximum transmission power (in dBm) .RE .PP max_reg_power .RS 4 maximum regulatory transmission power (in dBm) .RE .PP beacon_found .RS 4 helper to regulatory code to indicate when a beacon has been found on this channel\&. Use \fBregulatory_hint_found_beacon\fR to enable this, this is useful only on 5 GHz band\&. .RE .PP orig_flags .RS 4 channel flags at registration time, used by regulatory code to support devices with additional restrictions .RE .PP orig_mag .RS 4 internal use .RE .PP orig_mpwr .RS 4 internal use .RE .PP dfs_state .RS 4 current state of this channel\&. Only relevant if radar is required on this channel\&. .RE .PP dfs_state_entered .RS 4 timestamp (jiffies) when the dfs state was entered\&. .RE .PP dfs_cac_ms .RS 4 DFS CAC time in milliseconds, this is valid for DFS channels\&. .RE .SH "DESCRIPTION" .PP .PP This structure describes a single channel for use with cfg80211\&. .SH "AUTHOR" .PP \fBJohannes Berg\fR <\&johannes@sipsolutions.net\&> .RS 4 Author. .RE .SH "COPYRIGHT" .br