WS63 SDK 文档 7021f4f@fbb_ws63
ws63 和 ws63e 解决方案的 SDK 文档
载入中...
搜索中...
未找到
hmac_achba.h
浏览该文件的文档.
1/*
2 * Copyright (c) HiSilicon (Shanghai) Technologies Co., Ltd. 2023-2023. All rights reserved.
3 * Description: Header file for hmac_achba.c.
4 * Create: 2023-04-17
5 */
6
7#ifndef HMAC_ACHBA_H
8#define HMAC_ACHBA_H
9
10/*****************************************************************************
11 1 其他头文件包含
12*****************************************************************************/
13#include "dmac_ext_if_hcm.h"
14
15#ifdef __cplusplus
16#if __cplusplus
17extern "C" {
18#endif
19#endif
20
21#undef THIS_FILE_ID
22#define THIS_FILE_ID OAM_FILE_ID_HMAC_ACHBA_H
23
24/*****************************************************************************
25 2 宏定义
26*****************************************************************************/
27#define MAC_ORGANIZATION_IDENTIFIER_LEN 3 /* organization identifiter 长度 */
28#define MAC_SUB_TYPE_LEN 1 /* sub_type 长度 */
29#define MAC_CHBA_CAP_INFO_LEN 16 /* chba capability info 长度 */
30#define MAC_EXT_ACHBA_SUB_TYPE_IE 0x30 /* chba_capablityinfo SUB_TYPE字段 */
31/*****************************************************************************
32 3 枚举定义
33*****************************************************************************/
34
35/*****************************************************************************
36 4 全局变量声明
37*****************************************************************************/
38
39/*****************************************************************************
40 5 消息头定义
41*****************************************************************************/
42
43
44/*****************************************************************************
45 6 消息定义
46*****************************************************************************/
47
48
49/*****************************************************************************
50 7 STRUCT定义
51*****************************************************************************/
52
53typedef osal_s32 (*oal_achba_get_chba_cap)(oal_net_device_stru *netdev, osal_u8 *buff, osal_u32 buff_len);
54typedef osal_s32 (*oal_achba_wifi_link_add)(oal_net_device_stru *netdev, const osal_u8 *user_mac, osal_u32 mac_len,
55 const osal_s8 *achba_cap, osal_u32 cap_len);
56typedef osal_s32 (*oal_achba_wifi_link_del)(oal_net_device_stru *netdev, osal_s32 achba_link_id);
57typedef osal_s32 (*oal_achba_wifi_link_keepalive)(oal_net_device_stru *netdev, osal_s32 achba_link_id,
58 osal_u32 keep_ind);
61 osal_u16 msg_len);
63
76
77/*****************************************************************************
78 8 UNION定义
79*****************************************************************************/
80
81
82/*****************************************************************************
83 9 OTHERS定义
84*****************************************************************************/
85
86
87/*****************************************************************************
88 10 函数声明
89*****************************************************************************/
93 struct oal_achba_caller_intfs *caller_intfs);
95static osal_u32 hmac_achba_init_weakref(osal_void) __attribute__ ((weakref("hmac_achba_init"), used));
96static osal_void hmac_achba_deinit_weakref(osal_void) __attribute__ ((weakref("hmac_achba_deinit"), used));
97
98#ifdef __cplusplus
99#if __cplusplus
100}
101#endif
102#endif
103
104#endif /* end of hmac_achba */
osal_u32 hmac_achba_get_keepalive_ind(void)
osal_s32 hmac_achba_get_achba_link_id(void)
osal_s32(* oal_achba_get_chba_cap)(oal_net_device_stru *netdev, osal_u8 *buff, osal_u32 buff_len)
Definition hmac_achba.h:53
osal_s32 hmac_config_ind_achba_keepalive(hmac_vap_stru *mac_vap, frw_msg *msg)
osal_void(* hmac_process_update_achba_cb)(hmac_vap_stru *hmac_vap, hmac_user_stru *hmac_user, osal_u8 *payload, osal_u16 msg_len)
Definition hmac_achba.h:60
osal_s32(* oal_achba_wifi_link_add)(oal_net_device_stru *netdev, const osal_u8 *user_mac, osal_u32 mac_len, const osal_s8 *achba_cap, osal_u32 cap_len)
Definition hmac_achba.h:54
osal_void(* hmac_user_del_achba_cb)(hmac_vap_stru *hmac_vap)
Definition hmac_achba.h:62
osal_u8(* hmac_set_achba_cap_ie_cb)(hmac_vap_stru *hmac_vap, osal_u8 *buffer)
Definition hmac_achba.h:59
osal_s32(* oal_achba_wifi_link_del)(oal_net_device_stru *netdev, osal_s32 achba_link_id)
Definition hmac_achba.h:56
static osal_u32 used
Definition hmac_achba.h:95
osal_s32 oal_achba_register_wifi_intfs(struct oal_achba_callee_intfs *callee_intfs, struct oal_achba_caller_intfs *caller_intfs)
osal_s32(* oal_achba_wifi_link_keepalive)(oal_net_device_stru *netdev, osal_s32 achba_link_id, osal_u32 keep_ind)
Definition hmac_achba.h:57
int osal_s32
Definition osal_types.h:19
unsigned char osal_u8
Definition osal_types.h:11
signed char osal_s8
Definition osal_types.h:17
void osal_void
Definition osal_types.h:29
unsigned int osal_u32
Definition osal_types.h:13
unsigned short osal_u16
Definition osal_types.h:12
Log message information header.
Definition log_oam_logger.h:564
Definition frw_msg_rom.h:74
Definition mac_user_ext.h:519
Definition mac_vap_ext.h:2019
Definition hmac_achba.h:64
oal_achba_wifi_link_add wifi_link_add
Definition hmac_achba.h:66
oal_achba_wifi_link_del wifi_link_del
Definition hmac_achba.h:67
oal_achba_get_chba_cap get_chba_cap
Definition hmac_achba.h:65
Definition hmac_achba.h:69
oal_achba_wifi_link_keepalive achba_keepalive
Definition hmac_achba.h:70