Merge tag 'block-5.11-2021-01-10' of git://git.kernel.dk/linux-block
[linux/fpc-iii.git] / drivers / net / wireless / realtek / rtlwifi / rc.h
blob1c0a17370093a82a54aed6084f392f50c210aa34
1 /* SPDX-License-Identifier: GPL-2.0 */
2 /* Copyright(c) 2009-2012 Realtek Corporation.*/
4 #ifndef __RTL_RC_H__
5 #define __RTL_RC_H__
7 #define B_MODE_MAX_RIX 3
8 #define G_MODE_MAX_RIX 11
9 #define A_MODE_MAX_RIX 7
11 /* in mac80211 mcs0-mcs15 is idx0-idx15*/
12 #define N_MODE_MCS7_RIX 7
13 #define N_MODE_MCS15_RIX 15
15 #define AC_MODE_MCS7_RIX 7
16 #define AC_MODE_MCS8_RIX 8
17 #define AC_MODE_MCS9_RIX 9
19 struct rtl_rate_priv {
20 u8 ht_cap;
23 int rtl_rate_control_register(void);
24 void rtl_rate_control_unregister(void);
26 #endif