phydm_regconfig8821c.h 1.7 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950
  1. /******************************************************************************
  2. *
  3. * Copyright(c) 2016 - 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. *****************************************************************************/
  15. #ifndef __INC_ODM_REGCONFIG_H_8821C
  16. #define __INC_ODM_REGCONFIG_H_8821C
  17. #if (RTL8821C_SUPPORT == 1)
  18. void odm_config_rf_reg_8821c(struct dm_struct *dm, u32 addr, u32 data,
  19. enum rf_path rf_path, u32 reg_addr);
  20. void odm_config_rf_radio_a_8821c(struct dm_struct *dm, u32 addr, u32 data);
  21. void odm_config_rf_radio_b_8821c(
  22. struct dm_struct *dm,
  23. u32 addr,
  24. u32 data);
  25. void odm_config_mac_8821c(struct dm_struct *dm, u32 addr, u8 data);
  26. void odm_update_agc_big_jump_lmt_8821c(struct dm_struct *dm, u32 addr,
  27. u32 data);
  28. void odm_config_bb_agc_8821c(struct dm_struct *dm, u32 addr, u32 bitmask,
  29. u32 data);
  30. void odm_config_bb_phy_reg_pg_8821c(struct dm_struct *dm, u32 band, u32 rf_path,
  31. u32 tx_num, u32 addr, u32 bitmask,
  32. u32 data);
  33. void odm_config_bb_phy_8821c(struct dm_struct *dm, u32 addr, u32 bitmask,
  34. u32 data);
  35. void odm_config_bb_txpwr_lmt_8821c(struct dm_struct *dm, u8 *regulation,
  36. u8 *band, u8 *bandwidth, u8 *rate_section,
  37. u8 *rf_path, u8 *channel, u8 *power_limit);
  38. #endif
  39. #endif /* RTL8822B_SUPPORT == 1*/