WiFi Framework C++ Edition

◆ Rates

std::vector<unsigned short> Rates

An array of supported data transfer rates.

Each supported data transfer rate is stored as a Word. The first bit of the Word 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 Word is set to 1.

To calculate the data transfer rate in Mbps for an arbitrary array entry Rates[i], use the following equation:

rate_in_mbps = (Rates[i] and $7FFF) * 0.5

The caller is responsible to release the memory allocated for the dynamic array.