Sophie

Sophie

distrib > Fedora > 15 > i386 > by-pkgid > fa21ac0b5c825597d4ae80018c3f2f25 > files > 232

kernel-doc-2.6.38.6-26.rc1.fc15.noarch.rpm

<?xml version="1.0" encoding="ANSI_X3.4-1968" standalone="no"?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml"><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.76.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-frame.html" title="cfg80211_inform_bss_frame" /></head><body><div class="navheader"><table width="100%" summary="Navigation header"><tr><th colspan="3" align="center"><span>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-frame.html">Next</a></td></tr></table><hr /></div><div class="refentry" title="struct cfg80211_bss"><a id="API-struct-cfg80211-bss"></a><div class="titlepage"></div><div class="refnamediv"><h2>Name</h2><p>struct cfg80211_bss &#8212; 
  BSS description
 </p></div><div class="refsynopsisdiv" title="Synopsis"><h2>Synopsis</h2><pre class="programlisting">
struct cfg80211_bss {
  struct ieee80211_channel * channel;
  u8 bssid[ETH_ALEN];
  u64 tsf;
  u16 beacon_interval;
  u16 capability;
  u8 * information_elements;
  size_t len_information_elements;
  u8 * beacon_ies;
  size_t len_beacon_ies;
  u8 * proberesp_ies;
  size_t len_proberesp_ies;
  s32 signal;
  void (* free_priv) (struct cfg80211_bss *bss);
  u8 priv[0] __attribute__((__aligned__(sizeof(void  *))));
};  </pre></div><div class="refsect1" title="Members"><a id="id3040161"></a><h2>Members</h2><div class="variablelist"><dl><dt><span class="term">channel</span></dt><dd><p>
channel this BSS is on
      </p></dd><dt><span class="term">bssid[ETH_ALEN]</span></dt><dd><p>
BSSID of the BSS
      </p></dd><dt><span class="term">tsf</span></dt><dd><p>
timestamp of last received update
      </p></dd><dt><span class="term">beacon_interval</span></dt><dd><p>
the beacon interval as from the frame
      </p></dd><dt><span class="term">capability</span></dt><dd><p>
the capability field in host byte order
      </p></dd><dt><span class="term">information_elements</span></dt><dd><p>
the information elements (Note that there
is no guarantee that these are well-formed!); this is a pointer to
either the beacon_ies or proberesp_ies depending on whether Probe
Response frame has been received
      </p></dd><dt><span class="term">len_information_elements</span></dt><dd><p>
total length of the information elements
      </p></dd><dt><span class="term">beacon_ies</span></dt><dd><p>
the information elements from the last Beacon frame
      </p></dd><dt><span class="term">len_beacon_ies</span></dt><dd><p>
total length of the beacon_ies
      </p></dd><dt><span class="term">proberesp_ies</span></dt><dd><p>
the information elements from the last Probe Response frame
      </p></dd><dt><span class="term">len_proberesp_ies</span></dt><dd><p>
total length of the proberesp_ies
      </p></dd><dt><span class="term">signal</span></dt><dd><p>
signal strength value (type depends on the wiphy's signal_type)
      </p></dd><dt><span class="term">free_priv</span></dt><dd><p>
function pointer to free private data
      </p></dd><dt><span class="term">priv[0] __attribute__((__aligned__(sizeof(void  *))))</span></dt><dd><p>
private area for driver use, has at least wiphy-&gt;bss_priv_size bytes
      </p></dd></dl></div></div><div class="refsect1" title="Description"><a id="id3040337"></a><h2>Description</h2><p>
   </p><p>

   This structure describes a BSS (which may also be a mesh network)
   for use in scan results and similar.
</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-frame.html">Next</a></td></tr><tr><td width="40%" align="left" valign="top"><span>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>cfg80211_inform_bss_frame</span></td></tr></table></div></body></html>