1 /******************************************************************************
3 * Copyright(c) 2016 Realtek Corporation.
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.
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
14 * The full GNU General Public License is included in this distribution in the
15 * file called LICENSE.
17 * Contact Information:
18 * wlanfae <wlanfae@realtek.com>
19 * Realtek Corporation, No. 2, Innovation Road II, Hsinchu Science Park,
20 * Hsinchu 300, Taiwan.
22 * Larry Finger <Larry.Finger@lwfinger.net>
24 *****************************************************************************/
25 #ifndef _HALMAC_API_8822B_PCIE_H_
26 #define _HALMAC_API_8822B_PCIE_H_
28 #include "../../halmac_2_platform.h"
29 #include "../../halmac_type.h"
31 extern struct halmac_intf_phy_para_ HALMAC_RTL8822B_PCIE_PHY_GEN1[];
32 extern struct halmac_intf_phy_para_ HALMAC_RTL8822B_PCIE_PHY_GEN2[];
34 enum halmac_ret_status
35 halmac_mac_power_switch_8822b_pcie(struct halmac_adapter *halmac_adapter,
36 enum halmac_mac_power halmac_power);
38 enum halmac_ret_status
39 halmac_pcie_switch_8822b(struct halmac_adapter *halmac_adapter,
40 enum halmac_pcie_cfg pcie_cfg);
42 enum halmac_ret_status
43 halmac_pcie_switch_8822b_nc(struct halmac_adapter *halmac_adapter,
44 enum halmac_pcie_cfg pcie_cfg);
46 enum halmac_ret_status
47 halmac_phy_cfg_8822b_pcie(struct halmac_adapter *halmac_adapter,
48 enum halmac_intf_phy_platform platform);
50 enum halmac_ret_status halmac_interface_integration_tuning_8822b_pcie(
51 struct halmac_adapter *halmac_adapter);
53 #endif /* _HALMAC_API_8822B_PCIE_H_ */