WDGetPrivacyMode

C Specification

#include <revolution/wd/WDScan.h>
u16 WDGetPrivacyMode( const WDBssDesc* bssDesc );

Description

Searches for BSS information and gets the type of encryption for wireless communication.

Arguments

bssDesc Sets the pointer to the start of the BSS information of the WDBssDesc type to check.

Return Values

Returns one of the following encryption types:

WD_SCAN_PRIVACY_MODE_NONE No encryption.
WD_SCAN_PRIVACY_MODE_WEP40 WEP (RC4 40-bit) encryption.
WD_SCAN_PRIVACY_MODE_WEP104 WEP (RC4 104-bit) encryption.
WD_SCAN_PRIVACY_MODE_WEP WEP (unknown key length) encryption.
WD_SCAN_PRIVACY_MODE_WPA_TKIP WPA-PSK (TKIP) encryption.
WD_SCAN_PRIVACY_MODE_WPA_AES WPA-PSK (AES) encryption.
WD_SCAN_PRIVACY_MODE_WPA2_TKIP WPA2-PSK (TKIP) encryption.
WD_SCAN_PRIVACY_MODE_WPA2_AES WPA2-PSK (AES) encryption.

See Also

WDScanOnce
WDBssDesc

Revision History

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


CONFIDENTIAL