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 files shared by wlan_types.h and wlan_types_rom.h. 15 * Author: 16 */ 17 18 #ifndef WLAN_CUSTOM_TYPES_BASE_H 19 #define WLAN_CUSTOM_TYPES_BASE_H 20 21 #include "td_base.h" 22 #include "osal_types.h" 23 24 #ifdef __cplusplus 25 #if __cplusplus 26 extern "C" { 27 #endif 28 #endif 29 30 31 typedef enum { 32 WLAN_OFDM_ACK_CTS_TYPE_24M = 0, 33 WLAN_OFDM_ACK_CTS_TYPE_BUTT 34 } wlan_ofdm_ack_cts_type_enum; 35 typedef osal_u8 wlan_ofdm_ack_cts_type_enum_uint8; 36 37 typedef enum { 38 WLAN_BAND_ASSEMBLE_20M = 0, 39 WLAN_BAND_ASSEMBLE_SU_ER_242_TONE = 0, /* 等同20M */ 40 WLAN_BAND_ASSEMBLE_SU_ER_106_TONE = 1, 41 WLAN_BAND_ASSEMBLE_40M = 2, 42 WLAN_BAND_ASSEMBLE_40M_DUP = 3, 43 WLAN_BAND_ASSEMBLE_BUTT 44 } hal_channel_assemble_enum; 45 typedef osal_u8 hal_channel_assemble_enum_uint8; 46 47 #ifdef __cplusplus 48 #if __cplusplus 49 } 50 #endif 51 #endif 52 53 #endif /* end of wlan_types.h */ 54