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: hcc driver implementatioin. 15 * Author: 16 * Create: 2020-10-20 17 */ 18 19 #ifndef __HCC_HOST_IF_H__ 20 #define __HCC_HOST_IF_H__ 21 22 #include "osal_types.h" 23 24 typedef enum _hcc_chan_type_ { 25 HCC_TX = 0x0, 26 HCC_RX = 0x1, 27 HCC_CHAN_DIR_COUNT 28 } hcc_chan_type; 29 30 typedef enum _plat_reboot_notify_type_ { 31 WLAN_REBOOT_NOTIFY, 32 REBOOT_NOTIFY_COUNT 33 } plat_reboot_notify_type; 34 35 typedef osal_void (*reboot_notify)(osal_void); 36 osal_void plat_register_reboot(reboot_notify func, plat_reboot_notify_type type); 37 #endif /* end of oal_hcc_if.h */ 38