• 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 __HMAC_RX_FILTER_H__
20 #define __HMAC_RX_FILTER_H__
21 
22 /* ****************************************************************************
23   1 其他头文件包含
24 **************************************************************************** */
25 #include "hi_types.h"
26 #include "oal_err_wifi.h"
27 #include "mac_vap.h"
28 #include "mac_device.h"
29 
30 #ifdef __cplusplus
31 #if __cplusplus
32 extern "C" {
33 #endif
34 #endif
35 
36 /* ****************************************************************************
37   2 函数声明
38 **************************************************************************** */
39 hi_u32 hmac_set_rx_filter_value(const mac_vap_stru *mac_vap);
40 hi_u32 hmac_calc_up_vap_num(const mac_device_stru *mac_dev);
41 hi_u8 hmac_find_is_ap_up(const mac_device_stru *mac_dev);
42 hi_u8 hmac_find_is_ap(const mac_device_stru *mac_dev);
43 #ifdef _PRE_WLAN_FEATURE_PROMIS
44 hi_u8 hwal_get_promis_filter(void);
45 #endif
46 
47 #ifdef __cplusplus
48 #if __cplusplus
49 }
50 #endif
51 #endif
52 
53 #endif /* __HMAC_RX_FILTER_H__ */
54