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 &lt;revolution/wpad.h&gt;
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><code><b><i>disable</i></b></code></TD>
46<TD>Either <code>WPAD_DISABLE_CLEAR</code> or one of <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>
54To 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.
55</P>
56<p>
57In addition, it takes between ten and thirty seconds after this function is called for the hardware to switch the frequency band.
58</p>
59
60<h2>See Also</h2>
61<p>
62<A href="./toc.html" target="contents"><CODE>WPAD Functions</CODE></A><br>
63</p>
64
65<H2>Revision History</H2>
66<P>
6708/15/2006 Changed an argument type to u16 and revised the description of the argument.<br> 06/19/2006 Initial version.<br>
68</P>
69<hr>
70<P>CONFIDENTIAL</p>
71</BODY>
72</HTML>