1<html><head><meta http-equiv="Content-Type" content="text/html; charset=ANSI_X3.4-1968"><title>wimax_report_rfkill_hw</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-reset.html" title="wimax_reset"><link rel="next" href="API-wimax-report-rfkill-sw.html" title="wimax_report_rfkill_sw"></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_hw</span></th></tr><tr><td width="20%" align="left"><a accesskey="p" href="API-wimax-reset.html">Prev</a> </td><th width="60%" align="center">WiMAX</th><td width="20%" align="right"> <a accesskey="n" href="API-wimax-report-rfkill-sw.html">Next</a></td></tr></table><hr></div><div class="refentry"><a name="API-wimax-report-rfkill-hw"></a><div class="titlepage"></div><div class="refnamediv"><h2>Name</h2><p>wimax_report_rfkill_hw — 2 Reports changes in the hardware 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_hw </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="idp1097610692"></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="idp1097613812"></a><h2>Description</h2><p> 9 When the device detects a change in the state of thehardware RF 10 switch, it must call this function to let the WiMAX kernel stack 11 know that the state has changed so it can be properly propagated. 12 </p><p> 13 14 The WiMAX stack caches the state (the driver doesn't need to). As 15 well, as the change is propagated it will come back as a request to 16 change the software state to mirror the hardware state. 17 </p><p> 18 19 If the device doesn't have a hardware kill switch, just report 20 it on initialization as always on (<code class="constant">WIMAX_RF_ON</code>, radio on). 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-reset.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-report-rfkill-sw.html">Next</a></td></tr><tr><td width="40%" align="left" valign="top"><span class="phrase">wimax_reset</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_report_rfkill_sw</span></td></tr></table></div></body></html> 22