• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1 /*
2  * Copyright (c) 2020 HiSilicon (Shanghai) Technologies CO., LIMITED.
3  * Licensed under the Apache License, Version 2.0 (the "License");
4  * you may not use this file except in compliance with the License.
5  * You may obtain a copy of the License at
6  *
7  *     http://www.apache.org/licenses/LICENSE-2.0
8  *
9  * Unless required by applicable law or agreed to in writing, software
10  * distributed under the License is distributed on an "AS IS" BASIS,
11  * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12  * See the License for the specific language governing permissions and
13  * limitations under the License.
14  * Description: Header file of HAL external public interfaces .
15  * Create: 2022-8-10
16  */
17 
18 #ifndef HAL_P2P_H
19 #define HAL_P2P_H
20 
21 #include "osal_types.h"
22 
23 #include "hal_device.h"
24 
25 #ifdef __cplusplus
26 #if __cplusplus
27 extern "C" {
28 #endif
29 #endif
30 
31 osal_void hal_vap_set_noa(const hal_to_dmac_vap_stru *hal_vap, osal_u32 start_tsf, osal_u32 duration,
32     osal_u32 interval, osal_u8 count);
33 osal_void hal_vap_set_noa_timeout_val(osal_u16 value);
34 osal_void hal_vap_set_noa_offset(osal_u16 offset);
35 osal_void hal_vap_set_ext_noa_disable(osal_void);
36 osal_void hal_vap_set_ext_noa_enable(osal_void);
37 osal_void hal_vap_set_ext_noa_para(hal_to_dmac_vap_stru *hal_vap, osal_u32 duration, osal_u32 interval);
38 osal_void hal_vap_set_ops(const hal_to_dmac_vap_stru *hal_vap, osal_u8 ops_ctrl, osal_u8 ct_window);
39 
40 #ifdef __cplusplus
41 #if __cplusplus
42 }
43 #endif
44 #endif
45 
46 #endif /* end of hal_p2p.h */