hc
2024-08-16 62c46c9150c4afde7e5b25436263fddf79d66f0b
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
/******************************************************************************
 *
 * Copyright(c) 2019 Realtek Corporation.
 *
 * 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 _RTL8852BU_HAL_H_
#define _RTL8852BU_HAL_H_
 
/* rtl8852bu_halinit.c */
#ifdef CONFIG_WOWLAN
enum rtw_hal_status hal_wow_init_8852bu(struct rtw_phl_com_t *phl_com, struct hal_info_t *hal, struct rtw_phl_stainfo_t *sta);
enum rtw_hal_status hal_wow_deinit_8852bu(struct rtw_phl_com_t *phl_com, struct hal_info_t *hal, struct rtw_phl_stainfo_t *sta);
#endif /* CONFIG_WOWLAN */
enum rtw_hal_status hal_get_efuse_8852bu(struct rtw_phl_com_t *phl_com,
                    struct hal_info_t *hal);
 
enum rtw_hal_status hal_init_8852bu(struct rtw_phl_com_t *phl_com,
                   struct hal_info_t *hal);
void hal_deinit_8852bu(struct rtw_phl_com_t *phl_com,
              struct hal_info_t *hal);
 
enum rtw_hal_status hal_start_8852bu(struct rtw_phl_com_t *phl_com,
                    struct hal_info_t *hal);
enum rtw_hal_status hal_stop_8852bu(struct rtw_phl_com_t *phl_com,
                   struct hal_info_t *hal);
 
enum rtw_hal_status hal_mp_init_8852bu(struct rtw_phl_com_t *phl_com, struct hal_info_t *hal);
enum rtw_hal_status hal_mp_deinit_8852bu(struct rtw_phl_com_t *phl_com, struct hal_info_t *hal);
 
u32 hal_hci_cfg_8852bu(struct rtw_phl_com_t *phl_com,
       struct hal_info_t *hal, struct rtw_ic_info *ic_info);
 
void init_hal_spec_8852bu(struct rtw_phl_com_t *phl_com,
                   struct hal_info_t *hal);
 
bool hal_recognize_int_8852bu(struct hal_info_t *hal);
u32 hal_int_hdler_8852bu(struct hal_info_t *hal);
 
#endif /* _RTL8852BU_HAL_H_ */