halhwimg8821c_bb.h 3.3 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091
  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. /*Image2HeaderVersion: R3 1.0*/
  26. #if (RTL8821C_SUPPORT == 1)
  27. #ifndef __INC_MP_BB_HW_IMG_8821C_H
  28. #define __INC_MP_BB_HW_IMG_8821C_H
  29. /******************************************************************************
  30. * agc_tab.TXT
  31. ******************************************************************************/
  32. void
  33. odm_read_and_config_mp_8821c_agc_tab( /* tc: Test Chip, mp: mp Chip*/
  34. struct dm_struct *dm);
  35. u32 odm_get_version_mp_8821c_agc_tab(void);
  36. /******************************************************************************
  37. * agc_tab_diff.TXT
  38. ******************************************************************************/
  39. extern u32 array_mp_8821c_agc_tab_diff_wlg[780];
  40. extern u32 array_mp_8821c_agc_tab_diff_btg[780];
  41. void
  42. odm_read_and_config_mp_8821c_agc_tab_diff(struct dm_struct *dm, u32 array[],
  43. u32 array_len);
  44. u32 odm_get_version_mp_8821c_agc_tab_diff(void);
  45. /******************************************************************************
  46. * phy_reg.TXT
  47. ******************************************************************************/
  48. void
  49. odm_read_and_config_mp_8821c_phy_reg( /* tc: Test Chip, mp: mp Chip*/
  50. struct dm_struct *dm);
  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 dm_struct *dm);
  58. u32 odm_get_version_mp_8821c_phy_reg_mp(void);
  59. /******************************************************************************
  60. * phy_reg_pg.TXT
  61. ******************************************************************************/
  62. void
  63. odm_read_and_config_mp_8821c_phy_reg_pg( /* tc: Test Chip, mp: mp Chip*/
  64. struct dm_struct *dm);
  65. u32 odm_get_version_mp_8821c_phy_reg_pg(void);
  66. /******************************************************************************
  67. * phy_reg_pg_type0x28.TXT
  68. ******************************************************************************/
  69. void
  70. odm_read_and_config_mp_8821c_phy_reg_pg_type0x28(
  71. /* tc: Test Chip, mp: mp Chip*/
  72. struct dm_struct *dm);
  73. u32 odm_get_version_mp_8821c_phy_reg_pg_type0x28(void);
  74. #endif
  75. #endif /* end of HWIMG_SUPPORT*/