1 /* SPDX-License-Identifier: GPL-2.0 */
2 /******************************************************************************
4 * Copyright(c) 2016 Realtek Corporation.
7 * wlanfae <wlanfae@realtek.com>
8 * Realtek Corporation, No. 2, Innovation Road II, Hsinchu Science Park,
11 * Larry Finger <Larry.Finger@lwfinger.net>
13 *****************************************************************************/
14 #ifndef _HALMAC_API_8822B_PCIE_H_
15 #define _HALMAC_API_8822B_PCIE_H_
17 #include "../../halmac_2_platform.h"
18 #include "../../halmac_type.h"
20 extern struct halmac_intf_phy_para_ HALMAC_RTL8822B_PCIE_PHY_GEN1[];
21 extern struct halmac_intf_phy_para_ HALMAC_RTL8822B_PCIE_PHY_GEN2[];
23 enum halmac_ret_status
24 halmac_mac_power_switch_8822b_pcie(struct halmac_adapter *halmac_adapter,
25 enum halmac_mac_power halmac_power);
27 enum halmac_ret_status
28 halmac_pcie_switch_8822b(struct halmac_adapter *halmac_adapter,
29 enum halmac_pcie_cfg pcie_cfg);
31 enum halmac_ret_status
32 halmac_pcie_switch_8822b_nc(struct halmac_adapter *halmac_adapter,
33 enum halmac_pcie_cfg pcie_cfg);
35 enum halmac_ret_status
36 halmac_phy_cfg_8822b_pcie(struct halmac_adapter *halmac_adapter,
37 enum halmac_intf_phy_platform platform);
39 enum halmac_ret_status halmac_interface_integration_tuning_8822b_pcie(
40 struct halmac_adapter *halmac_adapter);
42 #endif /* _HALMAC_API_8822B_PCIE_H_ */