1f1d2b4d3SLarry Finger /****************************************************************************** 2f1d2b4d3SLarry Finger * 3f1d2b4d3SLarry Finger * Copyright(c) 2009-2012 Realtek Corporation. 4f1d2b4d3SLarry Finger * 5f1d2b4d3SLarry Finger * This program is free software; you can redistribute it and/or modify it 6f1d2b4d3SLarry Finger * under the terms of version 2 of the GNU General Public License as 7f1d2b4d3SLarry Finger * published by the Free Software Foundation. 8f1d2b4d3SLarry Finger * 9f1d2b4d3SLarry Finger * This program is distributed in the hope that it will be useful, but WITHOUT 10f1d2b4d3SLarry Finger * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or 11f1d2b4d3SLarry Finger * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for 12f1d2b4d3SLarry Finger * more details. 13f1d2b4d3SLarry Finger * 14f1d2b4d3SLarry Finger * The full GNU General Public License is included in this distribution in the 15f1d2b4d3SLarry Finger * file called LICENSE. 16f1d2b4d3SLarry Finger * 17f1d2b4d3SLarry Finger * Contact Information: 18f1d2b4d3SLarry Finger * wlanfae <wlanfae@realtek.com> 19f1d2b4d3SLarry Finger * Realtek Corporation, No. 2, Innovation Road II, Hsinchu Science Park, 20f1d2b4d3SLarry Finger * Hsinchu 300, Taiwan. 21f1d2b4d3SLarry Finger * 22f1d2b4d3SLarry Finger * Larry Finger <Larry.Finger@lwfinger.net> 23f1d2b4d3SLarry Finger * 24f1d2b4d3SLarry Finger *****************************************************************************/ 25f1d2b4d3SLarry Finger 26f1d2b4d3SLarry Finger #ifndef __RTL_RC_H__ 27f1d2b4d3SLarry Finger #define __RTL_RC_H__ 28f1d2b4d3SLarry Finger 29f1d2b4d3SLarry Finger #define B_MODE_MAX_RIX 3 30f1d2b4d3SLarry Finger #define G_MODE_MAX_RIX 11 31f1d2b4d3SLarry Finger #define A_MODE_MAX_RIX 7 32f1d2b4d3SLarry Finger 33f1d2b4d3SLarry Finger /* in mac80211 mcs0-mcs15 is idx0-idx15*/ 34f1d2b4d3SLarry Finger #define N_MODE_MCS7_RIX 7 35f1d2b4d3SLarry Finger #define N_MODE_MCS15_RIX 15 36f1d2b4d3SLarry Finger 37f1d2b4d3SLarry Finger #define AC_MODE_MCS7_RIX 7 38f1d2b4d3SLarry Finger #define AC_MODE_MCS8_RIX 8 39f1d2b4d3SLarry Finger #define AC_MODE_MCS9_RIX 9 40f1d2b4d3SLarry Finger 41f1d2b4d3SLarry Finger struct rtl_rate_priv { 42f1d2b4d3SLarry Finger u8 ht_cap; 43f1d2b4d3SLarry Finger }; 44f1d2b4d3SLarry Finger 45f1d2b4d3SLarry Finger int rtl_rate_control_register(void); 46f1d2b4d3SLarry Finger void rtl_rate_control_unregister(void); 47f1d2b4d3SLarry Finger 48f1d2b4d3SLarry Finger #endif 49