1<html><head><meta http-equiv="Content-Type" content="text/html; charset=ANSI_X3.4-1968"><title>wimax_report_rfkill_sw</title><meta name="generator" content="DocBook XSL Stylesheets V1.78.1"><link rel="home" href="index.html" title="Linux Networking and Network Devices APIs"><link rel="up" href="ch01s06.html" title="WiMAX"><link rel="prev" href="API-wimax-report-rfkill-hw.html" title="wimax_report_rfkill_hw"><link rel="next" href="API-wimax-rfkill.html" title="wimax_rfkill"></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">wimax_report_rfkill_sw</span></th></tr><tr><td width="20%" align="left"><a accesskey="p" href="API-wimax-report-rfkill-hw.html">Prev</a> </td><th width="60%" align="center">WiMAX</th><td width="20%" align="right"> <a accesskey="n" href="API-wimax-rfkill.html">Next</a></td></tr></table><hr></div><div class="refentry"><a name="API-wimax-report-rfkill-sw"></a><div class="titlepage"></div><div class="refnamediv"><h2>Name</h2><p>wimax_report_rfkill_sw — 2 Reports changes in the software RF switch 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">wimax_report_rfkill_sw </b>(</code></td><td>struct wimax_dev * <var class="pdparam">wimax_dev</var>, </td></tr><tr><td> </td><td>enum wimax_rf_state <var class="pdparam">state</var><code>)</code>;</td></tr></table><div class="funcprototype-spacer"> </div></div></div><div class="refsect1"><a name="idp1097620684"></a><h2>Arguments</h2><div class="variablelist"><dl class="variablelist"><dt><span class="term"><em class="parameter"><code>wimax_dev</code></em></span></dt><dd><p> 4 WiMAX device descriptor 5 </p></dd><dt><span class="term"><em class="parameter"><code>state</code></em></span></dt><dd><p> 6 New state of the RF kill switch. <code class="constant">WIMAX_RF_ON</code> radio on, 7 <code class="constant">WIMAX_RF_OFF</code> radio off. 8 </p></dd></dl></div></div><div class="refsect1"><a name="idp1097623804"></a><h2>Description</h2><p> 9 Reports changes in the software RF switch state to the the WiMAX 10 stack. 11 </p><p> 12 13 The main use is during initialization, so the driver can query the 14 device for its current software radio kill switch state and feed it 15 to the system. 16 </p><p> 17 18 On the side, the device does not change the software state by 19 itself. In practice, this can happen, as the device might decide to 20 switch (in software) the radio off for different reasons. 21</p></div></div><div class="navfooter"><hr><table width="100%" summary="Navigation footer"><tr><td width="40%" align="left"><a accesskey="p" href="API-wimax-report-rfkill-hw.html">Prev</a> </td><td width="20%" align="center"><a accesskey="u" href="ch01s06.html">Up</a></td><td width="40%" align="right"> <a accesskey="n" href="API-wimax-rfkill.html">Next</a></td></tr><tr><td width="40%" align="left" valign="top"><span class="phrase">wimax_report_rfkill_hw</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">wimax_rfkill</span></td></tr></table></div></body></html> 22