1<html><head><meta http-equiv="Content-Type" content="text/html; charset=ANSI_X3.4-1968"><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 &#8211; for kernel developers"><link rel="up" href="phy-handling.html" title="Chapter&#160;2.&#160;PHY configuration"><link rel="prev" href="phy-handling.html" title="Chapter&#160;2.&#160;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>&#160;</td><th width="60%" align="center">Chapter&#160;2.&#160;PHY configuration</th><td width="20%" align="right">&#160;<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 &#8212; 
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  int max_sleep_period;
9  u16 listen_interval;
10  u8 ps_dtim_period;
11  u8 long_frame_max_tx_count;
12  u8 short_frame_max_tx_count;
13  struct cfg80211_chan_def chandef;
14  bool radar_enabled;
15  enum ieee80211_smps_mode smps_mode;
16};  </pre></div><div class="refsect1"><a name="idp1113534948"></a><h2>Members</h2><div class="variablelist"><dl class="variablelist"><dt><span class="term">flags</span></dt><dd><p>
17configuration flags defined above
18      </p></dd><dt><span class="term">power_level</span></dt><dd><p>
19requested transmit power (in dBm), backward compatibility
20value only that is set to the minimum of all interfaces
21      </p></dd><dt><span class="term">dynamic_ps_timeout</span></dt><dd><p>
22The dynamic powersave timeout (in ms), see the
23powersave documentation below. This variable is valid only when
24the CONF_PS flag is set.
25      </p></dd><dt><span class="term">max_sleep_period</span></dt><dd><p>
26the maximum number of beacon intervals to sleep for
27before checking the beacon for a TIM bit (managed mode only); this
28value will be only achievable between DTIM frames, the hardware
29needs to check for the multicast traffic bit in DTIM beacons.
30This variable is valid only when the CONF_PS flag is set.
31      </p></dd><dt><span class="term">listen_interval</span></dt><dd><p>
32listen interval in units of beacon interval
33      </p></dd><dt><span class="term">ps_dtim_period</span></dt><dd><p>
34The DTIM period of the AP we're connected to, for use
35in power saving. Power saving will not be enabled until a beacon
36has been received and the DTIM period is known.
37      </p></dd><dt><span class="term">long_frame_max_tx_count</span></dt><dd><p>
38Maximum number of transmissions for a <span class="quote">&#8220;<span class="quote">long</span>&#8221;</span> frame
39(a frame not RTS protected), called <span class="quote">&#8220;<span class="quote">dot11LongRetryLimit</span>&#8221;</span> in 802.11,
40but actually means the number of transmissions not the number of retries
41      </p></dd><dt><span class="term">short_frame_max_tx_count</span></dt><dd><p>
42Maximum number of transmissions for a <span class="quote">&#8220;<span class="quote">short</span>&#8221;</span>
43frame, called <span class="quote">&#8220;<span class="quote">dot11ShortRetryLimit</span>&#8221;</span> in 802.11, but actually means the
44number of transmissions not the number of retries
45      </p></dd><dt><span class="term">chandef</span></dt><dd><p>
46the channel definition to tune to
47      </p></dd><dt><span class="term">radar_enabled</span></dt><dd><p>
48whether radar detection is enabled
49      </p></dd><dt><span class="term">smps_mode</span></dt><dd><p>
50spatial multiplexing powersave mode; note that
51<code class="constant">IEEE80211_SMPS_STATIC</code> is used when the device is not
52configured for an HT channel.
53Note that this is only valid if channel contexts are not used,
54otherwise each channel context has the number of chains listed.
55      </p></dd></dl></div></div><div class="refsect1"><a name="idp1113545508"></a><h2>Description</h2><p>
56   </p><p>
57
58   This struct indicates how the driver shall configure the hardware.
59</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>&#160;</td><td width="20%" align="center"><a accesskey="u" href="phy-handling.html">Up</a></td><td width="40%" align="right">&#160;<a accesskey="n" href="API-enum-ieee80211-conf-flags.html">Next</a></td></tr><tr><td width="40%" align="left" valign="top">Chapter&#160;2.&#160;PHY configuration&#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">enum ieee80211_conf_flags</span></td></tr></table></div></body></html>
60