• 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 MIB element structure and its corresponding enumeration.
15  */
16 
17 #ifndef WLAN_MIB_ROM_H
18 #define WLAN_MIB_ROM_H
19 
20 /*****************************************************************************
21   1 其他头文件包含
22 *****************************************************************************/
23 #include "oal_types_device_rom.h"
24 #include "wlan_types_rom.h"
25 
26 #ifdef __cplusplus
27 #if __cplusplus
28 extern "C" {
29 #endif
30 #endif
31 /*****************************************************************************
32     配置命令 ID
33     第一段  MIB 类配置
34     第二段  非MIB类配置
35 *****************************************************************************/
36 typedef osal_u16 wlan_dmac_cfgid_enum_uint16;
37 
38 /*****************************************************************************
39   7 STRUCT定义
40 *****************************************************************************/
41 typedef struct {
42     osal_u8 dot11_station_id[WLAN_MAC_ADDR_LEN];
43     osal_u8 dot11_privacy_invoked                     : 1;
44     osal_u8 dot11_rsna_activated                      : 1;
45     osal_u8 dot11_mgmt_option_multi_bssid_implemented : 1;
46     osal_u8 dot11_heldpc_coding_in_payload            : 1;
47     osal_u8 dot11_ldpc_coding_option_implemented      : 1;
48     osal_u8 dot11_ldpc_coding_option_activated        : 1;
49     osal_u8 dot11_vhtldpc_coding_option_implemented   : 1;
50     osal_u8 resv                                      : 1;
51     osal_u8  dot11_power_management_mode;
52     osal_u32 dot11_beacon_period;
53     osal_u32 dot11_dtim_period;
54     uintptr_t *_rom; /* ROM化后资源扩展指针 */
55 } wlan_dmac_mib_stru;
56 
57 #ifdef __cplusplus
58 #if __cplusplus
59 }
60 #endif
61 #endif
62 
63 #endif /* end of wlan_mib_rom.h */
64