Sophie

Sophie

distrib > CentOS > 6 > i386 > by-pkgid > 2c51d8eb79f8810ada971ee8c30ce1e5 > files > 2550

kernel-doc-2.6.32-71.14.1.el6.noarch.rpm

<?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_key_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="ch06.html" title="Chapter&#160;6.&#160;Hardware crypto acceleration" /><link rel="prev" href="re34.html" title="enum set_key_cmd" /><link rel="next" href="re36.html" title="enum ieee80211_key_alg" /></head><body><div class="navheader"><table width="100%" summary="Navigation header"><tr><th colspan="3" align="center"><span>struct ieee80211_key_conf</span></th></tr><tr><td width="20%" align="left"><a accesskey="p" href="re34.html">Prev</a>&#160;</td><th width="60%" align="center">Chapter&#160;6.&#160;Hardware crypto acceleration</th><td width="20%" align="right">&#160;<a accesskey="n" href="re36.html">Next</a></td></tr></table><hr /></div><div class="refentry" title="struct ieee80211_key_conf"><a id="API-struct-ieee80211-key-conf"></a><div class="titlepage"></div><div class="refnamediv"><h2>Name</h2><p>struct ieee80211_key_conf &#8212; 
  key information
 </p></div><div class="refsynopsisdiv" title="Synopsis"><h2>Synopsis</h2><pre class="programlisting">
struct ieee80211_key_conf {
  enum ieee80211_key_alg alg;
  u8 icv_len;
  u8 iv_len;
  u8 hw_key_idx;
  u8 flags;
  s8 keyidx;
  u8 keylen;
  u8 key[0];
};  </pre></div><div class="refsect1" title="Members"><a id="id2711029"></a><h2>Members</h2><div class="variablelist"><dl><dt><span class="term">alg</span></dt><dd><p>
The key algorithm.
      </p></dd><dt><span class="term">icv_len</span></dt><dd><p>
The ICV length for this key type
      </p></dd><dt><span class="term">iv_len</span></dt><dd><p>
The IV length for this key type
      </p></dd><dt><span class="term">hw_key_idx</span></dt><dd><p>
To be set by the driver, this is the key index the driver
wants to be given when a frame is transmitted and needs to be
encrypted in hardware.
      </p></dd><dt><span class="term">flags</span></dt><dd><p>
key flags, see <span class="structname">enum</span> ieee80211_key_flags.
      </p></dd><dt><span class="term">keyidx</span></dt><dd><p>
the key index (0-3)
      </p></dd><dt><span class="term">keylen</span></dt><dd><p>
key material length
      </p></dd><dt><span class="term">key[0]</span></dt><dd><p>
key material. For ALG_TKIP the key is encoded as a 256-bit (32 byte)
      </p></dd></dl></div></div><div class="refsect1" title="Description"><a id="id2711133"></a><h2>Description</h2><p>
   </p><p>

   This key information is given by mac80211 to the driver by
   the <code class="function">set_key</code> callback in <span class="structname">struct ieee80211_ops</span>.
</p></div><div class="refsect1" title="data block"><a id="id2711154"></a><h2>data block</h2><p>
   - Temporal Encryption Key (128 bits)
   - Temporal Authenticator Tx MIC Key (64 bits)
   - Temporal Authenticator Rx MIC Key (64 bits)
</p></div></div><div class="navfooter"><hr /><table width="100%" summary="Navigation footer"><tr><td width="40%" align="left"><a accesskey="p" href="re34.html">Prev</a>&#160;</td><td width="20%" align="center"><a accesskey="u" href="ch06.html">Up</a></td><td width="40%" align="right">&#160;<a accesskey="n" href="re36.html">Next</a></td></tr><tr><td width="40%" align="left" valign="top"><span>enum set_key_cmd</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>enum ieee80211_key_alg</span></td></tr></table></div></body></html>