1<html><head><meta http-equiv="Content-Type" content="text/html; charset=ANSI_X3.4-1968"><title>struct cfg80211_ibss_params</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="bk01ch02.html" title="Chapter&#160;2.&#160;Actions and configuration"><link rel="prev" href="API-struct-cfg80211-disassoc-request.html" title="struct cfg80211_disassoc_request"><link rel="next" href="API-struct-cfg80211-connect-params.html" title="struct cfg80211_connect_params"></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_ibss_params</span></th></tr><tr><td width="20%" align="left"><a accesskey="p" href="API-struct-cfg80211-disassoc-request.html">Prev</a>&#160;</td><th width="60%" align="center">Chapter&#160;2.&#160;Actions and configuration</th><td width="20%" align="right">&#160;<a accesskey="n" href="API-struct-cfg80211-connect-params.html">Next</a></td></tr></table><hr></div><div class="refentry"><a name="API-struct-cfg80211-ibss-params"></a><div class="titlepage"></div><div class="refnamediv"><h2>Name</h2><p>struct cfg80211_ibss_params &#8212; 
2  IBSS parameters
3 </p></div><div class="refsynopsisdiv"><h2>Synopsis</h2><pre class="programlisting">
4struct cfg80211_ibss_params {
5  const u8 * ssid;
6  const u8 * bssid;
7  struct cfg80211_chan_def chandef;
8  const u8 * ie;
9  u8 ssid_len;
10  u8 ie_len;
11  u16 beacon_interval;
12  u32 basic_rates;
13  bool channel_fixed;
14  bool privacy;
15  bool control_port;
16  bool userspace_handles_dfs;
17  int mcast_rate[IEEE80211_NUM_BANDS];
18  struct ieee80211_ht_cap ht_capa;
19  struct ieee80211_ht_cap ht_capa_mask;
20};  </pre></div><div class="refsect1"><a name="idp1112704580"></a><h2>Members</h2><div class="variablelist"><dl class="variablelist"><dt><span class="term">ssid</span></dt><dd><p>
21The SSID, will always be non-null.
22      </p></dd><dt><span class="term">bssid</span></dt><dd><p>
23Fixed BSSID requested, maybe be <code class="constant">NULL</code>, if set do not
24search for IBSSs with a different BSSID.
25      </p></dd><dt><span class="term">chandef</span></dt><dd><p>
26defines the channel to use if no other IBSS to join can be found
27      </p></dd><dt><span class="term">ie</span></dt><dd><p>
28information element(s) to include in the beacon
29      </p></dd><dt><span class="term">ssid_len</span></dt><dd><p>
30The length of the SSID, will always be non-zero.
31      </p></dd><dt><span class="term">ie_len</span></dt><dd><p>
32length of that
33      </p></dd><dt><span class="term">beacon_interval</span></dt><dd><p>
34beacon interval to use
35      </p></dd><dt><span class="term">basic_rates</span></dt><dd><p>
36bitmap of basic rates to use when creating the IBSS
37      </p></dd><dt><span class="term">channel_fixed</span></dt><dd><p>
38The channel should be fixed -- do not search for
39IBSSs to join on other channels.
40      </p></dd><dt><span class="term">privacy</span></dt><dd><p>
41this is a protected network, keys will be configured
42after joining
43      </p></dd><dt><span class="term">control_port</span></dt><dd><p>
44whether user space controls IEEE 802.1X port, i.e.,
45sets/clears <code class="constant">NL80211_STA_FLAG_AUTHORIZED</code>. If true, the driver is
46required to assume that the port is unauthorized until authorized by
47user space. Otherwise, port is marked authorized by default.
48      </p></dd><dt><span class="term">userspace_handles_dfs</span></dt><dd><p>
49whether user space controls DFS operation, i.e.
50changes the channel when a radar is detected. This is required
51to operate on DFS channels.
52      </p></dd><dt><span class="term">mcast_rate[IEEE80211_NUM_BANDS]</span></dt><dd><p>
53per-band multicast rate index + 1 (0: disabled)
54      </p></dd><dt><span class="term">ht_capa</span></dt><dd><p>
55HT Capabilities over-rides.  Values set in ht_capa_mask
56will be used in ht_capa.  Un-supported values will be ignored.
57      </p></dd><dt><span class="term">ht_capa_mask</span></dt><dd><p>
58The bits of ht_capa which are to be used.
59      </p></dd></dl></div></div><div class="refsect1"><a name="idp1112716436"></a><h2>Description</h2><p>
60   </p><p>
61
62   This structure defines the IBSS parameters for the <code class="function">join_ibss</code>
63   method.
64</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-disassoc-request.html">Prev</a>&#160;</td><td width="20%" align="center"><a accesskey="u" href="bk01ch02.html">Up</a></td><td width="40%" align="right">&#160;<a accesskey="n" href="API-struct-cfg80211-connect-params.html">Next</a></td></tr><tr><td width="40%" align="left" valign="top"><span class="phrase">struct cfg80211_disassoc_request</span>&#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">struct cfg80211_connect_params</span></td></tr></table></div></body></html>
65