WPADSetDisableChannel (obsolete)

Syntax

#include <revolution/wpad.h>

#define WPAD_DISABLE_CLEAR           0x0000
#define WPAD_DISABLE_WIFI_CHAN_1     0x0001
#define WPAD_DISABLE_WIFI_CHAN_2     0x0002
#define WPAD_DISABLE_WIFI_CHAN_3     0x0004
#define WPAD_DISABLE_WIFI_CHAN_4     0x0008
#define WPAD_DISABLE_WIFI_CHAN_5     0x0010
#define WPAD_DISABLE_WIFI_CHAN_6     0x0020
#define WPAD_DISABLE_WIFI_CHAN_7     0x0040
#define WPAD_DISABLE_WIFI_CHAN_8     0x0080
#define WPAD_DISABLE_WIFI_CHAN_9     0x0100
#define WPAD_DISABLE_WIFI_CHAN_10    0x0200
#define WPAD_DISABLE_WIFI_CHAN_11    0x0400
#define WPAD_DISABLE_WIFI_CHAN_12    0x0800
#define WPAD_DISABLE_WIFI_CHAN_13    0x1000
#define WPAD_DISABLE_WIFI_CHAN_14    0x2000

void WPADSetDisableChannel( u16 disable );

Arguments

disable Either WPAD_DISABLE_CLEAR or one of WPAD_DISABLE_WIFI_CHAN_n.

Return Values

None.

Description

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 TRUE.

Specifies a frequency not to be used for wireless communication for the controllers to avoid interference with wireless LANs. A value obtained by OR'ing WPAD_DISABLE_WIFI_CHAN_n can be set for the disable argument. However, the frequency band specified must be continuous.

In addition, it takes between ten and thirty seconds after this function is called for the hardware to switch the frequency band.

See Also

None.

Revision History

2007/09/18 Revised the definition of WPAD_DISABLE_WIFI_CHAN_n.
2006/09/18 Mentioned that the avoidance process is now performed inside the SDK.
2006/08/15 Changed an argument type to u16 and revised the description of the argument.
2006/06/19 Initial version.


CONFIDENTIAL