SSupportedRatesIE Struct Reference

struct SSupportedRatesIE

802.11 supported rates information element

Constructor & Destructor Documentation

SSupportedRatesIE()

SSupportedRatesIE()[inline]

Ctor

SSupportedRatesIE(const SSupportedRatesIE &)

SSupportedRatesIE(const SSupportedRatesIE &)[private]

Prohibit copy constructor

Parameters

const SSupportedRatesIE &

Member Functions Documentation

Append(TUint8)

voidAppend(TUint8aRate)[inline]

Appends a single rate element to IE

Parameters

TUint8 aRaterate element to be appended

Clear()

voidClear()[inline]

Marks IE zero length size

GetElementLength()

TUint8 GetElementLength()const [inline]

Returns only the information element's actual length ( header excluded )

GetIeLength()

TUint8 GetIeLength()const [inline]

Returns information element's actual length ( element's size + its header )

SetIeData(const TUint8 *, const TUint8)

voidSetIeData(const TUint8 *aIeData,
const TUint8aLength
)[inline]

sets IE data also sets the IE headers length field

Parameters

const TUint8 * aIeDataactual IE data
const TUint8 aLengthlength of aIeData

operator=(const SSupportedRatesIE &)

SSupportedRatesIE &operator=(const SSupportedRatesIE &)[private]

Prohibit assignment operator

Parameters

const SSupportedRatesIE &

operator[](TUint8)

TUint8 operator[](TUint8aIdx)const [inline]

operator[] to get supported rates element at given index

Parameters

TUint8 aIdxindex to be get

Member Data Documentation

SInformationElementHeader iHeader

SInformationElementHeader iHeader

information element header

TUint8 iSupportedRatesIE

TUint8 iSupportedRatesIE

supported rates information element NOTE! The 802.11 standard specifies that the max length of the information part of this IE is eight rates (eight bytes). However at least some APs seem to put all their supported rates into this element. In order to be able to associate with those APs we allocate enough space to incorporate all 802.11b/g rates in this IE. We ourselves will still always advertise max eight rates using this IE (and the rest using the Extended Supported Rates IE).