GNU Linux-libre 4.14.290-gnu1
[releases.git] / drivers / staging / rtlwifi / halmac / halmac_88xx / halmac_8822b / halmac_api_8822b_usb.h
1 /******************************************************************************
2  *
3  * Copyright(c) 2016  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  * The full GNU General Public License is included in this distribution in the
15  * file called LICENSE.
16  *
17  * Contact Information:
18  * wlanfae <wlanfae@realtek.com>
19  * Realtek Corporation, No. 2, Innovation Road II, Hsinchu Science Park,
20  * Hsinchu 300, Taiwan.
21  *
22  * Larry Finger <Larry.Finger@lwfinger.net>
23  *
24  *****************************************************************************/
25 #ifndef _HALMAC_API_8822B_USB_H_
26 #define _HALMAC_API_8822B_USB_H_
27
28 extern struct halmac_intf_phy_para_ HALMAC_RTL8822B_USB2_PHY[];
29 extern struct halmac_intf_phy_para_ HALMAC_RTL8822B_USB3_PHY[];
30
31 #include "../../halmac_2_platform.h"
32 #include "../../halmac_type.h"
33
34 enum halmac_ret_status
35 halmac_mac_power_switch_8822b_usb(struct halmac_adapter *halmac_adapter,
36                                   enum halmac_mac_power halmac_power);
37
38 enum halmac_ret_status
39 halmac_phy_cfg_8822b_usb(struct halmac_adapter *halmac_adapter,
40                          enum halmac_intf_phy_platform platform);
41
42 enum halmac_ret_status halmac_interface_integration_tuning_8822b_usb(
43         struct halmac_adapter *halmac_adapter);
44
45 #endif /* _HALMAC_API_8822B_USB_H_ */