Go to the documentation of this file.
19 #ifndef _RTL819XU_HTTYPE_H_
20 #define _RTL819XU_HTTYPE_H_
23 #define HT_OPMODE_NO_PROTECT 0
24 #define HT_OPMODE_OPTIONAL 1
25 #define HT_OPMODE_40MHZ_PROTECT 2
26 #define HT_OPMODE_MIXED 3
28 #define MIMO_PS_STATIC 0
29 #define MIMO_PS_DYNAMIC 1
30 #define MIMO_PS_NOLIMIT 3
37 #define HT_SUPPORTED_MCS_1SS_BITMAP 0x000000ff
38 #define HT_SUPPORTED_MCS_2SS_BITMAP 0x0000ff00
39 #define HT_SUPPORTED_MCS_1SS_2SS_BITMAP \
40 (HT_MCS_1SS_BITMAP | HT_MCS_1SS_2SS_BITMAP)
80 #define CHHLOP_IN_PROGRESS(_pHTInfo) \
81 ((_pHTInfo)->ChnlOp > CHNLOP_NONE) ? true : false
383 #define PICK_RATE(_nLegacyRate, _nMcsRate) \
384 ((_nMcsRate == 0) ? (_nLegacyRate&0x7f) : (_nMcsRate))
385 #define LEGACY_WIRELESS_MODE IEEE_MODE_MASK
387 #define CURRENT_RATE(WirelessMode, LegacyRate, HTRate) \
388 ((WirelessMode & (LEGACY_WIRELESS_MODE)) != 0) ? \
389 (LegacyRate) : (PICK_RATE(LegacyRate, HTRate))
393 #define RATE_ADPT_1SS_MASK 0xFF
394 #define RATE_ADPT_2SS_MASK 0xF0
395 #define RATE_ADPT_MCS32_MASK 0x01
397 #define IS_11N_MCS_RATE(rate) (rate&0x80)