1<html><head><meta http-equiv="Content-Type" content="text/html; charset=UTF-8"><title>struct ieee80211_conf</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="phy-handling.html" title="Chapter 2. PHY configuration"><link rel="prev" href="phy-handling.html" title="Chapter 2. PHY configuration"><link rel="next" href="API-enum-ieee80211-conf-flags.html" title="enum ieee80211_conf_flags"></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_conf</span></th></tr><tr><td width="20%" align="left"><a accesskey="p" href="phy-handling.html">Prev</a> </td><th width="60%" align="center">Chapter 2. PHY configuration</th><td width="20%" align="right"> <a accesskey="n" href="API-enum-ieee80211-conf-flags.html">Next</a></td></tr></table><hr></div><div class="refentry"><a name="API-struct-ieee80211-conf"></a><div class="titlepage"></div><div class="refnamediv"><h2>Name</h2><p>struct ieee80211_conf — 2 configuration of the device 3 </p></div><div class="refsynopsisdiv"><h2>Synopsis</h2><pre class="programlisting"> 4struct ieee80211_conf { 5 u32 flags; 6 int power_level; 7 int dynamic_ps_timeout; 8 u16 listen_interval; 9 u8 ps_dtim_period; 10 u8 long_frame_max_tx_count; 11 u8 short_frame_max_tx_count; 12 struct cfg80211_chan_def chandef; 13 bool radar_enabled; 14 enum ieee80211_smps_mode smps_mode; 15}; </pre></div><div class="refsect1"><a name="id-1.3.3.4.4.5"></a><h2>Members</h2><div class="variablelist"><dl class="variablelist"><dt><span class="term">flags</span></dt><dd><p> 16configuration flags defined above 17 </p></dd><dt><span class="term">power_level</span></dt><dd><p> 18requested transmit power (in dBm), backward compatibility 19value only that is set to the minimum of all interfaces 20 </p></dd><dt><span class="term">dynamic_ps_timeout</span></dt><dd><p> 21The dynamic powersave timeout (in ms), see the 22powersave documentation below. This variable is valid only when 23the CONF_PS flag is set. 24 </p></dd><dt><span class="term">listen_interval</span></dt><dd><p> 25listen interval in units of beacon interval 26 </p></dd><dt><span class="term">ps_dtim_period</span></dt><dd><p> 27The DTIM period of the AP we're connected to, for use 28in power saving. Power saving will not be enabled until a beacon 29has been received and the DTIM period is known. 30 </p></dd><dt><span class="term">long_frame_max_tx_count</span></dt><dd><p> 31Maximum number of transmissions for a <span class="quote">“<span class="quote">long</span>”</span> frame 32(a frame not RTS protected), called <span class="quote">“<span class="quote">dot11LongRetryLimit</span>”</span> in 802.11, 33but actually means the number of transmissions not the number of retries 34 </p></dd><dt><span class="term">short_frame_max_tx_count</span></dt><dd><p> 35Maximum number of transmissions for a <span class="quote">“<span class="quote">short</span>”</span> 36frame, called <span class="quote">“<span class="quote">dot11ShortRetryLimit</span>”</span> in 802.11, but actually means the 37number of transmissions not the number of retries 38 </p></dd><dt><span class="term">chandef</span></dt><dd><p> 39the channel definition to tune to 40 </p></dd><dt><span class="term">radar_enabled</span></dt><dd><p> 41whether radar detection is enabled 42 </p></dd><dt><span class="term">smps_mode</span></dt><dd><p> 43spatial multiplexing powersave mode; note that 44<code class="constant">IEEE80211_SMPS_STATIC</code> is used when the device is not 45configured for an HT channel. 46Note that this is only valid if channel contexts are not used, 47otherwise each channel context has the number of chains listed. 48 </p></dd></dl></div></div><div class="refsect1"><a name="id-1.3.3.4.4.6"></a><h2>Description</h2><p> 49 </p><p> 50 51 This struct indicates how the driver shall configure the hardware. 52</p></div></div><div class="navfooter"><hr><table width="100%" summary="Navigation footer"><tr><td width="40%" align="left"><a accesskey="p" href="phy-handling.html">Prev</a> </td><td width="20%" align="center"><a accesskey="u" href="phy-handling.html">Up</a></td><td width="40%" align="right"> <a accesskey="n" href="API-enum-ieee80211-conf-flags.html">Next</a></td></tr><tr><td width="40%" align="left" valign="top">Chapter 2. PHY configuration </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">enum ieee80211_conf_flags</span></td></tr></table></div></body></html> 53