1<html><head><meta http-equiv="Content-Type" content="text/html; charset=ANSI_X3.4-1968"><title>struct sta_ampdu_mlme</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="aggregation-internals.html" title="Chapter&#160;23.&#160;Aggregation"><link rel="prev" href="aggregation-internals.html" title="Chapter&#160;23.&#160;Aggregation"><link rel="next" href="API-struct-tid-ampdu-tx.html" title="struct tid_ampdu_tx"></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 sta_ampdu_mlme</span></th></tr><tr><td width="20%" align="left"><a accesskey="p" href="aggregation-internals.html">Prev</a>&#160;</td><th width="60%" align="center">Chapter&#160;23.&#160;Aggregation</th><td width="20%" align="right">&#160;<a accesskey="n" href="API-struct-tid-ampdu-tx.html">Next</a></td></tr></table><hr></div><div class="refentry"><a name="API-struct-sta-ampdu-mlme"></a><div class="titlepage"></div><div class="refnamediv"><h2>Name</h2><p>struct sta_ampdu_mlme &#8212; 
2  STA aggregation information.
3 </p></div><div class="refsynopsisdiv"><h2>Synopsis</h2><pre class="programlisting">
4struct sta_ampdu_mlme {
5  struct mutex mtx;
6  struct tid_ampdu_rx __rcu * tid_rx[IEEE80211_NUM_TIDS];
7  unsigned long tid_rx_timer_expired[BITS_TO_LONGS(IEEE80211_NUM_TIDS)];
8  unsigned long tid_rx_stop_requested[BITS_TO_LONGS(IEEE80211_NUM_TIDS)];
9  struct work_struct work;
10  struct tid_ampdu_tx __rcu * tid_tx[IEEE80211_NUM_TIDS];
11  struct tid_ampdu_tx * tid_start_tx[IEEE80211_NUM_TIDS];
12  unsigned long last_addba_req_time[IEEE80211_NUM_TIDS];
13  u8 addba_req_num[IEEE80211_NUM_TIDS];
14  u8 dialog_token_allocator;
15};  </pre></div><div class="refsect1"><a name="idp1114520356"></a><h2>Members</h2><div class="variablelist"><dl class="variablelist"><dt><span class="term">mtx</span></dt><dd><p>
16mutex to protect all TX data (except non-NULL assignments
17to tid_tx[idx], which are protected by the sta spinlock)
18tid_start_tx is also protected by sta-&gt;lock.
19      </p></dd><dt><span class="term">tid_rx[IEEE80211_NUM_TIDS]</span></dt><dd><p>
20aggregation info for Rx per TID -- RCU protected
21      </p></dd><dt><span class="term">tid_rx_timer_expired[BITS_TO_LONGS(IEEE80211_NUM_TIDS)]</span></dt><dd><p>
22bitmap indicating on which TIDs the
23RX timer expired until the work for it runs
24      </p></dd><dt><span class="term">tid_rx_stop_requested[BITS_TO_LONGS(IEEE80211_NUM_TIDS)]</span></dt><dd><p>
25bitmap indicating which BA sessions per TID the
26driver requested to close until the work for it runs
27      </p></dd><dt><span class="term">work</span></dt><dd><p>
28work struct for starting/stopping aggregation
29      </p></dd><dt><span class="term">tid_tx[IEEE80211_NUM_TIDS]</span></dt><dd><p>
30aggregation info for Tx per TID
31      </p></dd><dt><span class="term">tid_start_tx[IEEE80211_NUM_TIDS]</span></dt><dd><p>
32sessions where start was requested
33      </p></dd><dt><span class="term">last_addba_req_time[IEEE80211_NUM_TIDS]</span></dt><dd><p>
34timestamp of the last addBA request.
35      </p></dd><dt><span class="term">addba_req_num[IEEE80211_NUM_TIDS]</span></dt><dd><p>
36number of times addBA request has been sent.
37      </p></dd><dt><span class="term">dialog_token_allocator</span></dt><dd><p>
38dialog token enumerator for each new session;
39      </p></dd></dl></div></div></div><div class="navfooter"><hr><table width="100%" summary="Navigation footer"><tr><td width="40%" align="left"><a accesskey="p" href="aggregation-internals.html">Prev</a>&#160;</td><td width="20%" align="center"><a accesskey="u" href="aggregation-internals.html">Up</a></td><td width="40%" align="right">&#160;<a accesskey="n" href="API-struct-tid-ampdu-tx.html">Next</a></td></tr><tr><td width="40%" align="left" valign="top">Chapter&#160;23.&#160;Aggregation&#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">struct tid_ampdu_tx</span></td></tr></table></div></body></html>
40