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 wal public interface. 15 * Create: 2020-01-01 16 */ 17 18 #ifndef __WAL_EXT_IF_H__ 19 #define __WAL_EXT_IF_H__ 20 21 /***************************************************************************** 22 其他头文件包含 23 *****************************************************************************/ 24 #include "oal_types.h" 25 #include "oal_schedule.h" 26 #include "wlan_types_common.h" 27 28 #ifdef __cplusplus 29 #if __cplusplus 30 extern "C" { 31 #endif 32 #endif 33 34 #undef THIS_FILE_ID 35 #define THIS_FILE_ID OAM_FILE_ID_WAL_EXT_IF_H 36 37 /* 维测,设置某一种具体event上报开关的参数结构体 */ 38 typedef struct { 39 osal_s32 l_event_type; 40 osal_s32 l_param; 41 } wal_specific_event_type_param_stru; 42 43 /***************************************************************************** 44 全局变量 45 *****************************************************************************/ 46 extern osal_u8 g_uc_custom_cali_done_etc; /* 标识是否是上电第一次校准 */ 47 48 /***************************************************************************** 49 函数声明 50 *****************************************************************************/ 51 extern osal_s32 wal_main_init_etc(void); 52 extern void wal_main_exit_etc(void); 53 54 #ifdef _PRE_WLAN_FEATURE_WOW_OFFLOAD 55 extern osal_u32 wal_ccpriv_register_inetaddr_notifier_etc(void); 56 extern osal_u32 wal_ccpriv_unregister_inetaddr_notifier_etc(void); 57 extern osal_u32 wal_ccpriv_register_inet6addr_notifier_etc(void); 58 extern osal_u32 wal_ccpriv_unregister_inet6addr_notifier_etc(void); 59 #endif 60 61 #ifdef __cplusplus 62 #if __cplusplus 63 } 64 #endif 65 #endif 66 67 #endif /* end of wal_ext_if.h */ 68