phydm_regconfig8821c.h 2.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102
  1. /******************************************************************************
  2. *
  3. * Copyright(c) 2007 - 2011 Realtek Corporation. All rights reserved.
  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. * You should have received a copy of the GNU General Public License along with
  15. * this program; if not, write to the Free Software Foundation, Inc.,
  16. * 51 Franklin Street, Fifth Floor, Boston, MA 02110, USA
  17. *
  18. *
  19. ******************************************************************************/
  20. #ifndef __INC_ODM_REGCONFIG_H_8821C
  21. #define __INC_ODM_REGCONFIG_H_8821C
  22. #if (RTL8821C_SUPPORT == 1)
  23. void
  24. odm_config_rf_reg_8821c(
  25. struct PHY_DM_STRUCT *p_dm_odm,
  26. u32 addr,
  27. u32 data,
  28. enum odm_rf_radio_path_e RF_PATH,
  29. u32 reg_addr
  30. );
  31. void
  32. odm_config_rf_radio_a_8821c(
  33. struct PHY_DM_STRUCT *p_dm_odm,
  34. u32 addr,
  35. u32 data
  36. );
  37. void
  38. odm_config_rf_radio_b_8821c(
  39. struct PHY_DM_STRUCT *p_dm_odm,
  40. u32 addr,
  41. u32 data
  42. );
  43. void
  44. odm_config_mac_8821c(
  45. struct PHY_DM_STRUCT *p_dm_odm,
  46. u32 addr,
  47. u8 data
  48. );
  49. void
  50. odm_update_agc_big_jump_lmt_8821c(
  51. struct PHY_DM_STRUCT *p_dm_odm,
  52. u32 addr,
  53. u32 data
  54. );
  55. void
  56. odm_config_bb_agc_8821c(
  57. struct PHY_DM_STRUCT *p_dm_odm,
  58. u32 addr,
  59. u32 bitmask,
  60. u32 data
  61. );
  62. void
  63. odm_config_bb_phy_reg_pg_8821c(
  64. struct PHY_DM_STRUCT *p_dm_odm,
  65. u32 band,
  66. u32 rf_path,
  67. u32 tx_num,
  68. u32 addr,
  69. u32 bitmask,
  70. u32 data
  71. );
  72. void
  73. odm_config_bb_phy_8821c(
  74. struct PHY_DM_STRUCT *p_dm_odm,
  75. u32 addr,
  76. u32 bitmask,
  77. u32 data
  78. );
  79. void
  80. odm_config_bb_txpwr_lmt_8821c(
  81. struct PHY_DM_STRUCT *p_dm_odm,
  82. u8 *regulation,
  83. u8 *band,
  84. u8 *bandwidth,
  85. u8 *rate_section,
  86. u8 *rf_path,
  87. u8 *channel,
  88. u8 *power_limit
  89. );
  90. #endif
  91. #endif /* RTL8822B_SUPPORT == 1*/