hc
2024-08-16 62c46c9150c4afde7e5b25436263fddf79d66f0b
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
/******************************************************************************
 *
 * Copyright(c) 2007 - 2020  Realtek Corporation.
 *
 * This program is free software; you can redistribute it and/or modify it
 * under the terms of version 2 of the GNU General Public License as
 * published by the Free Software Foundation.
 *
 * This program is distributed in the hope that it will be useful, but WITHOUT
 * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
 * FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public License for
 * more details.
 *
 * The full GNU General Public License is included in this distribution in the
 * file called LICENSE.
 *
 * Contact Information:
 * wlanfae <wlanfae@realtek.com>
 * Realtek Corporation, No. 2, Innovation Road II, Hsinchu Science Park,
 * Hsinchu 300, Taiwan.
 *
 * Larry Finger <Larry.Finger@lwfinger.net>
 *
 *****************************************************************************/
 
#ifndef __HALBB_FEATURES_H__
#define __HALBB_FEATURES_H__
 
#include "../../hal_headers_le.h"
#include "halbb_cfg_ic.h"
#include "halbb_ic_hw_info.h"
 
/*[Control by Outer Driver]--------------------------------------------------*/
#ifndef DRV_BB_TIMER_SUPPORT_DISABLE
   #define HALBB_TIMER_SUPPORT
#endif
 
#ifndef DRV_BB_DBG_TRACE_DISABLE
   #define HALBB_DBG_TRACE_SUPPORT
#endif
 
#ifndef DRV_BB_PHYSTS_PARSING_DISABLE
   #define HALBB_PHYSTS_PARSING_SUPPORT
#endif
#ifndef DRV_BB_ENV_MNTR_DISABLE
   #define HALBB_ENV_MNTR_SUPPORT
   #define CLM_SUPPORT
   #define NHM_SUPPORT
   #define IFS_CLM_SUPPORT
   #define FAHM_SUPPORT
   #define EDCCA_CLM_SUPPORT
#endif
#ifndef DRV_BB_STATISTICS_DISABLE
   #define HALBB_STATISTICS_SUPPORT
#endif
#ifndef DRV_BB_RA_DISABLE
   #define HALBB_RA_SUPPORT
#endif
#ifndef DRV_BB_ADPTVTY_DISABLE
   #define HALBB_EDCCA_SUPPORT
#endif
#ifndef DRV_BB_DFS_DISABLE
   #define HALBB_DFS_SUPPORT
#endif
#ifndef DRV_BB_CFO_TRK_DISABLE
   #define HALBB_CFO_TRK_SUPPORT
   //#define BB_DYN_CFO_TRK_LOP
#endif
#ifndef DRV_BB_DIG_DISABLE
   #define HALBB_DIG_SUPPORT
   #ifndef DRV_BB_TDMADIG_DISABLE
   #define HALBB_DIG_TDMA_SUPPORT
   #endif
   #ifndef DRV_BB_DIG_MCC_DISABLE
   #define HALBB_DIG_MCC_SUPPORT
   #define HALBB_DIG_MCC_SUPPORT_IC (BB_RTL8852A | BB_RTL8852B)
   #endif
   #define HALBB_DIG_DAMPING_CHK
#endif
#ifndef DRV_BB_LA_MODE_DISABLE
   #define HALBB_LA_MODE_SUPPORT
#endif
#ifndef DRV_BB_PSD_DISABLE
   #define HALBB_PSD_SUPPORT
#endif
#ifndef DRV_BB_PWR_CTRL_DISABLE
   #define HALBB_PWR_CTRL_SUPPORT
#endif
#ifndef DRV_BB_RUA_DISABLE
   #define HALBB_RUA_SUPPORT
#endif
#ifndef DRV_BB_PMAC_TX_DISABLE
   #define HALBB_PMAC_TX_SUPPORT
#endif
#ifndef DRV_BB_CH_INFO_DISABLE
   #define HALBB_CH_INFO_SUPPORT
   #ifndef DRV_BB_DYN_CSI_RSP_DISABLE
   #define HALBB_DYN_CSI_RSP_SUPPORT
   #endif
#endif
#ifndef DRV_BB_AUTO_DBG_DISABLE
   #define HALBB_AUTO_DBG_SUPPORT
#endif
#if 0
   #define HALBB_ANT_DIV_SUPPORT
#endif
#ifndef DRV_BB_DYN_L2H_DISABLE
   #define HALBB_DYN_L2H_SUPPORT
#endif
/*[DBCC]*/
#if (defined(CONFIG_DBCC_SUPPORT) &&  defined(HALBB_COMPILE_IC_DBCC))
   #define HALBB_DBCC_SUPPORT
   #define HALBB_DBCC_DVLP_FLAG
#endif
/*[FW OFFLOAD]*/
#if (defined(CONFIG_FW_IO_OFLD_SUPPORT) &&  defined(HALBB_COMPILE_IC_FWOFLD))
#define HALBB_FW_OFLD_SUPPORT
#endif
 
#define HALBB_TDMA_CR_SUPPORT
 
 
#ifndef DRV_BB_ULOFDMA_CTRL_DISABLE
   #define HALBB_UL_TB_CTRL_SUPPORT
#endif
 
#endif