Sophie

Sophie

distrib > CentOS > 6 > i386 > by-pkgid > 2c51d8eb79f8810ada971ee8c30ce1e5 > files > 2531

kernel-doc-2.6.32-71.14.1.el6.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 ieee80211_if_init_conf</title><meta name="generator" content="DocBook XSL Stylesheets V1.75.2" /><link rel="home" href="index.html" title="The mac80211 subsystem for kernel developers" /><link rel="up" href="ch03.html" title="Chapter&#160;3.&#160;Virtual interfaces" /><link rel="prev" href="ch03.html" title="Chapter&#160;3.&#160;Virtual interfaces" /><link rel="next" href="ch04.html" title="Chapter&#160;4.&#160;Receive and transmit processing" /></head><body><div class="navheader"><table width="100%" summary="Navigation header"><tr><th colspan="3" align="center"><span>struct ieee80211_if_init_conf</span></th></tr><tr><td width="20%" align="left"><a accesskey="p" href="ch03.html">Prev</a>&#160;</td><th width="60%" align="center">Chapter&#160;3.&#160;Virtual interfaces</th><td width="20%" align="right">&#160;<a accesskey="n" href="ch04.html">Next</a></td></tr></table><hr /></div><div class="refentry" title="struct ieee80211_if_init_conf"><a id="API-struct-ieee80211-if-init-conf"></a><div class="titlepage"></div><div class="refnamediv"><h2>Name</h2><p>struct ieee80211_if_init_conf &#8212; 
  initial configuration of an interface
 </p></div><div class="refsynopsisdiv" title="Synopsis"><h2>Synopsis</h2><pre class="programlisting">
struct ieee80211_if_init_conf {
  enum nl80211_iftype type;
  struct ieee80211_vif * vif;
  void * mac_addr;
};  </pre></div><div class="refsect1" title="Members"><a id="id2707332"></a><h2>Members</h2><div class="variablelist"><dl><dt><span class="term">type</span></dt><dd><p>
one of <span class="structname">enum</span> nl80211_iftype constants. Determines the type of
added/removed interface.
      </p></dd><dt><span class="term">vif</span></dt><dd><p>
pointer to a driver-use per-interface structure. The pointer
itself is also used for various functions including
<code class="function">ieee80211_beacon_get</code> and <code class="function">ieee80211_get_buffered_bc</code>.
      </p></dd><dt><span class="term">mac_addr</span></dt><dd><p>
pointer to MAC address of the interface. This pointer is valid
until the interface is removed (i.e. it cannot be used after
<code class="function">remove_interface</code> callback was called for this interface).
      </p></dd></dl></div></div><div class="refsect1" title="Description"><a id="id2707399"></a><h2>Description</h2><p>
   This structure is used in <code class="function">add_interface</code> and <code class="function">remove_interface</code>
   callbacks of <span class="structname">struct ieee80211_hw</span>.
   </p><p>

   When you allow multiple interfaces to be added to your PHY, take care
   that the hardware can actually handle multiple MAC addresses. However,
   also take care that when there's no interface left with mac_addr != <code class="constant">NULL</code>
   you remove the MAC address from the device to avoid acknowledging packets
   in pure monitor mode.
</p></div></div><div class="navfooter"><hr /><table width="100%" summary="Navigation footer"><tr><td width="40%" align="left"><a accesskey="p" href="ch03.html">Prev</a>&#160;</td><td width="20%" align="center"><a accesskey="u" href="ch03.html">Up</a></td><td width="40%" align="right">&#160;<a accesskey="n" href="ch04.html">Next</a></td></tr><tr><td width="40%" align="left" valign="top">Chapter&#160;3.&#160;Virtual interfaces&#160;</td><td width="20%" align="center"><a accesskey="h" href="index.html">Home</a></td><td width="40%" align="right" valign="top">&#160;Chapter&#160;4.&#160;Receive and transmit processing</td></tr></table></div></body></html>