Back to home page

OSCL-LXR

 
 

    


0001 /* SPDX-License-Identifier: GPL-2.0 */
0002 /* Copyright(c) 2009-2012  Realtek Corporation.*/
0003 
0004 #ifndef __RTL_RC_H__
0005 #define __RTL_RC_H__
0006 
0007 #define B_MODE_MAX_RIX 3
0008 #define G_MODE_MAX_RIX 11
0009 #define A_MODE_MAX_RIX 7
0010 
0011 /* in mac80211 mcs0-mcs15 is idx0-idx15*/
0012 #define N_MODE_MCS7_RIX 7
0013 #define N_MODE_MCS15_RIX 15
0014 
0015 #define AC_MODE_MCS7_RIX 7
0016 #define AC_MODE_MCS8_RIX 8
0017 #define AC_MODE_MCS9_RIX 9
0018 
0019 struct rtl_rate_priv {
0020     u8 ht_cap;
0021 };
0022 
0023 int rtl_rate_control_register(void);
0024 void rtl_rate_control_unregister(void);
0025 
0026 #endif