1<html><head><meta http-equiv="Content-Type" content="text/html; charset=ANSI_X3.4-1968"><title>struct cfg80211_ap_settings</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="bk01ch02.html" title="Chapter 2. Actions and configuration"><link rel="prev" href="API-struct-cfg80211-beacon-data.html" title="struct cfg80211_beacon_data"><link rel="next" href="API-struct-station-parameters.html" title="struct station_parameters"></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 cfg80211_ap_settings</span></th></tr><tr><td width="20%" align="left"><a accesskey="p" href="API-struct-cfg80211-beacon-data.html">Prev</a> </td><th width="60%" align="center">Chapter 2. Actions and configuration</th><td width="20%" align="right"> <a accesskey="n" href="API-struct-station-parameters.html">Next</a></td></tr></table><hr></div><div class="refentry"><a name="API-struct-cfg80211-ap-settings"></a><div class="titlepage"></div><div class="refnamediv"><h2>Name</h2><p>struct cfg80211_ap_settings — 2 AP configuration 3 </p></div><div class="refsynopsisdiv"><h2>Synopsis</h2><pre class="programlisting"> 4struct cfg80211_ap_settings { 5 struct cfg80211_chan_def chandef; 6 struct cfg80211_beacon_data beacon; 7 int beacon_interval; 8 int dtim_period; 9 const u8 * ssid; 10 size_t ssid_len; 11 enum nl80211_hidden_ssid hidden_ssid; 12 struct cfg80211_crypto_settings crypto; 13 bool privacy; 14 enum nl80211_auth_type auth_type; 15 enum nl80211_smps_mode smps_mode; 16 int inactivity_timeout; 17 u8 p2p_ctwindow; 18 bool p2p_opp_ps; 19 const struct cfg80211_acl_data * acl; 20}; </pre></div><div class="refsect1"><a name="idp1112509652"></a><h2>Members</h2><div class="variablelist"><dl class="variablelist"><dt><span class="term">chandef</span></dt><dd><p> 21defines the channel to use 22 </p></dd><dt><span class="term">beacon</span></dt><dd><p> 23beacon data 24 </p></dd><dt><span class="term">beacon_interval</span></dt><dd><p> 25beacon interval 26 </p></dd><dt><span class="term">dtim_period</span></dt><dd><p> 27DTIM period 28 </p></dd><dt><span class="term">ssid</span></dt><dd><p> 29SSID to be used in the BSS (note: may be <code class="constant">NULL</code> if not provided from 30user space) 31 </p></dd><dt><span class="term">ssid_len</span></dt><dd><p> 32length of <em class="parameter"><code>ssid</code></em> 33 </p></dd><dt><span class="term">hidden_ssid</span></dt><dd><p> 34whether to hide the SSID in Beacon/Probe Response frames 35 </p></dd><dt><span class="term">crypto</span></dt><dd><p> 36crypto settings 37 </p></dd><dt><span class="term">privacy</span></dt><dd><p> 38the BSS uses privacy 39 </p></dd><dt><span class="term">auth_type</span></dt><dd><p> 40Authentication type (algorithm) 41 </p></dd><dt><span class="term">smps_mode</span></dt><dd><p> 42SMPS mode 43 </p></dd><dt><span class="term">inactivity_timeout</span></dt><dd><p> 44time in seconds to determine station's inactivity. 45 </p></dd><dt><span class="term">p2p_ctwindow</span></dt><dd><p> 46P2P CT Window 47 </p></dd><dt><span class="term">p2p_opp_ps</span></dt><dd><p> 48P2P opportunistic PS 49 </p></dd><dt><span class="term">acl</span></dt><dd><p> 50ACL configuration used by the drivers which has support for 51MAC address based access control 52 </p></dd></dl></div></div><div class="refsect1"><a name="idp1112520804"></a><h2>Description</h2><p> 53 </p><p> 54 55 Used to configure an AP interface. 56</p></div></div><div class="navfooter"><hr><table width="100%" summary="Navigation footer"><tr><td width="40%" align="left"><a accesskey="p" href="API-struct-cfg80211-beacon-data.html">Prev</a> </td><td width="20%" align="center"><a accesskey="u" href="bk01ch02.html">Up</a></td><td width="40%" align="right"> <a accesskey="n" href="API-struct-station-parameters.html">Next</a></td></tr><tr><td width="40%" align="left" valign="top"><span class="phrase">struct cfg80211_beacon_data</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">struct station_parameters</span></td></tr></table></div></body></html> 57