Sophie

Sophie

distrib > Fedora > 18 > x86_64 > media > updates > by-pkgid > 1a595394b241504ff370a8d12ebfcea7 > files > 312

kernel-doc-3.11.10-100.fc18.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>ieee80211_rx</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="bk02pt01ch04s05.html" title="functions/definitions" /><link rel="prev" href="API-ieee80211-tx-info-clear-status.html" title="ieee80211_tx_info_clear_status" /><link rel="next" href="API-ieee80211-rx-ni.html" title="ieee80211_rx_ni" /></head><body><div class="navheader"><table width="100%" summary="Navigation header"><tr><th colspan="3" align="center"><span class="phrase">ieee80211_rx</span></th></tr><tr><td width="20%" align="left"><a accesskey="p" href="API-ieee80211-tx-info-clear-status.html">Prev</a>&#160;</td><th width="60%" align="center">functions/definitions</th><td width="20%" align="right">&#160;<a accesskey="n" href="API-ieee80211-rx-ni.html">Next</a></td></tr></table><hr /></div><div class="refentry"><a id="API-ieee80211-rx"></a><div class="titlepage"></div><div class="refnamediv"><h2>Name</h2><p>ieee80211_rx &#8212; 
  receive frame
 </p></div><div class="refsynopsisdiv"><h2>Synopsis</h2><div class="funcsynopsis"><table border="0" class="funcprototype-table" summary="Function synopsis" style="cellspacing: 0; cellpadding: 0;"><tr><td><code class="funcdef">void <strong class="fsfunc">ieee80211_rx </strong>(</code></td><td>struct ieee80211_hw * <var class="pdparam">hw</var>, </td></tr><tr><td>&#160;</td><td>struct sk_buff * <var class="pdparam">skb</var><code>)</code>;</td></tr></table><div class="funcprototype-spacer">&#160;</div></div></div><div class="refsect1"><a id="idm139754517678320"></a><h2>Arguments</h2><div class="variablelist"><dl class="variablelist"><dt><span class="term"><em class="parameter"><code>hw</code></em></span></dt><dd><p>
     the hardware this frame came in on
    </p></dd><dt><span class="term"><em class="parameter"><code>skb</code></em></span></dt><dd><p>
     the buffer to receive, owned by mac80211 after this call
    </p></dd></dl></div></div><div class="refsect1"><a id="idm139754517673120"></a><h2>Description</h2><p>
   </p><p>

   Use this function to hand received frames to mac80211. The receive
   buffer in <em class="parameter"><code>skb</code></em> must start with an IEEE 802.11 header. In case of a
   paged <em class="parameter"><code>skb</code></em> is used, the driver is recommended to put the ieee80211
   header of the frame on the linear part of the <em class="parameter"><code>skb</code></em> to avoid memory
   allocation and/or memcpy by the stack.
   </p><p>

   This function may not be called in IRQ context. Calls to this function
   for a single hardware must be synchronized against each other. Calls to
   this function, <code class="function">ieee80211_rx_ni</code> and <code class="function">ieee80211_rx_irqsafe</code> may not be
   mixed for a single hardware. Must not run concurrently with
   <code class="function">ieee80211_tx_status</code> or <code class="function">ieee80211_tx_status_ni</code>.
   </p><p>

   In process context use instead <code class="function">ieee80211_rx_ni</code>.
</p></div></div><div class="navfooter"><hr /><table width="100%" summary="Navigation footer"><tr><td width="40%" align="left"><a accesskey="p" href="API-ieee80211-tx-info-clear-status.html">Prev</a>&#160;</td><td width="20%" align="center"><a accesskey="u" href="bk02pt01ch04s05.html">Up</a></td><td width="40%" align="right">&#160;<a accesskey="n" href="API-ieee80211-rx-ni.html">Next</a></td></tr><tr><td width="40%" align="left" valign="top"><span class="phrase">ieee80211_tx_info_clear_status</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">ieee80211_rx_ni</span></td></tr></table></div></body></html>