1<html><head><meta http-equiv="Content-Type" content="text/html; charset=ANSI_X3.4-1968"><title>cfg80211_testmode_event</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="bk01ch08.html" title="Chapter 8. Test mode"><link rel="prev" href="API-cfg80211-testmode-alloc-event-skb.html" title="cfg80211_testmode_alloc_event_skb"><link rel="next" href="mac80211-developers-guide.html" title="The mac80211 subsystem"></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">cfg80211_testmode_event</span></th></tr><tr><td width="20%" align="left"><a accesskey="p" href="API-cfg80211-testmode-alloc-event-skb.html">Prev</a> </td><th width="60%" align="center">Chapter 8. Test mode</th><td width="20%" align="right"> <a accesskey="n" href="mac80211-developers-guide.html">Next</a></td></tr></table><hr></div><div class="refentry"><a name="API-cfg80211-testmode-event"></a><div class="titlepage"></div><div class="refnamediv"><h2>Name</h2><p>cfg80211_testmode_event — 2 send the event 3 </p></div><div class="refsynopsisdiv"><h2>Synopsis</h2><div class="funcsynopsis"><table border="0" class="funcprototype-table" summary="Function synopsis" style="cellspacing: 0; cellpadding: 0;"><tr><td><code class="funcdef">void <b class="fsfunc">cfg80211_testmode_event </b>(</code></td><td>struct sk_buff * <var class="pdparam">skb</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"><a name="idp1113279628"></a><h2>Arguments</h2><div class="variablelist"><dl class="variablelist"><dt><span class="term"><em class="parameter"><code>skb</code></em></span></dt><dd><p> 4 The skb, must have been allocated with 5 <code class="function">cfg80211_testmode_alloc_event_skb</code> 6 </p></dd><dt><span class="term"><em class="parameter"><code>gfp</code></em></span></dt><dd><p> 7 allocation flags 8 </p></dd></dl></div></div><div class="refsect1"><a name="idp1113282612"></a><h2>Description</h2><p> 9 This function sends the given <em class="parameter"><code>skb</code></em>, which must have been allocated 10 by <code class="function">cfg80211_testmode_alloc_event_skb</code>, as an event. It always 11 consumes it. 12</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-testmode-alloc-event-skb.html">Prev</a> </td><td width="20%" align="center"><a accesskey="u" href="bk01ch08.html">Up</a></td><td width="40%" align="right"> <a accesskey="n" href="mac80211-developers-guide.html">Next</a></td></tr><tr><td width="40%" align="left" valign="top"><span class="phrase">cfg80211_testmode_alloc_event_skb</span> </td><td width="20%" align="center"><a accesskey="h" href="index.html">Home</a></td><td width="40%" align="right" valign="top"> The mac80211 subsystem</td></tr></table></div></body></html> 13