xref: /OK3568_Linux_fs/external/rkwifibt/drivers/rtl8852be/phl/hal_g6/hal_fw.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 _HAL_FW_H_
16 #define _HAL_FW_H_
17 
18 enum rtw_hal_status
19 rtw_hal_download_fw(struct rtw_phl_com_t *phl_com, void *hal);
20 
21 enum rtw_hal_status
22 rtw_hal_redownload_fw(struct rtw_phl_com_t *phl_com, void *hal);
23 
24 void rtw_hal_fw_dbg_dump(void *hal);
25 
26 enum rtw_hal_status
27 rtw_hal_fw_log_cfg(void *hal, u8 op, u8 type, u32 value);
28 
29 void hal_fw_en_basic_log(struct rtw_hal_com_t *hal_com);
30 
31 #endif /* _HAL_FW_H_ */
32 
33