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 (obsolete)</h1> 15 16<h2>Syntax</h2> 17<dl><dd><pre class="construction"> 18#include <revolution/wpad.h> 19 20#define WPAD_DISABLE_CLEAR 0x0000 21#define WPAD_DISABLE_WIFI_CHAN_1 0x0001 22#define WPAD_DISABLE_WIFI_CHAN_2 0x0002 23#define WPAD_DISABLE_WIFI_CHAN_3 0x0004 24#define WPAD_DISABLE_WIFI_CHAN_4 0x0008 25#define WPAD_DISABLE_WIFI_CHAN_5 0x0010 26#define WPAD_DISABLE_WIFI_CHAN_6 0x0020 27#define WPAD_DISABLE_WIFI_CHAN_7 0x0040 28#define WPAD_DISABLE_WIFI_CHAN_8 0x0080 29#define WPAD_DISABLE_WIFI_CHAN_9 0x0100 30#define WPAD_DISABLE_WIFI_CHAN_10 0x0200 31#define WPAD_DISABLE_WIFI_CHAN_11 0x0400 32#define WPAD_DISABLE_WIFI_CHAN_12 0x0800 33#define WPAD_DISABLE_WIFI_CHAN_13 0x1000 34#define WPAD_DISABLE_WIFI_CHAN_14 0x2000 35 36void WPADSetDisableChannel( u16 disable ); 37</pre></dd></dl> 38 39<h2>Arguments</h2> 40<TABLE class="arguments" border="1" > 41 <tr> 42<TH>disable</TH> 43<TD>Either <code>WPAD_DISABLE_CLEAR</code> or one of <code>WPAD_DISABLE_WIFI_CHAN_<i>n</i></code>.</TD> 44 </tr> 45</TABLE> 46 47<h2>Return Values</h2> 48<p>None.</p> 49 50<H2>Description</H2> 51<p> 52<font color="red"><b>The wireless LAN interference avoidance process is now performed inside the SDK. For this reason, when this function is called, nothing is actually executed internally, so it always returns <code>TRUE</code>.</b></font> 53</p> 54<P> 55Specifies a frequency not to be used for wireless communication for the controllers to avoid interference with wireless LANs. A value obtained by OR'ing <code>WPAD_DISABLE_WIFI_CHAN_<i>n</i></code> can be set for the <SPAN class="argument">disable</SPAN> argument. However, the frequency band specified must be continuous. 56</P> 57<p> 58In addition, it takes between ten and thirty seconds after this function is called for the hardware to switch the frequency band. 59</p> 60 61<h2>See Also</h2> 62<p> 63None. 64</p> 65 66<H2>Revision History</H2> 67<P> 682007/09/18 Revised the definition of <code>WPAD_DISABLE_WIFI_CHAN_<i>n</i></code>.<br>2006/09/18 Mentioned that the avoidance process is now performed inside the SDK.<br>2006/08/15 Changed an argument type to <CODE>u16</CODE> and revised the description of the argument.<br>2006/06/19 Initial version.<br> 69</P> 70<hr><p>CONFIDENTIAL</p></body> 71</html>