1<html><head><meta http-equiv="Content-Type" content="text/html; charset=ANSI_X3.4-1968"><title>struct survey_info</title><meta name="generator" content="DocBook XSL Stylesheets V1.78.1"><link rel="home" href="index.html" title="The 802.11 subsystems &#8211; for kernel developers"><link rel="up" href="bk01ch02.html" title="Chapter&#160;2.&#160;Actions and configuration"><link rel="prev" href="API-enum-survey-info-flags.html" title="enum survey_info_flags"><link rel="next" href="API-struct-cfg80211-beacon-data.html" title="struct cfg80211_beacon_data"></head><body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF"><div class="navheader"><table width="100%" summary="Navigation header"><tr><th colspan="3" align="center"><span class="phrase">struct survey_info</span></th></tr><tr><td width="20%" align="left"><a accesskey="p" href="API-enum-survey-info-flags.html">Prev</a>&#160;</td><th width="60%" align="center">Chapter&#160;2.&#160;Actions and configuration</th><td width="20%" align="right">&#160;<a accesskey="n" href="API-struct-cfg80211-beacon-data.html">Next</a></td></tr></table><hr></div><div class="refentry"><a name="API-struct-survey-info"></a><div class="titlepage"></div><div class="refnamediv"><h2>Name</h2><p>struct survey_info &#8212; 
2  channel survey response
3 </p></div><div class="refsynopsisdiv"><h2>Synopsis</h2><pre class="programlisting">
4struct survey_info {
5  struct ieee80211_channel * channel;
6  u64 time;
7  u64 time_busy;
8  u64 time_ext_busy;
9  u64 time_rx;
10  u64 time_tx;
11  u64 time_scan;
12  u32 filled;
13  s8 noise;
14};  </pre></div><div class="refsect1"><a name="idp1112482604"></a><h2>Members</h2><div class="variablelist"><dl class="variablelist"><dt><span class="term">channel</span></dt><dd><p>
15the channel this survey record reports, may be <code class="constant">NULL</code> for a single
16record to report global statistics
17      </p></dd><dt><span class="term">time</span></dt><dd><p>
18amount of time in ms the radio was turn on (on the channel)
19      </p></dd><dt><span class="term">time_busy</span></dt><dd><p>
20amount of time the primary channel was sensed busy
21      </p></dd><dt><span class="term">time_ext_busy</span></dt><dd><p>
22amount of time the extension channel was sensed busy
23      </p></dd><dt><span class="term">time_rx</span></dt><dd><p>
24amount of time the radio spent receiving data
25      </p></dd><dt><span class="term">time_tx</span></dt><dd><p>
26amount of time the radio spent transmitting data
27      </p></dd><dt><span class="term">time_scan</span></dt><dd><p>
28amount of time the radio spent for scanning
29      </p></dd><dt><span class="term">filled</span></dt><dd><p>
30bitflag of flags from <span class="structname">enum</span> survey_info_flags
31      </p></dd><dt><span class="term">noise</span></dt><dd><p>
32channel noise in dBm. This and all following fields are
33optional
34      </p></dd></dl></div></div><div class="refsect1"><a name="idp1112489916"></a><h2>Description</h2><p>
35   Used by <code class="function">dump_survey</code> to report back per-channel survey information.
36   </p><p>
37
38   This structure can later be expanded with things like
39   channel duty cycle etc.
40</p></div></div><div class="navfooter"><hr><table width="100%" summary="Navigation footer"><tr><td width="40%" align="left"><a accesskey="p" href="API-enum-survey-info-flags.html">Prev</a>&#160;</td><td width="20%" align="center"><a accesskey="u" href="bk01ch02.html">Up</a></td><td width="40%" align="right">&#160;<a accesskey="n" href="API-struct-cfg80211-beacon-data.html">Next</a></td></tr><tr><td width="40%" align="left" valign="top"><span class="phrase">enum survey_info_flags</span>&#160;</td><td width="20%" align="center"><a accesskey="h" href="index.html">Home</a></td><td width="40%" align="right" valign="top">&#160;<span class="phrase">struct cfg80211_beacon_data</span></td></tr></table></div></body></html>
41