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
/** @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_CHIP_CFG_H_
#define _MAC_AX_CHIP_CFG_H_
 
/* Modify MakeFile to reduce code size (chip & interface) */
#ifdef CONFIG_RTL8852A
#define MAC_AX_8852A_SUPPORT    1
#else
#define MAC_AX_8852A_SUPPORT    0
#endif
 
#ifdef CONFIG_RTL8852B
#define MAC_AX_8852B_SUPPORT    1
#else
#define MAC_AX_8852B_SUPPORT    0
#endif
 
#ifdef CONFIG_RTL8852C
#define MAC_AX_8852C_SUPPORT    1
#else
#define MAC_AX_8852C_SUPPORT    0
#endif
 
#ifdef CONFIG_RTL8192XB
#define MAC_AX_8192XB_SUPPORT    1
#else
#define MAC_AX_8192XB_SUPPORT    0
#endif
 
#ifdef CONFIG_RTL8851B
#define MAC_AX_8851B_SUPPORT    1
#else
#define MAC_AX_8851B_SUPPORT    0
#endif
 
#ifdef CONFIG_RTL8851E
#define MAC_AX_8851E_SUPPORT    1
#else
#define MAC_AX_8851E_SUPPORT    0
#endif
 
#ifdef CONFIG_RTL8852D
#define MAC_AX_8852D_SUPPORT    1
#else
#define MAC_AX_8852D_SUPPORT    0
#endif
 
#ifdef CONFIG_RTL8852BT
#define MAC_AX_8852BT_SUPPORT    1
#else
#define MAC_AX_8852BT_SUPPORT    0
#endif
/* Interface support */
#ifdef CONFIG_SDIO_HCI
#define MAC_AX_SDIO_SUPPORT    1
#else
#define MAC_AX_SDIO_SUPPORT    0
#endif
#ifdef CONFIG_USB_HCI
#define MAC_AX_USB_SUPPORT    1
#else
#define MAC_AX_USB_SUPPORT    0
#endif
#ifdef CONFIG_PCI_HCI
#define MAC_AX_PCIE_SUPPORT    1
#else
#define MAC_AX_PCIE_SUPPORT    0
#endif
#endif