WLAN_RATE_SET structure
Applies to: desktop apps only
The set of supported data rates.
Syntax
typedef struct _WLAN_RATE_SET {
ULONG uRateSetLength;
USHORT usRateSet[DOT11_RATE_SET_MAX_LENGTH];
} WLAN_RATE_SET, *PWLAN_RATE_SET;
Members
- uRateSetLength
-
The length, in bytes, of usRateSet.
- usRateSet
-
An array of supported data transfer rates. DOT11_RATE_SET_MAX_LENGTH is defined in windot11.h to have a value of 126.
Each supported data transfer rate is stored as a USHORT. The first bit of the USHORT specifies whether the rate is a basic rate. A basic rate is the data transfer rate that all stations in a basic service set (BSS) can use to receive frames from the wireless medium. If the rate is a basic rate, the first bit of the USHORT is set to 1.
To calculate the data transfer rate in Mbps for an arbitrary array entry rateSet[i], use the following equation:
rate_in_mbps = (rateSet[i] & 0x7FFF) * 0.5
Requirements
|
Minimum supported client | Windows Vista |
|---|---|
|
Minimum supported server | Windows Server 2008 |
|
Header |
|
See also
Send comments about this topic to Microsoft
Build date: 2/3/2012
i have some problems about the structure WLAN_RATE_SET, but the MSDN didn't explain that detaily.
when calls the function WlanGetNetworkBssList, how to use the member wlanRateSet of struct WLAN_BSS_ENTRY retrived by struct WLAN_BSS_LIST.
what message each element of the array provides?
Please do me a help, Thanks!
- 9/8/2010
- qlzhou