WS63 SDK 文档 7021f4f@fbb_ws63
ws63 和 ws63e 解决方案的 SDK 文档
载入中...
搜索中...
未找到
alg_compatibility_rom.h
浏览该文件的文档.
1/*
2 * Copyright (c) HiSilicon (Shanghai) Technologies Co., Ltd. 2020-2022. All rights reserved.
3 * Description: compatibility algorithm rom.
4 */
5
6#ifndef ALG_COMPATIBILITY_ROM_H
7#define ALG_COMPATIBILITY_ROM_H
8
9/* 1 其他头文件包含 */
10#include "alg_main_rom.h"
11
12#ifdef __cplusplus
13#if __cplusplus
14extern "C" {
15#endif
16#endif
17
18#ifdef _PRE_WLAN_FEATURE_COMPATIBILITY
19
20#define ALG_COMPATIBILITY_LDPC_TX_TH 256 /* ldpc探测最大惩罚门限 */
21
22/* 解决LDPC兼容性问题: AR算法按照协议能力协商, 此处默认设计为不支持; 如果LDPC编码发送成功一次则此处设计为True */
23typedef struct {
24 oal_bool_enum_uint8 ldpc_detect; /* 该用户是否需要ldpc探测 */
25 oal_bool_enum_uint8 ldpc_disable;
26 oal_bool_enum_uint8 en_supp_ldpc; /* 该用户是否支持LDPC */
27 osal_u8 resv;
28
29 osal_u16 cur_tx_total; /* 当前累计发帧数 */
30 osal_u16 detect_tx_th; /* 探测切换发帧门限 */
31} alg_ldpc_support_stru;
32
33typedef struct {
34 alg_ldpc_support_stru ldpc_det;
35
36 osal_u16 lut_index; /* 对应的USER lut index,避免回调指针 */
37 osal_u16 resv;
38} alg_compatibility_user_stru;
39
40osal_void alg_compatibility_init(osal_void);
41osal_void alg_compatibility_exit(osal_void);
42#endif
43
44#ifdef __cplusplus
45#if __cplusplus
46}
47#endif
48#endif
49
50#endif
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 short osal_u16
Definition osal_types.h:12