1<html><head><meta http-equiv="Content-Type" content="text/html; charset=ANSI_X3.4-1968"><title>enum ieee80211_ampdu_mlme_action</title><meta name="generator" content="DocBook XSL Stylesheets V1.78.1"><link rel="home" href="index.html" title="The 802.11 subsystems – for kernel developers"><link rel="up" href="bk02pt02ch16s02.html" title="RX A-MPDU aggregation"><link rel="prev" href="bk02pt02ch16s02.html" title="RX A-MPDU aggregation"><link rel="next" href="smps.html" title="Chapter 17. Spatial Multiplexing Powersave (SMPS)"></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">enum ieee80211_ampdu_mlme_action</span></th></tr><tr><td width="20%" align="left"><a accesskey="p" href="bk02pt02ch16s02.html">Prev</a> </td><th width="60%" align="center">RX A-MPDU aggregation</th><td width="20%" align="right"> <a accesskey="n" href="smps.html">Next</a></td></tr></table><hr></div><div class="refentry"><a name="API-enum-ieee80211-ampdu-mlme-action"></a><div class="titlepage"></div><div class="refnamediv"><h2>Name</h2><p>enum ieee80211_ampdu_mlme_action — 2 A-MPDU actions 3 </p></div><div class="refsynopsisdiv"><h2>Synopsis</h2><pre class="programlisting"> 4enum ieee80211_ampdu_mlme_action { 5 IEEE80211_AMPDU_RX_START, 6 IEEE80211_AMPDU_RX_STOP, 7 IEEE80211_AMPDU_TX_START, 8 IEEE80211_AMPDU_TX_STOP_CONT, 9 IEEE80211_AMPDU_TX_STOP_FLUSH, 10 IEEE80211_AMPDU_TX_STOP_FLUSH_CONT, 11 IEEE80211_AMPDU_TX_OPERATIONAL 12}; </pre></div><div class="refsect1"><a name="idp1114306140"></a><h2>Constants</h2><div class="variablelist"><dl class="variablelist"><dt><span class="term">IEEE80211_AMPDU_RX_START</span></dt><dd><p> 13start RX aggregation 14 </p></dd><dt><span class="term">IEEE80211_AMPDU_RX_STOP</span></dt><dd><p> 15stop RX aggregation 16 </p></dd><dt><span class="term">IEEE80211_AMPDU_TX_START</span></dt><dd><p> 17start TX aggregation 18 </p></dd><dt><span class="term">IEEE80211_AMPDU_TX_STOP_CONT</span></dt><dd><p> 19stop TX aggregation but continue transmitting 20queued packets, now unaggregated. After all packets are transmitted the 21driver has to call <code class="function">ieee80211_stop_tx_ba_cb_irqsafe</code>. 22 </p></dd><dt><span class="term">IEEE80211_AMPDU_TX_STOP_FLUSH</span></dt><dd><p> 23stop TX aggregation and flush all packets, 24called when the station is removed. There's no need or reason to call 25<code class="function">ieee80211_stop_tx_ba_cb_irqsafe</code> in this case as mac80211 assumes the 26session is gone and removes the station. 27 </p></dd><dt><span class="term">IEEE80211_AMPDU_TX_STOP_FLUSH_CONT</span></dt><dd><p> 28called when TX aggregation is stopped 29but the driver hasn't called <code class="function">ieee80211_stop_tx_ba_cb_irqsafe</code> yet and 30now the connection is dropped and the station will be removed. Drivers 31should clean up and drop remaining packets when this is called. 32 </p></dd><dt><span class="term">IEEE80211_AMPDU_TX_OPERATIONAL</span></dt><dd><p> 33TX aggregation has become operational 34 </p></dd></dl></div></div><div class="refsect1"><a name="idp1114313356"></a><h2>Description</h2><p> 35 </p><p> 36 37 These flags are used with the <code class="function">ampdu_action</code> callback in 38 <span class="structname">struct ieee80211_ops</span> to indicate which action is needed. 39 </p><p> 40 41 Note that drivers MUST be able to deal with a TX aggregation 42 session being stopped even before they OK'ed starting it by 43 calling ieee80211_start_tx_ba_cb_irqsafe, because the peer 44 might receive the addBA frame and send a delBA right away! 45</p></div></div><div class="navfooter"><hr><table width="100%" summary="Navigation footer"><tr><td width="40%" align="left"><a accesskey="p" href="bk02pt02ch16s02.html">Prev</a> </td><td width="20%" align="center"><a accesskey="u" href="bk02pt02ch16s02.html">Up</a></td><td width="40%" align="right"> <a accesskey="n" href="smps.html">Next</a></td></tr><tr><td width="40%" align="left" valign="top">RX A-MPDU aggregation </td><td width="20%" align="center"><a accesskey="h" href="index.html">Home</a></td><td width="40%" align="right" valign="top"> Chapter 17. Spatial Multiplexing Powersave (SMPS)</td></tr></table></div></body></html> 46