1<html><head><meta http-equiv="Content-Type" content="text/html; charset=ANSI_X3.4-1968"><title>struct cfg80211_bss</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="bk01ch03.html" title="Chapter&#160;3.&#160;Scanning and BSS list handling"><link rel="prev" href="API-cfg80211-scan-done.html" title="cfg80211_scan_done"><link rel="next" href="API-cfg80211-inform-bss-width-frame.html" title="cfg80211_inform_bss_width_frame"></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 cfg80211_bss</span></th></tr><tr><td width="20%" align="left"><a accesskey="p" href="API-cfg80211-scan-done.html">Prev</a>&#160;</td><th width="60%" align="center">Chapter&#160;3.&#160;Scanning and BSS list handling</th><td width="20%" align="right">&#160;<a accesskey="n" href="API-cfg80211-inform-bss-width-frame.html">Next</a></td></tr></table><hr></div><div class="refentry"><a name="API-struct-cfg80211-bss"></a><div class="titlepage"></div><div class="refnamediv"><h2>Name</h2><p>struct cfg80211_bss &#8212; 
2  BSS description
3 </p></div><div class="refsynopsisdiv"><h2>Synopsis</h2><pre class="programlisting">
4struct cfg80211_bss {
5  struct ieee80211_channel * channel;
6  enum nl80211_bss_scan_width scan_width;
7  const struct cfg80211_bss_ies __rcu * ies;
8  const struct cfg80211_bss_ies __rcu * beacon_ies;
9  const struct cfg80211_bss_ies __rcu * proberesp_ies;
10  struct cfg80211_bss * hidden_beacon_bss;
11  s32 signal;
12  u16 beacon_interval;
13  u16 capability;
14  u8 bssid[ETH_ALEN];
15  u8 priv[0];
16};  </pre></div><div class="refsect1"><a name="idp1112996156"></a><h2>Members</h2><div class="variablelist"><dl class="variablelist"><dt><span class="term">channel</span></dt><dd><p>
17channel this BSS is on
18      </p></dd><dt><span class="term">scan_width</span></dt><dd><p>
19width of the control channel
20      </p></dd><dt><span class="term">ies</span></dt><dd><p>
21the information elements (Note that there is no guarantee that these
22are well-formed!); this is a pointer to either the beacon_ies or
23proberesp_ies depending on whether Probe Response frame has been
24received. It is always non-<code class="constant">NULL</code>.
25      </p></dd><dt><span class="term">beacon_ies</span></dt><dd><p>
26the information elements from the last Beacon frame
27(implementation note: if <em class="parameter"><code>hidden_beacon_bss</code></em> is set this struct doesn't
28own the beacon_ies, but they're just pointers to the ones from the
29<em class="parameter"><code>hidden_beacon_bss</code></em> struct)
30      </p></dd><dt><span class="term">proberesp_ies</span></dt><dd><p>
31the information elements from the last Probe Response frame
32      </p></dd><dt><span class="term">hidden_beacon_bss</span></dt><dd><p>
33in case this BSS struct represents a probe response from
34a BSS that hides the SSID in its beacon, this points to the BSS struct
35that holds the beacon data. <em class="parameter"><code>beacon_ies</code></em> is still valid, of course, and
36points to the same data as hidden_beacon_bss-&gt;beacon_ies in that case.
37      </p></dd><dt><span class="term">signal</span></dt><dd><p>
38signal strength value (type depends on the wiphy's signal_type)
39      </p></dd><dt><span class="term">beacon_interval</span></dt><dd><p>
40the beacon interval as from the frame
41      </p></dd><dt><span class="term">capability</span></dt><dd><p>
42the capability field in host byte order
43      </p></dd><dt><span class="term">bssid[ETH_ALEN]</span></dt><dd><p>
44BSSID of the BSS
45      </p></dd><dt><span class="term">priv[0]</span></dt><dd><p>
46private area for driver use, has at least wiphy-&gt;bss_priv_size bytes
47      </p></dd></dl></div></div><div class="refsect1"><a name="idp1113006124"></a><h2>Description</h2><p>
48   </p><p>
49
50   This structure describes a BSS (which may also be a mesh network)
51   for use in scan results and similar.
52</p></div></div><div class="navfooter"><hr><table width="100%" summary="Navigation footer"><tr><td width="40%" align="left"><a accesskey="p" href="API-cfg80211-scan-done.html">Prev</a>&#160;</td><td width="20%" align="center"><a accesskey="u" href="bk01ch03.html">Up</a></td><td width="40%" align="right">&#160;<a accesskey="n" href="API-cfg80211-inform-bss-width-frame.html">Next</a></td></tr><tr><td width="40%" align="left" valign="top"><span class="phrase">cfg80211_scan_done</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">cfg80211_inform_bss_width_frame</span></td></tr></table></div></body></html>
53