1<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> 2<html> 3 4<head> 5<META http-equiv="Content-Type" content="text/html; charset=windows-1252"> 6<META name="GENERATOR" content="Microsoft FrontPage 5.0"> 7<META http-equiv="Content-Style-Type" content="text/css"> 8<LINK rel="stylesheet" type="text/css" href="../CSS/revolution.css"> 9<title>WPADSetDisableChannel</title> 10</head> 11 12<body> 13 14<h1>WPADSetDisableChannel</h1> 15 16 17<h2>C Specification</h2> 18 19<dl> 20 <dd><pre><code>#include <revolution/wpad.h> 21 22#define WPAD_DISABLE_CLEAR 0 23#define WPAD_DISABLE_WIFI_CHAN_1 1 24#define WPAD_DISABLE_WIFI_CHAN_2 2 25#define WPAD_DISABLE_WIFI_CHAN_3 3 26#define WPAD_DISABLE_WIFI_CHAN_4 4 27#define WPAD_DISABLE_WIFI_CHAN_5 5 28#define WPAD_DISABLE_WIFI_CHAN_6 6 29#define WPAD_DISABLE_WIFI_CHAN_7 7 30#define WPAD_DISABLE_WIFI_CHAN_8 8 31#define WPAD_DISABLE_WIFI_CHAN_9 9 32#define WPAD_DISABLE_WIFI_CHAN_10 10 33#define WPAD_DISABLE_WIFI_CHAN_11 11 34#define WPAD_DISABLE_WIFI_CHAN_12 12 35#define WPAD_DISABLE_WIFI_CHAN_13 13 36#define WPAD_DISABLE_WIFI_CHAN_14 14 37 38void WPADSetDisableChannel( u16 disable )</code></pre> 39 </dd> 40</dl> 41 42<h2>Arguments</h2> 43<TABLE border="1"> 44 <tr> 45<TD width="120" bgcolor="#ffffe8"><code><b><i>disable</i></b></code></TD> 46<TD>Either <code>WPAD_DISABLE_CLEAR</code> or one of the <code>WPAD_DISABLE_WIFI_CHAN_*<i>n</i></code>.</TD> 47 </tr> 48</TABLE> 49<h2>Return Values</h2> 50 51<p>None.</p> 52<H2>Description</H2> 53<p> 54<font color="red"><b>The wireless LAN interference avoidance process is now performed inside the SDK. Nothing is actually executed internally when this function is called, so it always returns <code>TRUE</code>.</b></font> 55</p> 56<P> 57To avoid interference with wireless LANs, this specifies a frequency for the controllers that is not used by the LANs. A value obtained by OR'ing, <code>WPAD_DISABLE_WIFI_CHAN_<i>n</i></code> can be set for the argument <code>disable</code>. However, the frequency band specified must be continuous. 58</P> 59<p> 60In addition, it takes between ten and thirty seconds after this function is called for the hardware to switch the frequency band. 61</p> 62 63<h2>See Also</h2> 64<p> 65<A href="./toc.html" target="contents">WPAD Functions</A><br> 66</p> 67 68<H2>Revision History</H2> 69<P> 702006/09/18 Mentioned that the avoidance process is now performed inside the SDK.<br>2006/08/15 Changed the argument type to u16, and revised the argument descriptions.<br>2006/06/19 Initial version.<br> 71</P> 72<hr> 73<P>CONFIDENTIAL</p> 74</BODY> 75</HTML>