1 /*---------------------------------------------------------------------------*
2   Project:  RevolutionSDK Extensions - libraries - wd
3   File:     WDScan.h
4 
5   Copyright 2006 Nintendo. All rights reserved.
6 
7   These coded instructions, statements, and computer programs contain
8   proprietary information of Nintendo of America Inc. and/or Nintendo
9   Company Ltd., and are protected by Federal copyright law.  They may
10   not be disclosed to third parties or copied or duplicated in any form,
11   in whole or in part, without the prior written consent of Nintendo.
12  *---------------------------------------------------------------------------*/
13 
14 #ifndef WD_WDSCAN_H_
15 #define WD_WDSCAN_H_
16 
17 #ifdef  __cplusplus
18 extern "C" {
19 #endif
20 /*===========================================================================*/
21 
22 #include <revolution/wd/WDTypes.h>
23 #include <revolution/wd/WDApi.h>
24 
25 WDError WDCheckEnableChannel( u16* scanEnableChannel );
26 WDError WDScanOnce( u16* buf, u16 bufLen, const WDScanParam* param );
27 u16     WDGetPrivacyMode( const WDBssDesc *bssDesc );
28 
29 BOOL    WDFindGameInfo(u8** bufPtr, s32* length, const WDBssDesc* bssDesc);
30 BOOL    WDFindInformationElement(u8** bufPtr, s32* length, const WDBssDesc *bssDesc, WDElementID elementID);
31 BOOL    WDFindWifiProtectedAccess(u8** bufPtr, s32* length, const WDBssDesc* bssDesc);
32 
33 BOOL    WDTryUsbApRegistrationOnce( u16 usbapChannels, BOOL usbapSignal, const u8* usbapNickname );
34 
35 /*===========================================================================*/
36 #ifdef  __cplusplus
37 }       /* extern "C" */
38 #endif  /* __cplusplus */
39 
40 #endif  /* WD_WDSCAN_H_ */
41 
42 /*---------------------------------------------------------------------------*
43   $Log: WDScan.h,v $
44   Revision 1.5  2006/09/27 09:34:02  terui
45   Added WDFindGameInfo() prototype.
46 
47   Revision 1.4  2006/09/21 02:27:00  yoshioka_yasuhiro
48   Added WDTryUsbApRegistrationOnce.
49 
50   Revision 1.3  2006/09/04 05:21:57  yoshioka_yasuhiro
51   Deleted unnecessary declarations.
52 
53   Revision 1.2  2006/08/31 02:31:01  yoshioka_yasuhiro
54   Deleted unnecessary declarations.
55 
56   Revision 1.1  2006/08/31 02:08:00  yoshioka_yasuhiro
57   Initial Commit.
58 
59  *---------------------------------------------------------------------------*/
60