1<html><head><meta http-equiv="Content-Type" content="text/html; charset=ANSI_X3.4-1968"><title>struct ieee80211_tx_rate_control</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="ratecontrol-api.html" title="Chapter 18. Rate Control API"><link rel="prev" href="API-enum-ieee80211-rate-control-changed.html" title="enum ieee80211_rate_control_changed"><link rel="next" href="API-rate-control-send-low.html" title="rate_control_send_low"></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 ieee80211_tx_rate_control</span></th></tr><tr><td width="20%" align="left"><a accesskey="p" href="API-enum-ieee80211-rate-control-changed.html">Prev</a> </td><th width="60%" align="center">Chapter 18. Rate Control API</th><td width="20%" align="right"> <a accesskey="n" href="API-rate-control-send-low.html">Next</a></td></tr></table><hr></div><div class="refentry"><a name="API-struct-ieee80211-tx-rate-control"></a><div class="titlepage"></div><div class="refnamediv"><h2>Name</h2><p>struct ieee80211_tx_rate_control — 2 rate control information for/from RC algo 3 </p></div><div class="refsynopsisdiv"><h2>Synopsis</h2><pre class="programlisting"> 4struct ieee80211_tx_rate_control { 5 struct ieee80211_hw * hw; 6 struct ieee80211_supported_band * sband; 7 struct ieee80211_bss_conf * bss_conf; 8 struct sk_buff * skb; 9 struct ieee80211_tx_rate reported_rate; 10 bool rts; 11 bool short_preamble; 12 u8 max_rate_idx; 13 u32 rate_idx_mask; 14 u8 * rate_idx_mcs_mask; 15 bool bss; 16}; </pre></div><div class="refsect1"><a name="idp1114389580"></a><h2>Members</h2><div class="variablelist"><dl class="variablelist"><dt><span class="term">hw</span></dt><dd><p> 17The hardware the algorithm is invoked for. 18 </p></dd><dt><span class="term">sband</span></dt><dd><p> 19The band this frame is being transmitted on. 20 </p></dd><dt><span class="term">bss_conf</span></dt><dd><p> 21the current BSS configuration 22 </p></dd><dt><span class="term">skb</span></dt><dd><p> 23the skb that will be transmitted, the control information in it needs 24to be filled in 25 </p></dd><dt><span class="term">reported_rate</span></dt><dd><p> 26The rate control algorithm can fill this in to indicate 27which rate should be reported to userspace as the current rate and 28used for rate calculations in the mesh network. 29 </p></dd><dt><span class="term">rts</span></dt><dd><p> 30whether RTS will be used for this frame because it is longer than the 31RTS threshold 32 </p></dd><dt><span class="term">short_preamble</span></dt><dd><p> 33whether mac80211 will request short-preamble transmission 34if the selected rate supports it 35 </p></dd><dt><span class="term">max_rate_idx</span></dt><dd><p> 36user-requested maximum (legacy) rate 37(deprecated; this will be removed once drivers get updated to use 38rate_idx_mask) 39 </p></dd><dt><span class="term">rate_idx_mask</span></dt><dd><p> 40user-requested (legacy) rate mask 41 </p></dd><dt><span class="term">rate_idx_mcs_mask</span></dt><dd><p> 42user-requested MCS rate mask (NULL if not in use) 43 </p></dd><dt><span class="term">bss</span></dt><dd><p> 44whether this frame is sent out in AP or IBSS mode 45 </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="API-enum-ieee80211-rate-control-changed.html">Prev</a> </td><td width="20%" align="center"><a accesskey="u" href="ratecontrol-api.html">Up</a></td><td width="40%" align="right"> <a accesskey="n" href="API-rate-control-send-low.html">Next</a></td></tr><tr><td width="40%" align="left" valign="top"><span class="phrase">enum ieee80211_rate_control_changed</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">rate_control_send_low</span></td></tr></table></div></body></html> 46