<?xml version="1.0" encoding="ANSI_X3.4-1968" standalone="no"?> <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"><head><meta http-equiv="Content-Type" content="text/html; charset=ANSI_X3.4-1968" /><title>struct ieee80211_rate</title><meta name="generator" content="DocBook XSL Stylesheets V1.76.1" /><link rel="home" href="index.html" title="The 802.11 subsystems – for kernel developers" /><link rel="up" href="bk01ch01.html" title="Chapter 1. Device registration" /><link rel="prev" href="API-enum-ieee80211-rate-flags.html" title="enum ieee80211_rate_flags" /><link rel="next" href="API-struct-ieee80211-sta-ht-cap.html" title="struct ieee80211_sta_ht_cap" /></head><body><div class="navheader"><table width="100%" summary="Navigation header"><tr><th colspan="3" align="center"><span>struct ieee80211_rate</span></th></tr><tr><td width="20%" align="left"><a accesskey="p" href="API-enum-ieee80211-rate-flags.html">Prev</a> </td><th width="60%" align="center">Chapter 1. Device registration</th><td width="20%" align="right"> <a accesskey="n" href="API-struct-ieee80211-sta-ht-cap.html">Next</a></td></tr></table><hr /></div><div class="refentry" title="struct ieee80211_rate"><a id="API-struct-ieee80211-rate"></a><div class="titlepage"></div><div class="refnamediv"><h2>Name</h2><p>struct ieee80211_rate — bitrate definition </p></div><div class="refsynopsisdiv" title="Synopsis"><h2>Synopsis</h2><pre class="programlisting"> struct ieee80211_rate { u32 flags; u16 bitrate; u16 hw_value; u16 hw_value_short; }; </pre></div><div class="refsect1" title="Members"><a id="id2979685"></a><h2>Members</h2><div class="variablelist"><dl><dt><span class="term">flags</span></dt><dd><p> rate-specific flags </p></dd><dt><span class="term">bitrate</span></dt><dd><p> bitrate in units of 100 Kbps </p></dd><dt><span class="term">hw_value</span></dt><dd><p> driver/hardware value for this rate </p></dd><dt><span class="term">hw_value_short</span></dt><dd><p> driver/hardware value for this rate when short preamble is used </p></dd></dl></div></div><div class="refsect1" title="Description"><a id="id2979740"></a><h2>Description</h2><p> </p><p> This structure describes a bitrate that an 802.11 PHY can operate with. The two values <em class="parameter"><code>hw_value</code></em> and <em class="parameter"><code>hw_value_short</code></em> are only for driver use when pointers to this structure are passed around. </p></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-flags.html">Prev</a> </td><td width="20%" align="center"><a accesskey="u" href="bk01ch01.html">Up</a></td><td width="40%" align="right"> <a accesskey="n" href="API-struct-ieee80211-sta-ht-cap.html">Next</a></td></tr><tr><td width="40%" align="left" valign="top"><span>enum ieee80211_rate_flags</span> </td><td width="20%" align="center"><a accesskey="h" href="index.html">Home</a></td><td width="40%" align="right" valign="top"> <span>struct ieee80211_sta_ht_cap</span></td></tr></table></div></body></html>