1<html><head><meta http-equiv="Content-Type" content="text/html; charset=ANSI_X3.4-1968"><title>ieee80211_find_sta</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="station-handling.html" title="Chapter 14. Station handling"><link rel="prev" href="API-enum-sta-notify-cmd.html" title="enum sta_notify_cmd"><link rel="next" href="API-ieee80211-find-sta-by-ifaddr.html" title="ieee80211_find_sta_by_ifaddr"></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">ieee80211_find_sta</span></th></tr><tr><td width="20%" align="left"><a accesskey="p" href="API-enum-sta-notify-cmd.html">Prev</a> </td><th width="60%" align="center">Chapter 14. Station handling</th><td width="20%" align="right"> <a accesskey="n" href="API-ieee80211-find-sta-by-ifaddr.html">Next</a></td></tr></table><hr></div><div class="refentry"><a name="API-ieee80211-find-sta"></a><div class="titlepage"></div><div class="refnamediv"><h2>Name</h2><p>ieee80211_find_sta — 2 find a station 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">struct ieee80211_sta * <b class="fsfunc">ieee80211_find_sta </b>(</code></td><td>struct ieee80211_vif * <var class="pdparam">vif</var>, </td></tr><tr><td> </td><td>const u8 * <var class="pdparam">addr</var><code>)</code>;</td></tr></table><div class="funcprototype-spacer"> </div></div></div><div class="refsect1"><a name="idp1114264708"></a><h2>Arguments</h2><div class="variablelist"><dl class="variablelist"><dt><span class="term"><em class="parameter"><code>vif</code></em></span></dt><dd><p> 4 virtual interface to look for station on 5 </p></dd><dt><span class="term"><em class="parameter"><code>addr</code></em></span></dt><dd><p> 6 station's address 7 </p></dd></dl></div></div><div class="refsect1"><a name="idp1114267348"></a><h2>Return</h2><p> 8 The station, if found. <code class="constant">NULL</code> otherwise. 9</p></div><div class="refsect1"><a name="idp1114268204"></a><h2>Note</h2><p> 10 This function must be called under RCU lock and the 11 resulting pointer is only valid under RCU lock as well. 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-enum-sta-notify-cmd.html">Prev</a> </td><td width="20%" align="center"><a accesskey="u" href="station-handling.html">Up</a></td><td width="40%" align="right"> <a accesskey="n" href="API-ieee80211-find-sta-by-ifaddr.html">Next</a></td></tr><tr><td width="40%" align="left" valign="top"><span class="phrase">enum sta_notify_cmd</span> </td><td width="20%" align="center"><a accesskey="h" href="index.html">Home</a></td><td width="40%" align="right" valign="top"> <span class="phrase">ieee80211_find_sta_by_ifaddr</span></td></tr></table></div></body></html> 13