1 /* SPDX-License-Identifier: GPL-2.0 */
2 /******************************************************************************
4 * Copyright(c) 2009-2012 Realtek Corporation.
8 * Realtek Corporation, No. 2, Innovation Road II, Hsinchu Science Park,
13 *****************************************************************************/
18 #define B_MODE_MAX_RIX 3
19 #define G_MODE_MAX_RIX 11
20 #define A_MODE_MAX_RIX 7
22 /* in mac80211 mcs0-mcs15 is idx0-idx15*/
23 #define N_MODE_MCS7_RIX 7
24 #define N_MODE_MCS15_RIX 15
26 /* in mac80211 vht mcs0-9 is in [3:0], nss is in [:4] */
27 #define AC_MODE_MCS7_RIX 7
28 #define AC_MODE_MCS8_RIX 8
29 #define AC_MODE_MCS9_RIX 9
31 struct rtl_rate_priv {
35 int rtl_rate_control_register(void);
36 void rtl_rate_control_unregister(void);