1<html><head><meta http-equiv="Content-Type" content="text/html; charset=ANSI_X3.4-1968"><title>ieee80211_amsdu_to_8023s</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="bk01ch05.html" title="Chapter&#160;5.&#160;Data path helpers"><link rel="prev" href="API-ieee80211-data-from-8023.html" title="ieee80211_data_from_8023"><link rel="next" href="API-cfg80211-classify8021d.html" title="cfg80211_classify8021d"></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">ieee80211_amsdu_to_8023s</span></th></tr><tr><td width="20%" align="left"><a accesskey="p" href="API-ieee80211-data-from-8023.html">Prev</a>&#160;</td><th width="60%" align="center">Chapter&#160;5.&#160;Data path helpers</th><td width="20%" align="right">&#160;<a accesskey="n" href="API-cfg80211-classify8021d.html">Next</a></td></tr></table><hr></div><div class="refentry"><a name="API-ieee80211-amsdu-to-8023s"></a><div class="titlepage"></div><div class="refnamediv"><h2>Name</h2><p>ieee80211_amsdu_to_8023s &#8212; 
2  decode an IEEE 802.11n A-MSDU frame
3 </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 <b class="fsfunc">ieee80211_amsdu_to_8023s </b>(</code></td><td>struct sk_buff * <var class="pdparam">skb</var>, </td></tr><tr><td>&#160;</td><td>struct sk_buff_head * <var class="pdparam">list</var>, </td></tr><tr><td>&#160;</td><td>const u8 * <var class="pdparam">addr</var>, </td></tr><tr><td>&#160;</td><td>enum nl80211_iftype <var class="pdparam">iftype</var>, </td></tr><tr><td>&#160;</td><td>const unsigned int <var class="pdparam">extra_headroom</var>, </td></tr><tr><td>&#160;</td><td>bool <var class="pdparam">has_80211_header</var><code>)</code>;</td></tr></table><div class="funcprototype-spacer">&#160;</div></div></div><div class="refsect1"><a name="idp1113168428"></a><h2>Arguments</h2><div class="variablelist"><dl class="variablelist"><dt><span class="term"><em class="parameter"><code>skb</code></em></span></dt><dd><p>
4     The input IEEE 802.11n A-MSDU frame.
5    </p></dd><dt><span class="term"><em class="parameter"><code>list</code></em></span></dt><dd><p>
6     The output list of 802.3 frames. It must be allocated and
7     initialized by by the caller.
8    </p></dd><dt><span class="term"><em class="parameter"><code>addr</code></em></span></dt><dd><p>
9     The device MAC address.
10    </p></dd><dt><span class="term"><em class="parameter"><code>iftype</code></em></span></dt><dd><p>
11     The device interface type.
12    </p></dd><dt><span class="term"><em class="parameter"><code>extra_headroom</code></em></span></dt><dd><p>
13     The hardware extra headroom for SKBs in the <em class="parameter"><code>list</code></em>.
14    </p></dd><dt><span class="term"><em class="parameter"><code>has_80211_header</code></em></span></dt><dd><p>
15     Set it true if SKB is with IEEE 802.11 header.
16    </p></dd></dl></div></div><div class="refsect1"><a name="idp1113175364"></a><h2>Description</h2><p>
17   </p><p>
18
19   Decode an IEEE 802.11n A-MSDU frame and convert it to a list of
20   802.3 frames. The <em class="parameter"><code>list</code></em> will be empty if the decode fails. The
21   <em class="parameter"><code>skb</code></em> is consumed after the function returns.
22</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-data-from-8023.html">Prev</a>&#160;</td><td width="20%" align="center"><a accesskey="u" href="bk01ch05.html">Up</a></td><td width="40%" align="right">&#160;<a accesskey="n" href="API-cfg80211-classify8021d.html">Next</a></td></tr><tr><td width="40%" align="left" valign="top"><span class="phrase">ieee80211_data_from_8023</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_classify8021d</span></td></tr></table></div></body></html>
23