hc
2024-12-19 9370bb92b2d16684ee45cf24e879c93c509162da
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
/** @file */
/******************************************************************************
 *
 * Copyright(c) 2019 Realtek Corporation. All rights reserved.
 *
 * 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.
 *
 ******************************************************************************/
 
#ifndef _MAC_AX_FEATURE_CFG_H_
#define _MAC_AX_FEATURE_CFG_H_
 
#ifndef __cplusplus /* for win/linux driver */
 
/* [Note] Modify MakeFile to reduce code size */
 
/* Debug package for debugging */
#define MAC_AX_FEATURE_DBGPKG    1
 
/* Hadrware verification module */
#define MAC_AX_FEATURE_HV    0
 
/* FW offload reg read/write  */
#define MAC_AX_FW_REG_OFLD    0
 
/* Temp code for FPGA verification*/
#define MAC_AX_FPGA_TEST    0
 
/* Temp code for lack of BTC driver*/
#define MAC_AX_ASIC_TEMP    1
 
/* temp for h2c alloc move to phl layer*/
#define MAC_AX_PHL_H2C        1
 
/* Debug command */
#define MAC_AX_FEATURE_DBGCMD        1
 
/* Debug Log Decode */
#define MAC_AX_FEATURE_DBGDEC        1
 
/* For USB IO Offload Accelerate enable*/
#if defined(CONFIG_FW_DBCC_OFLD_SUPPORT) || defined(CONFIG_PHL_IO_OFLD)
#define MAC_USB_IO_ACC_ON    1
#else
#define MAC_USB_IO_ACC_ON    0
#endif
 
/* For workaround temp usage */
#define MAC_AX_RTK_WARD        0
#ifdef CONFIG_BTCOEX
#define MAC_AX_COEX_INIT_EN    0
#else
#define MAC_AX_COEX_INIT_EN    1
#endif
 
/* For USB IO Offload Accelerate*/
#define MAC_USB_IO_ACC         0
 
#else /* for WD1 test program */
 
/* [Note] Modify MakeFile to reduce code size */
 
/* Debug package for debugging */
#define MAC_AX_FEATURE_DBGPKG    1
 
/* Debug package for debugging */
#define MAC_AX_FW_REG_OFLD    0
 
/* Hadrware verification module */
#define MAC_AX_FEATURE_HV    1
 
#define MAC_AX_FPGA_TEST    1
 
#define MAC_AX_ASIC_TEMP    1
 
/* temp for h2c alloc move to phl layer */
#define MAC_AX_PHL_H2C        0
 
/* [HV] for SIC command generagor */
#define MAC_AX_HV_SIC_GEN    0
 
#define MAC_AX_COEX_INIT_EN    1
 
/* Debug command */
#define MAC_AX_FEATURE_DBGCMD    1
 
/* Debug Log Decode */
#define MAC_AX_FEATURE_DBGDEC    1
 
/* For workaround temp usage */
#define MAC_AX_RTK_WARD        0
 
/* For USB IO Offload Accelerate*/
#define MAC_USB_IO_ACC         0
 
/* For USB IO Offload Accelerate enable*/
#define MAC_USB_IO_ACC_ON    1
 
#endif // #else /* for WD1 test program */
 
#endif