WDBssDesc

C Specification

#include <revolution/wd/WDTypes.h>
typedef  struct WDBssDesc_  WDBssDesc;
struct WDBssDesc_
{
    u16     length;
    u16     rssi;
    u8      bssid[ WD_SIZE_BSSID ];
    u16     ssidLength;
    u8      ssid[ WD_SIZE_SSID];
    u16     capaInfo;
    struct
    {
        u16     basic;
        u16     support;
    } rateSet;
    u16     beaconPeriod;
    u16     dtimPeriod;
    u16     channel;
    u16     cfpPeriod;
    u16     cfpMaxDuration;
    u16     info_elt_len;
    u16     info_elt[1];
};

Description

The structure types for the BSS indicator at the head of the BSS information.

length The size of the entire BSS information in half word units (two bytes).
rssi The received signal strength indication (RSSI). Use the WDGetRadioLevel function to convert into the four levels of signal strength.
bssid The six-byte basic service set ID (BSSID). Normally the same as the target MAC address.
ssidLength The size in bytes of the service set ID (SSID), with a maximum of 32 bytes.
ssid The SSID. Its size is indicated in ssidLength.
capaInfo The 16-bit capability information. It comprises the bits for the SS type, the preamble settings, the privacy settings, etc.
rateSet The transfer data rate.
basic The corresponding basic transfer rate is stored in a bit field format.
support The corresponding support transfer rate is stored in a bit field format.
beaconPeriod The beacon send interval in time units (TU). 1 TU is 1024 microseconds, or approximately one millisecond.
dtimPeriod The delivery traffic indication message (DTIM) interval based on the number of times the beacon is sent.
channel The wireless channel used for data transfer.
cfpPeriod The CF (contention free) period, based on the the number of times the beacon is sent, when the target supports CF operations.
cfpMaxDuration The maximum CF period, in TUs, when the target supports the use of CF.
info_elt_len The size in bytes of the element information unique to the target.
info_elt Indicates the location where the element information unique to the target is stored. Data is stored consecutively from this position for a length equal to that indicated in info_elt_len. Use WDFindInformationElement, WDFindWifiProtectedAccess or WDFindGameInfo to extract the specific element information.

See Also

WDScanOnce
WDGetPrivacyMode
WDFindInformationElement
WDFindWifiProtectedAccess
WDFindGameInfo
WDGetRadioLevel
WDElementID

Revision History

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


CONFIDENTIAL