xref: /OK3568_Linux_fs/external/rkwifibt/drivers/rtl8852bs/phl/phl_sw_cap.h (revision 4882a59341e53eb6f0b4789bf948001014eff981)
1 /******************************************************************************
2  *
3  * Copyright(c) 2019 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  *****************************************************************************/
15 #ifndef _PHL_SW_CAP_H_
16 #define _PHL_SW_CAP_H_
17 
18 enum rtw_phl_status
19 phl_sw_cap_init(struct rtw_phl_com_t* phl_com);
20 
21 enum rtw_phl_status
22 phl_sw_cap_deinit(struct rtw_phl_com_t* phl_com);
23 
24 enum rtw_phl_status
25 phl_init_protocol_cap(struct phl_info_t *phl_info,
26 			    struct rtw_wifi_role_t *wifi_role);
27 enum rtw_phl_status
28 phl_init_role_cap(struct phl_info_t *phl_info,
29 			struct rtw_wifi_role_t *wifi_role);
30 
31 void rtw_phl_init_free_para_buf(struct rtw_phl_com_t *phl_com);
32 
33 #endif  /*_PHL_SW_CAP_H_*/
34