'\" t .\" Title: struct survey_info .\" Author: .\" Generator: DocBook XSL Stylesheets v1.79.1 .\" Date: January 2017 .\" Manual: Actions and configuration .\" Source: Kernel Hackers Manual 4.8.15 .\" Language: English .\" .TH "STRUCT SURVEY_INFO" "9" "January 2017" "Kernel Hackers Manual 4\&.8\&." "Actions and configuration" .\" ----------------------------------------------------------------- .\" * 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_survey_info \- channel survey response .SH "SYNOPSIS" .sp .nf struct survey_info { struct ieee80211_channel * channel; u64 time; u64 time_busy; u64 time_ext_busy; u64 time_rx; u64 time_tx; u64 time_scan; u32 filled; s8 noise; }; .fi .SH "MEMBERS" .PP channel .RS 4 the channel this survey record reports, may be \fBNULL\fR for a single record to report global statistics .RE .PP time .RS 4 amount of time in ms the radio was turn on (on the channel) .RE .PP time_busy .RS 4 amount of time the primary channel was sensed busy .RE .PP time_ext_busy .RS 4 amount of time the extension channel was sensed busy .RE .PP time_rx .RS 4 amount of time the radio spent receiving data .RE .PP time_tx .RS 4 amount of time the radio spent transmitting data .RE .PP time_scan .RS 4 amount of time the radio spent for scanning .RE .PP filled .RS 4 bitflag of flags from enum survey_info_flags .RE .PP noise .RS 4 channel noise in dBm\&. This and all following fields are optional .RE .SH "DESCRIPTION" .PP Used by \fBdump_survey\fR to report back per\-channel survey information\&. .PP This structure can later be expanded with things like channel duty cycle etc\&. .SH "AUTHOR" .PP \fBJohannes Berg\fR <\&johannes@sipsolutions.net\&> .RS 4 Author. .RE .SH "COPYRIGHT" .br