1 /* SPDX-License-Identifier: GPL-2.0 */
2 /* Copyright(c) 2009-2012  Realtek Corporation.*/
3 
4 #ifndef __RTL_RC_H__
5 #define __RTL_RC_H__
6 
7 #define B_MODE_MAX_RIX 3
8 #define G_MODE_MAX_RIX 11
9 #define A_MODE_MAX_RIX 7
10 
11 /* in mac80211 mcs0-mcs15 is idx0-idx15*/
12 #define N_MODE_MCS7_RIX 7
13 #define N_MODE_MCS15_RIX 15
14 
15 #define AC_MODE_MCS7_RIX 7
16 #define AC_MODE_MCS8_RIX 8
17 #define AC_MODE_MCS9_RIX 9
18 
19 struct rtl_rate_priv {
20 	u8 ht_cap;
21 };
22 
23 int rtl_rate_control_register(void);
24 void rtl_rate_control_unregister(void);
25 
26 #endif
27