<?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>cfg80211_michael_mic_failure</title><meta name="generator" content="DocBook XSL Stylesheets V1.76.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-cfg80211-cqm-pktloss-notify.html" title="cfg80211_cqm_pktloss_notify" /><link rel="next" href="bk01ch03.html" title="Chapter 3. Scanning and BSS list handling" /></head><body><div class="navheader"><table width="100%" summary="Navigation header"><tr><th colspan="3" align="center"><span>cfg80211_michael_mic_failure</span></th></tr><tr><td width="20%" align="left"><a accesskey="p" href="API-cfg80211-cqm-pktloss-notify.html">Prev</a> </td><th width="60%" align="center">Chapter 2. Actions and configuration</th><td width="20%" align="right"> <a accesskey="n" href="bk01ch03.html">Next</a></td></tr></table><hr /></div><div class="refentry" title="cfg80211_michael_mic_failure"><a id="API-cfg80211-michael-mic-failure"></a><div class="titlepage"></div><div class="refnamediv"><h2>Name</h2><p>cfg80211_michael_mic_failure — notification of Michael MIC failure (TKIP) </p></div><div class="refsynopsisdiv" title="Synopsis"><h2>Synopsis</h2><div class="funcsynopsis"><table border="0" summary="Function synopsis" cellspacing="0" cellpadding="0" class="funcprototype-table"><tr><td><code class="funcdef">void <strong>fsfunccfg80211_michael_mic_failure </strong>(</code></td><td>struct net_device * <var class="pdparam">dev</var>, </td></tr><tr><td> </td><td>const u8 * <var class="pdparam">addr</var>, </td></tr><tr><td> </td><td>enum nl80211_key_type <var class="pdparam">key_type</var>, </td></tr><tr><td> </td><td>int <var class="pdparam">key_id</var>, </td></tr><tr><td> </td><td>const u8 * <var class="pdparam">tsc</var>, </td></tr><tr><td> </td><td>gfp_t <var class="pdparam">gfp</var><code>)</code>;</td></tr></table><div class="funcprototype-spacer"> </div></div></div><div class="refsect1" title="Arguments"><a id="id3039542"></a><h2>Arguments</h2><div class="variablelist"><dl><dt><span class="term"><em class="parameter"><code>dev</code></em></span></dt><dd><p> network device </p></dd><dt><span class="term"><em class="parameter"><code>addr</code></em></span></dt><dd><p> The source MAC address of the frame </p></dd><dt><span class="term"><em class="parameter"><code>key_type</code></em></span></dt><dd><p> The key type that the received frame used </p></dd><dt><span class="term"><em class="parameter"><code>key_id</code></em></span></dt><dd><p> Key identifier (0..3) </p></dd><dt><span class="term"><em class="parameter"><code>tsc</code></em></span></dt><dd><p> The TSC value of the frame that generated the MIC failure (6 octets) </p></dd><dt><span class="term"><em class="parameter"><code>gfp</code></em></span></dt><dd><p> allocation flags </p></dd></dl></div></div><div class="refsect1" title="Description"><a id="id3039651"></a><h2>Description</h2><p> This function is called whenever the local MAC detects a MIC failure in a received frame. This matches with MLME-MICHAELMICFAILURE.<code class="function">indication</code> primitive. </p></div></div><div class="navfooter"><hr /><table width="100%" summary="Navigation footer"><tr><td width="40%" align="left"><a accesskey="p" href="API-cfg80211-cqm-pktloss-notify.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="bk01ch03.html">Next</a></td></tr><tr><td width="40%" align="left" valign="top"><span>cfg80211_cqm_pktloss_notify</span> </td><td width="20%" align="center"><a accesskey="h" href="index.html">Home</a></td><td width="40%" align="right" valign="top"> Chapter 3. Scanning and BSS list handling</td></tr></table></div></body></html>