• 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: frw adapter
15  */
16 
17 #ifndef __FRW_COMMON_H
18 #define __FRW_COMMON_H
19 
20 #include "osal_types.h"
21 #include "frw_msg_rom.h"
22 
23 #ifdef __cplusplus
24 #if __cplusplus
25 extern "C" {
26 #endif
27 #endif
28 osal_void cfg_msg_init(osal_u8 *data, osal_u32 data_len, osal_u8 *rsp, osal_u32 rsp_buf_len, frw_msg *cfg_info);
29 osal_s32 send_cfg_to_device(osal_u8 vap_id, osal_u16 msg_id, frw_msg *cfg_info, osal_bool sync);
30 osal_s32 send_sync_cfg_to_host(osal_u8 vap_id, osal_u16 msg_id, frw_msg *cfg_info);
31 
32 osal_void frw_event_process_all_event_etc(osal_ulong data);
33 
34 #ifdef __cplusplus
35 #if __cplusplus
36 }
37 #endif
38 #endif
39 
40 #endif
41