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