rc.h 513 B

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