diff options
author | Chaoming_Li <chaoming_li@realsil.com.cn> | 2011-04-25 17:53:19 (GMT) |
---|---|---|
committer | John W. Linville <linville@tuxdriver.com> | 2011-04-26 20:13:32 (GMT) |
commit | c6a9de0823e6f1335c93594f7b904f345860dafc (patch) | |
tree | 1efb1ad94697fb0e8386091266340500b8d27a66 /drivers/net/wireless/rtlwifi/rc.h | |
parent | cc7dc0c4ff7c091fb70ff0436f7e3b557e0ac1c3 (diff) | |
download | linux-fsl-qoriq-c6a9de0823e6f1335c93594f7b904f345860dafc.tar.xz |
rtlwifi: Convert rc routines for addition of rtl8192se and rtl8192de
Convert rc routines for addition of RTL8192SE and RTL8192DE code
Signed-off-by: Chaoming_Li <chaoming_li@realsil.com.cn>
Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
Diffstat (limited to 'drivers/net/wireless/rtlwifi/rc.h')
-rw-r--r-- | drivers/net/wireless/rtlwifi/rc.h | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/drivers/net/wireless/rtlwifi/rc.h b/drivers/net/wireless/rtlwifi/rc.h index b4667c0..4afa2c2 100644 --- a/drivers/net/wireless/rtlwifi/rc.h +++ b/drivers/net/wireless/rtlwifi/rc.h @@ -30,8 +30,15 @@ #ifndef __RTL_RC_H__ #define __RTL_RC_H__ +#define B_MODE_MAX_RIX 3 +#define G_MODE_MAX_RIX 11 +#define A_MODE_MAX_RIX 7 + +/* in mac80211 mcs0-mcs15 is idx0-idx15*/ +#define N_MODE_MCS7_RIX 7 +#define N_MODE_MCS15_RIX 15 + struct rtl_rate_priv { - u8 cur_ratetab_idx; u8 ht_cap; }; |