WS63 SDK 文档
7021f4f@fbb_ws63
ws63 和 ws63e 解决方案的 SDK 文档
载入中...
搜索中...
未找到
alg_transplant.h
浏览该文件的文档.
1
/*
2
* Copyright (c) HiSilicon (Shanghai) Technologies Co., Ltd. 2020-2022. All rights reserved.
3
* Description: algorithm transfer platform
4
*/
5
6
#ifndef __ALG_TRANSPLANT_H__
7
#define __ALG_TRANSPLANT_H__
8
9
/******************************************************************************
10
1 其他头文件包含
11
******************************************************************************/
12
#include "
wlan_types_common.h
"
13
#include "
oal_ext_if.h
"
14
#include "
dmac_ext_if_hcm.h
"
15
#include "
wlan_spec.h
"
16
#include "
alg_main.h
"
17
#include "
hmac_device.h
"
18
#include "
oam_ext_if.h
"
19
20
#include "
hal_device.h
"
21
22
/******************************************************************************
23
2 宏定义
24
******************************************************************************/
25
/* 系统时间封装 */
26
27
typedef
osal_time_us_stru
alg_time_us_stru
;
28
29
/* 遍历VAP/USER操作封装 */
30
#define alg_device_foreach_vap(_pst_vap, _pst_device, _uc_vap_index) \
31
for ((_uc_vap_index) = 0, (_pst_vap) = ((_pst_device)->vap_num > 0) ? \
32
((hmac_vap_stru *)mac_res_get_hmac_vap((_pst_device)->vap_id[0])) : \
33
OSAL_NULL; \
34
(_uc_vap_index) < (_pst_device)->vap_num; \
35
(_uc_vap_index)++, (_pst_vap) = ((_uc_vap_index) < (_pst_device)->vap_num) ? \
36
((hmac_vap_stru *)mac_res_get_hmac_vap((_pst_device)->vap_id[_uc_vap_index])) : \
37
OSAL_NULL) \
38
if ((_pst_vap) != OSAL_NULL)
39
#define alg_vap_foreach_user(_pst_user, _pst_vap, _pst_list_pos) \
40
for ((_pst_list_pos) = (_pst_vap)->mac_user_list_head.next, \
41
(_pst_user) = osal_list_entry((_pst_list_pos), hmac_user_stru, user_dlist); \
42
((_pst_list_pos) != &((_pst_vap)->mac_user_list_head)) && ((_pst_list_pos) != OSAL_NULL); \
43
(_pst_list_pos) = (_pst_list_pos)->next, \
44
(_pst_user) = osal_list_entry((_pst_list_pos), hmac_user_stru, user_dlist)) \
45
if ((_pst_user) != OSAL_NULL)
46
47
#endif
/* end of alg_transplant.h */
alg_main.h
alg_time_us_stru
osal_time_us_stru alg_time_us_stru
Definition
alg_transplant.h:27
dmac_ext_if_hcm.h
hal_device.h
hmac_device.h
oal_ext_if.h
oam_ext_if.h
osal_time_us_stru
Definition
frw_util_common_rom.h:20
wlan_spec.h
wlan_types_common.h
src
protocol
wifi
source
alg
iot_alg
host
alg_transplant.h
由
William Goodspeed
维护 | E-mail: gongzl@stu.hebust.edu.cn | Wechat: a23333344 | ALSO CHECKOUT
WS63FLASH
!
生成于 2025年 一月 4日 星期六 17:47:12 , 为 WS63 SDK 文档使用
1.9.8