WDScanParam

C Specification

#include <revolution/wd/WDApi.h>
typedef  struct WDScanParam_  WDScanParam;
struct WDScanParam_
{
    u16     channelBitmap;
    u16     maxChannelTime;
    u8      bssid[6];
    u16     scanType;
    u16     ssidLength;
    u8      ssid[32];
    u8      ssidMatchMask[32];
};

Description

A structure type for performing scanning operation settings using the WDScanOnce function.

channelBitmap Specifies the wireless channel list from which to scan in bit field format.
Specify from among the available channels that can be obtained with the WDCheckEnableChannel function.
maxChannelTime Specifies the time in milliseconds for a scan for a single channel specified in channelBitmap.
bssid Specifies the BSSID for a scan.
To avoid specifying a BSSID, specify a broadcast ID of 0xff for everything.
scanType Designates the scan type.
WD_SCANTYPE_ACTIVE Active scanning. Issues a probe request and searches for a probe response from the target.
WD_SCANTYPE_PASSIVE Passive scanning. Searches for a beacon issued by the target.
ssidLength Specifies the size in bytes of the service set (SS) ID specified by ssid.
ssid Specifies the SSID for a scan. Does not distinguish either the network uses the extended service set (ESS) or the independent basic service set (IBSS).
Also be aware that since the SSID is a byte row, it is not null-terminated.
ssidMatchMask Specifies the bit mask to perform match confirmation for the SSID specified in ssid against the SSID found in the scan results. Confirms the 0 portions of bits within the 256 bits; 1 portions are ignored. To avoid specifying an SSID, specify a mask of 0xff for everything.

See Also

WDScanOnce

Revision History

2006/12/12 Added description.
2006/11/09 Initial version.


CONFIDENTIAL