WS63 SDK 文档 7021f4f@fbb_ws63
ws63 和 ws63e 解决方案的 SDK 文档
载入中...
搜索中...
未找到
mac_apf.h
浏览该文件的文档.
1/*
2 * Copyright (c) HiSilicon (Shanghai) Technologies Co., Ltd. 2022-2023. All rights reserved.
3 * Description: APF mac header.
4 * Author:
5 * Create: 2022-10-14
6 */
7
8#ifndef MAC_APF_H
9#define MAC_APF_H
10
11/*****************************************************************************
12 1 其他头文件包含
13*****************************************************************************/
14#include "frw_osal.h"
15
16#ifdef __cplusplus
17#if __cplusplus
18extern "C" {
19#endif
20#endif
21
22#undef THIS_FILE_ID
23#define THIS_FILE_ID OAM_FILE_ID_MAC_APF_H
24
25#ifdef _PRE_WLAN_FEATURE_APF
26/*****************************************************************************
27 2 宏定义
28*****************************************************************************/
29#define APF_PROGRAM_MAX_LEN 512
30
31/*****************************************************************************
32 3 枚举定义
33*****************************************************************************/
34typedef enum {
35 APF_SET_FILTER_CMD,
36 APF_GET_FILTER_CMD,
37 APF_FILTER_CMD_BUFF
38} mac_apf_cmd_type_enum;
39typedef osal_u8 mac_apf_cmd_type_uint8;
40
41typedef enum {
42 OSAL_SWITCH_OFF = 0,
43 OSAL_SWITCH_ON = 1,
44 OSAL_SWITCH_BUTT
45} osal_switch_enum;
46
47typedef struct {
48 mac_apf_cmd_type_uint8 cmd_type;
49 osal_u16 program_len;
50 osal_u8 *program;
51} mac_apf_filter_cmd_stru;
52
53#endif /* end of _PRE_WLAN_FEATURE_APF */
54
55#ifdef __cplusplus
56#if __cplusplus
57}
58#endif
59#endif
60
61#endif /* end of mac_apf.h */
unsigned char osal_u8
Definition osal_types.h:11
unsigned short osal_u16
Definition osal_types.h:12