1<html><head><meta http-equiv="Content-Type" content="text/html; charset=UTF-8"><title>struct tid_ampdu_tx</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="aggregation-internals.html" title="Chapter 23. Aggregation"><link rel="prev" href="API-struct-sta-ampdu-mlme.html" title="struct sta_ampdu_mlme"><link rel="next" href="API-struct-tid-ampdu-rx.html" title="struct tid_ampdu_rx"></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">struct tid_ampdu_tx</span></th></tr><tr><td width="20%" align="left"><a accesskey="p" href="API-struct-sta-ampdu-mlme.html">Prev</a> </td><th width="60%" align="center">Chapter 23. Aggregation</th><td width="20%" align="right"> <a accesskey="n" href="API-struct-tid-ampdu-rx.html">Next</a></td></tr></table><hr></div><div class="refentry"><a name="API-struct-tid-ampdu-tx"></a><div class="titlepage"></div><div class="refnamediv"><h2>Name</h2><p>struct tid_ampdu_tx — 2 TID aggregation information (Tx). 3 </p></div><div class="refsynopsisdiv"><h2>Synopsis</h2><pre class="programlisting"> 4struct tid_ampdu_tx { 5 struct rcu_head rcu_head; 6 struct timer_list session_timer; 7 struct timer_list addba_resp_timer; 8 struct sk_buff_head pending; 9 unsigned long state; 10 unsigned long last_tx; 11 u16 timeout; 12 u8 dialog_token; 13 u8 stop_initiator; 14 bool tx_stop; 15 u8 buf_size; 16 u16 failed_bar_ssn; 17 bool bar_pending; 18 bool amsdu; 19}; </pre></div><div class="refsect1"><a name="id-1.3.6.7.3.5"></a><h2>Members</h2><div class="variablelist"><dl class="variablelist"><dt><span class="term">rcu_head</span></dt><dd><p> 20rcu head for freeing structure 21 </p></dd><dt><span class="term">session_timer</span></dt><dd><p> 22check if we keep Tx-ing on the TID (by timeout value) 23 </p></dd><dt><span class="term">addba_resp_timer</span></dt><dd><p> 24timer for peer's response to addba request 25 </p></dd><dt><span class="term">pending</span></dt><dd><p> 26pending frames queue -- use sta's spinlock to protect 27 </p></dd><dt><span class="term">state</span></dt><dd><p> 28session state (see above) 29 </p></dd><dt><span class="term">last_tx</span></dt><dd><p> 30jiffies of last tx activity 31 </p></dd><dt><span class="term">timeout</span></dt><dd><p> 32session timeout value to be filled in ADDBA requests 33 </p></dd><dt><span class="term">dialog_token</span></dt><dd><p> 34dialog token for aggregation session 35 </p></dd><dt><span class="term">stop_initiator</span></dt><dd><p> 36initiator of a session stop 37 </p></dd><dt><span class="term">tx_stop</span></dt><dd><p> 38TX DelBA frame when stopping 39 </p></dd><dt><span class="term">buf_size</span></dt><dd><p> 40reorder buffer size at receiver 41 </p></dd><dt><span class="term">failed_bar_ssn</span></dt><dd><p> 42ssn of the last failed BAR tx attempt 43 </p></dd><dt><span class="term">bar_pending</span></dt><dd><p> 44BAR needs to be re-sent 45 </p></dd><dt><span class="term">amsdu</span></dt><dd><p> 46support A-MSDU withing A-MDPU 47 </p></dd></dl></div></div><div class="refsect1"><a name="id-1.3.6.7.3.6"></a><h2>Description</h2><p> 48 This structure's lifetime is managed by RCU, assignments to 49 the array holding it must hold the aggregation mutex. 50 </p><p> 51 52 The TX path can access it under RCU lock-free if, and 53 only if, the state has the flag <code class="constant">HT_AGG_STATE_OPERATIONAL</code> 54 set. Otherwise, the TX path must also acquire the spinlock 55 and re-check the state, see comments in the tx code 56 touching it. 57</p></div></div><div class="navfooter"><hr><table width="100%" summary="Navigation footer"><tr><td width="40%" align="left"><a accesskey="p" href="API-struct-sta-ampdu-mlme.html">Prev</a> </td><td width="20%" align="center"><a accesskey="u" href="aggregation-internals.html">Up</a></td><td width="40%" align="right"> <a accesskey="n" href="API-struct-tid-ampdu-rx.html">Next</a></td></tr><tr><td width="40%" align="left" valign="top"><span class="phrase">struct sta_ampdu_mlme</span> </td><td width="20%" align="center"><a accesskey="h" href="index.html">Home</a></td><td width="40%" align="right" valign="top"> <span class="phrase">struct tid_ampdu_rx</span></td></tr></table></div></body></html> 58