# WMScanParam

## C Specification

      #include <nitro/wm.h>

      typedef struct WMScanParam
      {
          WMBssDesc*  scanBuf;
          u16         channel;
          u16         maxChannelTime;
          u8          bssid[6];
          u16         rsv[9];

      } WMScanParam;

## Description

This structure is a collection of the information that must be set on a child machine when it begins scanning for a parent.

## Arguments

`scanBuf` | Specifies a buffer that stores information concerning a parent that is found as the result of a scan. Because the ARM7 processor writes directly to the buffer, be careful of coherency with the cache.
`channel` | Specifies the wireless channel to scan.
`maxChannelTime` | Specifies the maximum disconnect-scan time in milliseconds. Specify the value returned by `WM_GetDispersionScanPeriod`.
`bssid` | Specifies the MAC address of the parent for which you are scanning. If you set this to `0xFF`, it will not sample according to MAC address, but scan for all parents.

## Revision History

10/18/2004 Added a value that needs to be specified to `maxChannelTime`
10/05/2004 Standardized MAC address as `u8` type
08/02/2004 Standardized structure names
07/29/2004 Initial version