halmac_pcie_8821c.h 1.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445
  1. /******************************************************************************
  2. *
  3. * Copyright(c) 2016 - 2018 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. ******************************************************************************/
  15. #ifndef _HALMAC_PCIE_8821C_H_
  16. #define _HALMAC_PCIE_8821C_H_
  17. #include "../../halmac_api.h"
  18. #if (HALMAC_8821C_SUPPORT && HALMAC_PCIE_SUPPORT)
  19. extern struct halmac_intf_phy_para pcie_gen1_phy_param_8821c[];
  20. extern struct halmac_intf_phy_para pcie_gen2_phy_param_8821c[];
  21. enum halmac_ret_status
  22. mac_pwr_switch_pcie_8821c(struct halmac_adapter *adapter,
  23. enum halmac_mac_power pwr);
  24. enum halmac_ret_status
  25. pcie_switch_8821c(struct halmac_adapter *adapter, enum halmac_pcie_cfg cfg);
  26. enum halmac_ret_status
  27. phy_cfg_pcie_8821c(struct halmac_adapter *adapter,
  28. enum halmac_intf_phy_platform pltfm);
  29. enum halmac_ret_status
  30. intf_tun_pcie_8821c(struct halmac_adapter *adapter);
  31. enum halmac_ret_status
  32. auto_refclk_cal_8821c_pcie(struct halmac_adapter *adapter);
  33. #endif /* HALMAC_8821C_SUPPORT */
  34. #endif/* _HALMAC_PCIE_8821C_H_ */