WS63 SDK 文档 7021f4f@fbb_ws63
ws63 和 ws63e 解决方案的 SDK 文档
载入中...
搜索中...
未找到
hal_device_rom.h
浏览该文件的文档.
1/*
2 * Copyright (c) HiSilicon (Shanghai) Technologies Co., Ltd. 2020-2022. All rights reserved.
3 * Description: Header file for hal_device_rom.c.
4 */
5
6#ifndef HAL_DEVICE_ROM_H
7#define HAL_DEVICE_ROM_H
8
9/*****************************************************************************
10 头文件包含
11*****************************************************************************/
12#include "osal_types.h"
13#include "hal_common_ops_rom.h"
14
15#ifdef __cplusplus
16#if __cplusplus
17extern "C" {
18#endif
19#endif
20
21#define WLAN_HAL_OHTER_BSS_ID 6 /* 其他BSS的广播ID */
22#define WLAN_HAL_OTHER_BSS_OTHER_ID 7 /* 来自其他BSS的其他帧(组播、单播) */
23/* P2P 中断统计 */
31
32/* 设备级 中断统计信息,!!!!本结构中修改任何一个成员都需要通知SDT同步修改,否则解析错误!!!! */
33typedef struct {
34 osal_u32 radar_detect_cnt; /* 检测到雷达 */
35 /* P2P 节能统计 */
38
41 /* device上挂的指针,使用时需要强转(后续需要使用宏替代,是不是指链表模板) */
44
45 osal_u8 cur_cali_chn; /* 当前校准的通道 */
46 osal_u8 cali_data_received : 1, /* device是否收到host下发的校准数据 */
48 noa_type : 2, /* 表示软件模拟触发一次雷达中断 */
49 wur_ac : 4;
50 osal_u8 vap_num; /* device下的vap的数量 */
51 osal_u8 wur_ap_vap_id : 4, /* wur在ap模式下使用,指示当前ap的vap id */
52 wur_twbtt_vap_id : 4; /* 指示wur的twbtt功能借用了哪个vap的TSF能力 */
53
54 uintptr_t *_rom; /* ROM化后资源扩展指针 */
56
57typedef struct {
60
61/*****************************************************************************
62 函数声明
63*****************************************************************************/
74
75#ifdef __cplusplus
76#if __cplusplus
77}
78#endif
79#endif
80
81#endif /* end of hal_device_rom.h */
osal_u8 hal_isr_type_enum_uint8
Definition hal_commom_ops_type_rom.h:172
@ HAL_MAX_VAP_NUM
Definition hal_common_ops_device_rom.h:33
osal_void hal_set_hal_fcs_done(osal_u8 param)
osal_void hal_device_reset_bcn_rf_chain(hal_to_dmac_device_stru *hal_device, osal_u8 up_vap_num)
osal_void hal_device_state_scan_set_rx_filter_reg(const hal_to_dmac_device_stru *hal_device)
osal_u32 hal_device_update_phy_chain(hal_to_dmac_device_stru *hal_device, oal_bool_enum_uint8 set_channel)
struct tag_hal_hal_device_stru hal_device_stru
oal_bool_enum_uint8 hal_device_find_is_ap_up(hal_to_dmac_device_stru *hal_device)
osal_u8 hal_get_hal_fcs_done(osal_void)
osal_void hal_device_state_work_set_rx_filter_reg(hal_to_dmac_device_stru *hal_device)
osal_void hal_alg_isr_hook_run(osal_u8 vap_id, hal_device_stru *hal_device, hal_isr_type_enum_uint8 isr_type)
osal_u8 hal_device_calc_up_vap_num(const hal_to_dmac_device_stru *hal_device)
osal_void hal_device_state_idle_set_rx_filter_reg(const hal_to_dmac_device_stru *hal_device)
osal_u8 oal_bool_enum_uint8
Definition oal_types_device_rom.h:45
unsigned char osal_u8
Definition osal_types.h:11
void osal_void
Definition osal_types.h:29
unsigned int osal_u32
Definition osal_types.h:13
Definition hal_device_rom.h:57
volatile oal_bool_enum_uint8 fcs_done
Definition hal_device_rom.h:58
Definition hal_device_rom.h:33
osal_u32 radar_detect_cnt
Definition hal_device_rom.h:34
hal_p2p_ps_stat_stru p2p_stat
Definition hal_device_rom.h:36
Definition hal_device_rom.h:24
osal_u32 absent_end_count
Definition hal_device_rom.h:29
osal_u32 noa_absent_end_count
Definition hal_device_rom.h:27
osal_u32 ct_window_end_count
Definition hal_device_rom.h:25
osal_u32 noa_absent_start_count
Definition hal_device_rom.h:26
osal_u32 absent_start_count
Definition hal_device_rom.h:28
Definition hal_common_ops_device_rom.h:1084
Definition hal_device_rom.h:39
osal_u8 wur_ap_vap_id
Definition hal_device_rom.h:51
osal_u8 wur_ac
Definition hal_device_rom.h:49
osal_u8 vap_num
Definition hal_device_rom.h:50
hal_vap_stru * vap_list[HAL_MAX_VAP_NUM]
Definition hal_device_rom.h:42
uintptr_t * _rom
Definition hal_device_rom.h:54
osal_u8 noa_type
Definition hal_device_rom.h:48
osal_u8 cur_cali_chn
Definition hal_device_rom.h:45
hal_to_dmac_device_stru hal_device_base
Definition hal_device_rom.h:40
osal_u8 cali_data_received
Definition hal_device_rom.h:46
osal_u8 wur_twbtt_vap_id
Definition hal_device_rom.h:52
hal_irq_device_stats_stru irq_stats
Definition hal_device_rom.h:43
osal_u8 dbdc_cali
Definition hal_device_rom.h:47
Definition hal_ops_common_rom.h:529
unsigned int uintptr_t
Definition td_type.h:65