• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1 /*
2  * Copyright (C) 2021 HiSilicon (Shanghai) Technologies CO., LIMITED.
3  *
4  * This program is free software; you can redistribute it and/or
5  * modify it under the terms of the GNU General Public License
6  * as published by the Free Software Foundation; either version 2
7  * of the License, or (at your option) any later version.
8  *
9  * This program is distributed in the hope that it will be useful,
10  * but WITHOUT ANY WARRANTY; without even the implied warranty of
11  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
12  * GNU General Public License for more details.
13  *
14  * You should have received a copy of the GNU General Public License
15  * along with this program; if not, write to the Free Software
16  * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA  02110-1301, USA.
17  */
18 
19 #ifndef __WAL_11D_H__
20 #define __WAL_11D_H__
21 
22 /* ****************************************************************************
23   1 其他头文件包含
24 **************************************************************************** */
25 #include "hmac_chan_mgmt.h"
26 
27 #ifdef __cplusplus
28 #if __cplusplus
29 extern "C" {
30 #endif
31 #endif
32 
33 /* ****************************************************************************
34   2 宏定义
35 **************************************************************************** */
36 /* ****************************************************************************
37   3 枚举定义
38 **************************************************************************** */
39 /* ****************************************************************************
40   4 全局变量声明
41 **************************************************************************** */
42 /* ****************************************************************************
43   5 消息头定义
44 **************************************************************************** */
45 /* ****************************************************************************
46   6 消息定义
47 **************************************************************************** */
48 /* ****************************************************************************
49   7 STRUCT定义
50 **************************************************************************** */
51 typedef struct {
52     hi_char                    *pc_country;       /* 国家字符串 */
53     mac_dfs_domain_enum_uint8   dfs_domain;       /* DFS 雷达标准 */
54     hi_u8                       reserved[3];      /* 3 BYTE保留字段 */
55 } wal_dfs_domain_entry_stru;
56 
57 /* ****************************************************************************
58   8 UNION定义
59 **************************************************************************** */
60 /* ****************************************************************************
61   9 OTHERS定义
62 **************************************************************************** */
63 /* ****************************************************************************
64   10 函数声明
65 **************************************************************************** */
66 hi_u32 wal_regdomain_update(oal_net_device_stru *netdev, const hi_char *pc_country, hi_u8 country_code_len);
67 
68 #ifdef __cplusplus
69 #if __cplusplus
70 }
71 #endif
72 #endif
73 
74 #endif /* end of wal_11d.h */
75