<?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_conf</title><meta name="generator" content="DocBook XSL Stylesheets V1.75.2" /><link rel="home" href="index.html" title="The mac80211 subsystem for kernel developers" /><link rel="up" href="ch02.html" title="Chapter 2. PHY configuration" /><link rel="prev" href="ch02.html" title="Chapter 2. PHY configuration" /><link rel="next" href="re15.html" title="enum ieee80211_conf_flags" /></head><body><div class="navheader"><table width="100%" summary="Navigation header"><tr><th colspan="3" align="center"><span>struct ieee80211_conf</span></th></tr><tr><td width="20%" align="left"><a accesskey="p" href="ch02.html">Prev</a> </td><th width="60%" align="center">Chapter 2. PHY configuration</th><td width="20%" align="right"> <a accesskey="n" href="re15.html">Next</a></td></tr></table><hr /></div><div class="refentry" title="struct ieee80211_conf"><a id="API-struct-ieee80211-conf"></a><div class="titlepage"></div><div class="refnamediv"><h2>Name</h2><p>struct ieee80211_conf — configuration of the device </p></div><div class="refsynopsisdiv" title="Synopsis"><h2>Synopsis</h2><pre class="programlisting"> struct ieee80211_conf { u32 flags; int power_level; int dynamic_ps_timeout; int max_sleep_period; u16 listen_interval; u8 long_frame_max_tx_count; u8 short_frame_max_tx_count; struct ieee80211_channel * channel; enum nl80211_channel_type channel_type; }; </pre></div><div class="refsect1" title="Members"><a id="id2706967"></a><h2>Members</h2><div class="variablelist"><dl><dt><span class="term">flags</span></dt><dd><p> configuration flags defined above </p></dd><dt><span class="term">power_level</span></dt><dd><p> requested transmit power (in dBm) </p></dd><dt><span class="term">dynamic_ps_timeout</span></dt><dd><p> The dynamic powersave timeout (in ms), see the powersave documentation below. This variable is valid only when the CONF_PS flag is set. </p></dd><dt><span class="term">max_sleep_period</span></dt><dd><p> the maximum number of beacon intervals to sleep for before checking the beacon for a TIM bit (managed mode only); this value will be only achievable between DTIM frames, the hardware needs to check for the multicast traffic bit in DTIM beacons. This variable is valid only when the CONF_PS flag is set. </p></dd><dt><span class="term">listen_interval</span></dt><dd><p> listen interval in units of beacon interval </p></dd><dt><span class="term">long_frame_max_tx_count</span></dt><dd><p> Maximum number of transmissions for a <span class="quote">“<span class="quote">long</span>”</span> frame (a frame not RTS protected), called <span class="quote">“<span class="quote">dot11LongRetryLimit</span>”</span> in 802.11, but actually means the number of transmissions not the number of retries </p></dd><dt><span class="term">short_frame_max_tx_count</span></dt><dd><p> Maximum number of transmissions for a <span class="quote">“<span class="quote">short</span>”</span> frame, called <span class="quote">“<span class="quote">dot11ShortRetryLimit</span>”</span> in 802.11, but actually means the number of transmissions not the number of retries </p></dd><dt><span class="term">channel</span></dt><dd><p> the channel to tune to </p></dd><dt><span class="term">channel_type</span></dt><dd><p> the channel (HT) type </p></dd></dl></div></div><div class="refsect1" title="Description"><a id="id2707103"></a><h2>Description</h2><p> </p><p> This struct indicates how the driver shall configure the hardware. </p></div></div><div class="navfooter"><hr /><table width="100%" summary="Navigation footer"><tr><td width="40%" align="left"><a accesskey="p" href="ch02.html">Prev</a> </td><td width="20%" align="center"><a accesskey="u" href="ch02.html">Up</a></td><td width="40%" align="right"> <a accesskey="n" href="re15.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>enum ieee80211_conf_flags</span></td></tr></table></div></body></html>