hc
2024-03-22 a0752693d998599af469473b8dc239ef973a012f
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
/******************************************************************************
 *
 * Copyright(c) 2019 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.
 *
 *****************************************************************************/
#ifndef _HAL_CONFIG_H_
#define _HAL_CONFIG_H_
 
#ifdef CONFIG_PHL_TEST_MP
   #define CONFIG_HAL_TEST_MP
#endif
 
#define MAX_PATH_LEN            256
 
#define MAX_LINES_HWCONFIG_TXT    2000
#define MAX_BYTES_LINE_HWCONFIG_TXT     256
#define MAX_HWCONFIG_FILE_CONTENT    MAX_LINES_HWCONFIG_TXT * MAX_BYTES_LINE_HWCONFIG_TXT
 
/* Disable HALBB Features */
#ifndef CONFIG_PHL_DFS
   #define DRV_BB_DFS_DISABLE
#endif
 
#ifdef CONFIG_BB_TIMER_SUPPORT_DISABLE
   #define DRV_BB_TIMER_SUPPORT_DISABLE
#endif
 
/* Compile flag for fw for different cut versions.
* This should be wrapped with the compile flags from core, and need to be discussed
*/
#ifdef CONFIG_RTL8852A
#define MAC_FW_8852A_U1 1
#define MAC_FW_8852A_U2 1
#define MAC_FW_8852A_U3 1
#endif
 
#ifdef CONFIG_RTL8852B
#define MAC_FW_8852B_U1 1
#define MAC_FW_8852B_U2 1
#endif
 
 
#ifdef CONFIG_WPP
#define DRV_BB_DBG_TRACE_DISABLE
#endif
/* HALRF Features */
 
#ifdef RTW_WKARD_PHL_LPS_IQK_TWICE
#define RTW_WKARD_HAL_LPS_IQK_TWICE
#endif
 
#endif /*_HAL_CONFIG_H_*/