1<html><head><meta http-equiv="Content-Type" content="text/html; charset=ANSI_X3.4-1968"><title>Calling into mac80211 from interrupts</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="rx-tx.html" title="Chapter 4. Receive and transmit processing"><link rel="prev" href="bk02pt01ch04s03.html" title="Packet alignment"><link rel="next" href="bk02pt01ch04s05.html" title="functions/definitions"></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">Calling into mac80211 from interrupts</th></tr><tr><td width="20%" align="left"><a accesskey="p" href="bk02pt01ch04s03.html">Prev</a> </td><th width="60%" align="center">Chapter 4. Receive and transmit processing</th><td width="20%" align="right"> <a accesskey="n" href="bk02pt01ch04s05.html">Next</a></td></tr></table><hr></div><div class="sect1"><div class="titlepage"><div><div><h2 class="title" style="clear: both"><a name="idp1113578996"></a>Calling into mac80211 from interrupts</h2></div></div></div><p> 2 </p><p> 3 Only <code class="function">ieee80211_tx_status_irqsafe</code> and <code class="function">ieee80211_rx_irqsafe</code> can be 4 called in hardware interrupt context. The low-level driver must not call any 5 other functions in hardware interrupt context. If there is a need for such 6 call, the low-level driver should first ACK the interrupt and perform the 7 IEEE 802.11 code call after this, e.g. from a scheduled workqueue or even 8 tasklet function. 9 </p><p> 10 NOTE: If the driver opts to use the <code class="function">_irqsafe</code> functions, it may not also 11 use the non-IRQ-safe functions! 12</p></div><div class="navfooter"><hr><table width="100%" summary="Navigation footer"><tr><td width="40%" align="left"><a accesskey="p" href="bk02pt01ch04s03.html">Prev</a> </td><td width="20%" align="center"><a accesskey="u" href="rx-tx.html">Up</a></td><td width="40%" align="right"> <a accesskey="n" href="bk02pt01ch04s05.html">Next</a></td></tr><tr><td width="40%" align="left" valign="top">Packet alignment </td><td width="20%" align="center"><a accesskey="h" href="index.html">Home</a></td><td width="40%" align="right" valign="top"> functions/definitions</td></tr></table></div></body></html> 13