phydm_features_ce2_kernel.h 2.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384
  1. /******************************************************************************
  2. *
  3. * Copyright(c) 2007 - 2017 Realtek Corporation.
  4. *
  5. * This program is free software; you can redistribute it and/or modify it
  6. * under the terms of version 2 of the GNU General Public License as
  7. * published by the Free Software Foundation.
  8. *
  9. * This program is distributed in the hope that it will be useful, but WITHOUT
  10. * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
  11. * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for
  12. * more details.
  13. *
  14. * The full GNU General Public License is included in this distribution in the
  15. * file called LICENSE.
  16. *
  17. * Contact Information:
  18. * wlanfae <wlanfae@realtek.com>
  19. * Realtek Corporation, No. 2, Innovation Road II, Hsinchu Science Park,
  20. * Hsinchu 300, Taiwan.
  21. *
  22. * Larry Finger <Larry.Finger@lwfinger.net>
  23. *
  24. *****************************************************************************/
  25. #ifndef __PHYDM_FEATURES_CE_H__
  26. #define __PHYDM_FEATURES_CE_H__
  27. #define PHYDM_LA_MODE_SUPPORT 0
  28. #if (RTL8822B_SUPPORT || RTL8812A_SUPPORT || RTL8197F_SUPPORT ||\
  29. RTL8192F_SUPPORT)
  30. #define DYN_ANT_WEIGHTING_SUPPORT
  31. #endif
  32. #if (RTL8822B_SUPPORT || RTL8821C_SUPPORT)
  33. #define FAHM_SUPPORT
  34. #endif
  35. #define NHM_SUPPORT
  36. #define CLM_SUPPORT
  37. #if (RTL8822B_SUPPORT)
  38. #define PHYDM_TXA_CALIBRATION
  39. #endif
  40. #if (RTL8188F_SUPPORT || RTL8710B_SUPPORT || RTL8821C_SUPPORT ||\
  41. RTL8822B_SUPPORT || RTL8192F_SUPPORT)
  42. #define PHYDM_DC_CANCELLATION
  43. #endif
  44. #if (RTL8192F_SUPPORT == 1)
  45. /*#define CONFIG_8912F_SPUR_CALIBRATION*/
  46. #endif
  47. #if (RTL8822B_SUPPORT == 1)
  48. /* #define CONFIG_8822B_SPUR_CALIBRATION */
  49. #endif
  50. #define PHYDM_SUPPORT_CCKPD
  51. #define PHYDM_SUPPORT_ADAPTIVITY
  52. #ifdef CONFIG_DFS_MASTER
  53. #define CONFIG_PHYDM_DFS_MASTER
  54. #endif
  55. #define CONFIG_BB_TXBF_API
  56. #define CONFIG_PHYDM_DEBUG_FUNCTION
  57. #ifdef CONFIG_BT_COEXIST
  58. #define ODM_CONFIG_BT_COEXIST
  59. #endif
  60. #define PHYDM_SUPPORT_RSSI_MONITOR
  61. #define CFG_DIG_DAMPING_CHK
  62. #ifdef BEAMFORMING_SUPPORT
  63. #if (RTL8192F_SUPPORT || RTL8195B_SUPPORT || RTL8821C_SUPPORT ||\
  64. RTL8822B_SUPPORT || RTL8197F_SUPPORT || RTL8198F_SUPPORT ||\
  65. RTL8822C_SUPPORT || RTL8814B_SUPPORT)
  66. #define DRIVER_BEAMFORMING_VERSION2
  67. #endif
  68. #endif
  69. #endif