|
WS63 SDK 文档 7021f4f@fbb_ws63
ws63 和 ws63e 解决方案的 SDK 文档
|
#include "oam_ext_if.h"#include "frw_ext_if_rom.h"#include "frw_dmac_rom.h"#include "frw_msg_rom.h"#include "dmac_ext_if_rom.h"#include "dmac_alg_if_part_rom.h"#include "alg_common_rom.h"

结构体 | |
| struct | alg_dmac_internal_hook_stru |
宏定义 | |
| #define | ALG_RSSI_MARGIN_DB 4 /* RSSI余量,使用rssi计算时使用 */ |
| #define | alg_stru_elem_offset(_stru, _elem) ((osal_u16)((osal_u8 *)(&(((_stru *)0)->_elem)) - (osal_u8 *)0)) |
| #define | alg_device_foreach_vap(_pst_vap, _pst_device, _uc_vap_index) |
| #define | alg_vap_foreach_user(_pst_user, _pst_vap, _pst_list_pos) |
类型定义 | |
| typedef osal_u32(* | alg_dmac_internal_hook_init_cb) (void) |
| typedef osal_u32(* | alg_dmac_internal_hook_exit_cb) (void) |
| typedef osal_u32(* | alg_dmac_config_param_cb) (dmac_vap_stru *dmac_vap, frw_msg *msg) |
| typedef osal_u32(* | p_alg_dmac_co_intf_notify_func) (hal_to_dmac_device_stru *hal_device, alg_intf_det_notify_info_stru *intf_det_notify) |
| typedef osal_u32(* | p_alg_dmac_distance_notify_func) (const dmac_user_stru *dmac_user, const dmac_alg_distance_notify_info_stru *distance_info) |
| typedef osal_u32(* | p_alg_dmac_intfdet_lossthr_notify_func) (hal_to_dmac_device_stru *hal_device) |
| typedef osal_u32(* | p_alg_dmac_param_sync_notify_func) (const alg_param_sync_stru *alg_sync) |
| typedef osal_u32(* | p_alg_dbac_config_func) (dmac_vap_stru *dmac_vap, frw_msg *msg) |
| typedef osal_void *(* | alg_dmac_mem_alloc_cb) (alg_mem_enum_uint8 alg_id, osal_u16 len) |
| #define alg_device_foreach_vap | ( | _pst_vap, | |
| _pst_device, | |||
| _uc_vap_index | |||
| ) |
| #define ALG_RSSI_MARGIN_DB 4 /* RSSI余量,使用rssi计算时使用 */ |
| #define alg_stru_elem_offset | ( | _stru, | |
| _elem | |||
| ) | ((osal_u16)((osal_u8 *)(&(((_stru *)0)->_elem)) - (osal_u8 *)0)) |
| #define alg_vap_foreach_user | ( | _pst_user, | |
| _pst_vap, | |||
| _pst_list_pos | |||
| ) |
| typedef osal_u32(* alg_dmac_config_param_cb) (dmac_vap_stru *dmac_vap, frw_msg *msg) |
| typedef osal_u32(* alg_dmac_internal_hook_exit_cb) (void) |
| typedef osal_u32(* alg_dmac_internal_hook_init_cb) (void) |
| typedef osal_void *(* alg_dmac_mem_alloc_cb) (alg_mem_enum_uint8 alg_id, osal_u16 len) |
| typedef osal_u32(* p_alg_dbac_config_func) (dmac_vap_stru *dmac_vap, frw_msg *msg) |
| typedef osal_u32(* p_alg_dmac_co_intf_notify_func) (hal_to_dmac_device_stru *hal_device, alg_intf_det_notify_info_stru *intf_det_notify) |
| typedef osal_u32(* p_alg_dmac_distance_notify_func) (const dmac_user_stru *dmac_user, const dmac_alg_distance_notify_info_stru *distance_info) |
| typedef osal_u32(* p_alg_dmac_intfdet_lossthr_notify_func) (hal_to_dmac_device_stru *hal_device) |
| typedef osal_u32(* p_alg_dmac_param_sync_notify_func) (const alg_param_sync_stru *alg_sync) |
| osal_u32 alg_distance_notify | ( | dmac_user_stru * | dmac_user, |
| dmac_alg_distance_notify_info_stru * | distance_info | ||
| ) |
| osal_u32 alg_dmac_co_intf_notify | ( | hal_to_dmac_device_stru * | hal_device, |
| alg_intf_det_notify_info_stru * | intf_det_notify | ||
| ) |
| osal_s32 alg_dmac_config_multi_param | ( | dmac_vap_stru * | dmac_vap, |
| frw_msg * | msg | ||
| ) |
| osal_s32 alg_dmac_config_param | ( | dmac_vap_stru * | dmac_vap, |
| frw_msg * | msg | ||
| ) |
| osal_void * alg_dmac_mem_alloc | ( | alg_mem_enum_uint8 | alg_id, |
| osal_u16 | len | ||
| ) |
| osal_u32 alg_dmac_register_co_intf_notify_func | ( | alg_co_intf_notify_enum_uint8 | notify_sub_type, |
| p_alg_dmac_co_intf_notify_func | func | ||
| ) |
| osal_u32 alg_dmac_register_dbac_config_func | ( | p_alg_dbac_config_func | func | ) |
| osal_void alg_get_device_user_num_index | ( | hal_to_dmac_device_stru * | hal_device, |
| osal_u8 * | device_user_num, | ||
| osal_u8 * | first_user_lut_idx | ||
| ) |
| osal_void alg_get_vap_and_device_user_num | ( | hal_to_dmac_device_stru * | hal_device, |
| const dmac_vap_stru * | dmac_vap_cmp, | ||
| osal_u8 * | vap_user_num, | ||
| osal_u8 * | device_user_num | ||
| ) |
| osal_void alg_register_distance_notify_func | ( | alg_distance_notify_enum_uint8 | notify_sub_type, |
| p_alg_dmac_distance_notify_func | func | ||
| ) |
| osal_u32 alg_unregister_co_intf_notify_func | ( | alg_co_intf_notify_enum_uint8 | notify_sub_type | ) |
| osal_u32 alg_unregister_distance_notify_func | ( | alg_distance_notify_enum_uint8 | notify_sub_type | ) |
| osal_s32 alg_vap_up_process | ( | dmac_vap_stru * | dmac_vap, |
| frw_msg * | msg | ||
| ) |