WS63 SDK 文档 7021f4f@fbb_ws63
ws63 和 ws63e 解决方案的 SDK 文档
载入中...
搜索中...
未找到
alg_probe_common_rom.h
浏览该文件的文档.
1/*
2 * Copyright (c) HiSilicon (Shanghai) Technologies Co., Ltd. 2020-2022. All rights reserved.
3 * Description: algorithm probe common rom
4 */
5
6#ifndef ALG_PROBE_COMMON_ROM_H
7#define ALG_PROBE_COMMON_ROM_H
8
9/*****************************************************************************
10 1 其他头文件包含
11*****************************************************************************/
12#include "dmac_user_rom.h"
13#include "dmac_alg_if_part_rom.h"
14#include "alg_main_rom.h"
15
16#ifdef __cplusplus
17#if __cplusplus
18extern "C" {
19#endif
20#endif
21
22/*****************************************************************************
23 2 宏定义
24*****************************************************************************/
25
26/*****************************************************************************
27 3 枚举定义
28*****************************************************************************/
29
30/*****************************************************************************
31 7 STRUCT定义
32*****************************************************************************/
33typedef struct {
34 alg_lock_probe_type_enum_uint8 en_probe_lock; /* user共用的探测锁 */
35 oal_bool_enum_uint8 lock_flag; /* user置探测锁标志 */
36 osal_u16 lock_times; /* 统计探测锁期间发包次数 */
37 osal_u32 lock_timestamp; /* 记录user置探测锁时间戳 */
42/*****************************************************************************
43 10 函数声明
44*****************************************************************************/
47osal_u32 alg_common_init_user(dmac_vap_stru *dmac_vap, dmac_user_stru *dmac_user);
48osal_u32 alg_common_exit_user(dmac_vap_stru *dmac_vap, dmac_user_stru *dmac_user);
51osal_u32 alg_common_user_qry_probe_lock(osal_u16 user_lut_idx, alg_lock_probe_type_enum_uint8 *pen_lock_type);
52osal_u32 alg_common_user_lock_probe(osal_u16 user_lut_idx, alg_lock_probe_type_enum_uint8 en_lock_type);
53void alg_common_user_unlock_probe(osal_u16 user_lut_idx, alg_lock_probe_type_enum_uint8 en_lock_type);
57typedef osal_u32 (*alg_common_init_user_cb)(dmac_vap_stru *dmac_vap, dmac_user_stru *dmac_user);
58typedef osal_u32 (*alg_common_exit_user_cb)(dmac_vap_stru *dmac_vap, dmac_user_stru *dmac_user);
59typedef osal_u32 (*alg_common_tx_complete_cb)(dmac_user_stru *user, oal_dmac_netbuf_stru *buf,
61#ifdef __cplusplus
62#if __cplusplus
63}
64#endif
65#endif
66
67#endif /* end of alg_common.h */
68
osal_u32 alg_common_init(void)
osal_u32(* alg_common_exit_cb)(void)
Definition alg_probe_common_rom.h:56
osal_u32 alg_common_user_qry_probe_lock(osal_u16 user_lut_idx, alg_lock_probe_type_enum_uint8 *pen_lock_type)
osal_u32(* alg_common_exit_user_cb)(dmac_vap_stru *dmac_vap, dmac_user_stru *dmac_user)
Definition alg_probe_common_rom.h:58
osal_u32(* alg_common_init_cb)(void)
Definition alg_probe_common_rom.h:55
osal_u32 alg_common_param_sync(const alg_param_sync_stru *sync)
osal_u32(* alg_common_init_user_cb)(dmac_vap_stru *dmac_vap, dmac_user_stru *dmac_user)
Definition alg_probe_common_rom.h:57
osal_u32 alg_common_exit(void)
osal_u32 alg_common_exit_user(dmac_vap_stru *dmac_vap, dmac_user_stru *dmac_user)
void alg_common_user_unlock_probe(osal_u16 user_lut_idx, alg_lock_probe_type_enum_uint8 en_lock_type)
osal_u32 alg_common_user_lock_probe(osal_u16 user_lut_idx, alg_lock_probe_type_enum_uint8 en_lock_type)
osal_u32 alg_common_init_user(dmac_vap_stru *dmac_vap, dmac_user_stru *dmac_user)
osal_u32 alg_common_tx_complete_proc(dmac_user_stru *user, oal_dmac_netbuf_stru *buf, hal_tx_dscr_ctrl_one_param *tx_dscr)
osal_u32(* alg_common_tx_complete_cb)(dmac_user_stru *user, oal_dmac_netbuf_stru *buf, hal_tx_dscr_ctrl_one_param *tx_dscr)
Definition alg_probe_common_rom.h:59
osal_u8 oal_bool_enum_uint8
Definition oal_types_device_rom.h:45
unsigned int osal_u32
Definition osal_types.h:13
unsigned short osal_u16
Definition osal_types.h:12
Definition alg_probe_common_rom.h:39
alg_param_sync_common_stru * sync_param
Definition alg_probe_common_rom.h:40
Definition alg_probe_common_rom.h:33
oal_bool_enum_uint8 lock_flag
Definition alg_probe_common_rom.h:35
alg_lock_probe_type_enum_uint8 en_probe_lock
Definition alg_probe_common_rom.h:34
osal_u16 lock_times
Definition alg_probe_common_rom.h:36
osal_u32 lock_timestamp
Definition alg_probe_common_rom.h:37
Definition alg_common_rom.h:372
Definition alg_common_rom.h:411
Definition dmac_ext_if_rom.h:106
Definition hal_common_ops_rom.h:56
Definition oal_net_pkt_rom.h:83