1<html><head><meta http-equiv="Content-Type" content="text/html; charset=ANSI_X3.4-1968"><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}; </pre></div><div class="refsect1"><a name="idp1114532828"></a><h2>Members</h2><div class="variablelist"><dl class="variablelist"><dt><span class="term">rcu_head</span></dt><dd><p> 19rcu head for freeing structure 20 </p></dd><dt><span class="term">session_timer</span></dt><dd><p> 21check if we keep Tx-ing on the TID (by timeout value) 22 </p></dd><dt><span class="term">addba_resp_timer</span></dt><dd><p> 23timer for peer's response to addba request 24 </p></dd><dt><span class="term">pending</span></dt><dd><p> 25pending frames queue -- use sta's spinlock to protect 26 </p></dd><dt><span class="term">state</span></dt><dd><p> 27session state (see above) 28 </p></dd><dt><span class="term">last_tx</span></dt><dd><p> 29jiffies of last tx activity 30 </p></dd><dt><span class="term">timeout</span></dt><dd><p> 31session timeout value to be filled in ADDBA requests 32 </p></dd><dt><span class="term">dialog_token</span></dt><dd><p> 33dialog token for aggregation session 34 </p></dd><dt><span class="term">stop_initiator</span></dt><dd><p> 35initiator of a session stop 36 </p></dd><dt><span class="term">tx_stop</span></dt><dd><p> 37TX DelBA frame when stopping 38 </p></dd><dt><span class="term">buf_size</span></dt><dd><p> 39reorder buffer size at receiver 40 </p></dd><dt><span class="term">failed_bar_ssn</span></dt><dd><p> 41ssn of the last failed BAR tx attempt 42 </p></dd><dt><span class="term">bar_pending</span></dt><dd><p> 43BAR needs to be re-sent 44 </p></dd></dl></div></div><div class="refsect1"><a name="idp1114542676"></a><h2>Description</h2><p> 45 This structure's lifetime is managed by RCU, assignments to 46 the array holding it must hold the aggregation mutex. 47 </p><p> 48 49 The TX path can access it under RCU lock-free if, and 50 only if, the state has the flag <code class="constant">HT_AGG_STATE_OPERATIONAL</code> 51 set. Otherwise, the TX path must also acquire the spinlock 52 and re-check the state, see comments in the tx code 53 touching it. 54</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> 55