1<html><head><meta http-equiv="Content-Type" content="text/html; charset=ANSI_X3.4-1968"><title>struct cfg80211_crypto_settings</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-ieee80211-txq-params.html" title="struct ieee80211_txq_params"><link rel="next" href="API-struct-cfg80211-auth-request.html" title="struct cfg80211_auth_request"></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_crypto_settings</span></th></tr><tr><td width="20%" align="left"><a accesskey="p" href="API-struct-ieee80211-txq-params.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-auth-request.html">Next</a></td></tr></table><hr></div><div class="refentry"><a name="API-struct-cfg80211-crypto-settings"></a><div class="titlepage"></div><div class="refnamediv"><h2>Name</h2><p>struct cfg80211_crypto_settings &#8212; 
2  Crypto settings
3 </p></div><div class="refsynopsisdiv"><h2>Synopsis</h2><pre class="programlisting">
4struct cfg80211_crypto_settings {
5  u32 wpa_versions;
6  u32 cipher_group;
7  int n_ciphers_pairwise;
8  u32 ciphers_pairwise[NL80211_MAX_NR_CIPHER_SUITES];
9  int n_akm_suites;
10  u32 akm_suites[NL80211_MAX_NR_AKM_SUITES];
11  bool control_port;
12  __be16 control_port_ethertype;
13  bool control_port_no_encrypt;
14};  </pre></div><div class="refsect1"><a name="idp1112649172"></a><h2>Members</h2><div class="variablelist"><dl class="variablelist"><dt><span class="term">wpa_versions</span></dt><dd><p>
15indicates which, if any, WPA versions are enabled
16(from enum nl80211_wpa_versions)
17      </p></dd><dt><span class="term">cipher_group</span></dt><dd><p>
18group key cipher suite (or 0 if unset)
19      </p></dd><dt><span class="term">n_ciphers_pairwise</span></dt><dd><p>
20number of AP supported unicast ciphers
21      </p></dd><dt><span class="term">ciphers_pairwise[NL80211_MAX_NR_CIPHER_SUITES]</span></dt><dd><p>
22unicast key cipher suites
23      </p></dd><dt><span class="term">n_akm_suites</span></dt><dd><p>
24number of AKM suites
25      </p></dd><dt><span class="term">akm_suites[NL80211_MAX_NR_AKM_SUITES]</span></dt><dd><p>
26AKM suites
27      </p></dd><dt><span class="term">control_port</span></dt><dd><p>
28Whether user space controls IEEE 802.1X port, i.e.,
29sets/clears <code class="constant">NL80211_STA_FLAG_AUTHORIZED</code>. If true, the driver is
30required to assume that the port is unauthorized until authorized by
31user space. Otherwise, port is marked authorized by default.
32      </p></dd><dt><span class="term">control_port_ethertype</span></dt><dd><p>
33the control port protocol that should be
34allowed through even on unauthorized ports
35      </p></dd><dt><span class="term">control_port_no_encrypt</span></dt><dd><p>
36TRUE to prevent encryption of control port
37protocol frames.
38      </p></dd></dl></div></div></div><div class="navfooter"><hr><table width="100%" summary="Navigation footer"><tr><td width="40%" align="left"><a accesskey="p" href="API-struct-ieee80211-txq-params.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-auth-request.html">Next</a></td></tr><tr><td width="40%" align="left" valign="top"><span class="phrase">struct ieee80211_txq_params</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_auth_request</span></td></tr></table></div></body></html>
39