halhwimg8821c_bb.h 2.9 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283
  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. /*Image2HeaderVersion: 3.4*/
  21. #if (RTL8821C_SUPPORT == 1)
  22. #ifndef __INC_MP_BB_HW_IMG_8821C_H
  23. #define __INC_MP_BB_HW_IMG_8821C_H
  24. /******************************************************************************
  25. * agc_tab.TXT
  26. ******************************************************************************/
  27. void
  28. odm_read_and_config_mp_8821c_agc_tab(/* tc: Test Chip, mp: mp Chip*/
  29. struct PHY_DM_STRUCT *p_dm_odm
  30. );
  31. u32 odm_get_version_mp_8821c_agc_tab(void);
  32. /******************************************************************************
  33. * agc_tab_diff.TXT
  34. ******************************************************************************/
  35. extern u32 array_mp_8821c_agc_tab_diff_wlg[520];
  36. extern u32 array_mp_8821c_agc_tab_diff_btg[520];
  37. void
  38. odm_read_and_config_mp_8821c_agc_tab_diff(
  39. struct PHY_DM_STRUCT *p_dm_odm,
  40. u32 array[],
  41. u32 array_len
  42. );
  43. u32 odm_get_version_mp_8821c_agc_tab_diff(void);
  44. /******************************************************************************
  45. * phy_reg.TXT
  46. ******************************************************************************/
  47. void
  48. odm_read_and_config_mp_8821c_phy_reg(/* tc: Test Chip, mp: mp Chip*/
  49. struct PHY_DM_STRUCT *p_dm_odm
  50. );
  51. u32 odm_get_version_mp_8821c_phy_reg(void);
  52. /******************************************************************************
  53. * phy_reg_mp.TXT
  54. ******************************************************************************/
  55. void
  56. odm_read_and_config_mp_8821c_phy_reg_mp(/* tc: Test Chip, mp: mp Chip*/
  57. struct PHY_DM_STRUCT *p_dm_odm
  58. );
  59. u32 odm_get_version_mp_8821c_phy_reg_mp(void);
  60. /******************************************************************************
  61. * phy_reg_pg.TXT
  62. ******************************************************************************/
  63. void
  64. odm_read_and_config_mp_8821c_phy_reg_pg(/* tc: Test Chip, mp: mp Chip*/
  65. struct PHY_DM_STRUCT *p_dm_odm
  66. );
  67. u32 odm_get_version_mp_8821c_phy_reg_pg(void);
  68. #endif
  69. #endif /* end of HWIMG_SUPPORT*/