2018-11-23 20:19:44 +00:00
|
|
|
/******************************************************************************
|
|
|
|
*
|
|
|
|
* Copyright(c) 2016 - 2018 Realtek Corporation. All rights reserved.
|
|
|
|
*
|
|
|
|
* This program is free software; you can redistribute it and/or modify it
|
|
|
|
* under the terms of version 2 of the GNU General Public License as
|
|
|
|
* published by the Free Software Foundation.
|
|
|
|
*
|
|
|
|
* This program is distributed in the hope that it will be useful, but WITHOUT
|
|
|
|
* ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
|
|
|
|
* FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for
|
|
|
|
* more details.
|
|
|
|
*
|
|
|
|
******************************************************************************/
|
|
|
|
|
|
|
|
#ifndef _HALMAC_API_8822B_USB_H_
|
|
|
|
#define _HALMAC_API_8822B_USB_H_
|
|
|
|
|
|
|
|
#include "../../halmac_api.h"
|
|
|
|
|
2019-09-21 09:30:30 +00:00
|
|
|
#if (HALMAC_8822B_SUPPORT && HALMAC_USB_SUPPORT)
|
2018-11-23 20:19:44 +00:00
|
|
|
|
|
|
|
extern struct halmac_intf_phy_para usb2_phy_param_8822b[];
|
2019-09-21 09:30:30 +00:00
|
|
|
extern struct halmac_intf_phy_para usb3_phy_param_8822b[];
|
2018-11-23 20:19:44 +00:00
|
|
|
|
|
|
|
enum halmac_ret_status
|
|
|
|
mac_pwr_switch_usb_8822b(struct halmac_adapter *adapter,
|
|
|
|
enum halmac_mac_power pwr);
|
|
|
|
|
|
|
|
enum halmac_ret_status
|
|
|
|
phy_cfg_usb_8822b(struct halmac_adapter *adapter,
|
|
|
|
enum halmac_intf_phy_platform pltfm);
|
|
|
|
|
|
|
|
enum halmac_ret_status
|
|
|
|
pcie_switch_usb_8822b(struct halmac_adapter *adapter, enum halmac_pcie_cfg cfg);
|
|
|
|
|
|
|
|
enum halmac_ret_status
|
|
|
|
intf_tun_usb_8822b(struct halmac_adapter *adapter);
|
|
|
|
|
|
|
|
#endif /* HALMAC_8822B_SUPPORT*/
|
|
|
|
|
|
|
|
#endif/* _HALMAC_API_8822B_USB_H_ */
|