-
Notifications
You must be signed in to change notification settings - Fork 2
/
rtl8822c.mk
58 lines (49 loc) · 1.92 KB
/
rtl8822c.mk
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
EXTRA_CFLAGS += -DCONFIG_RTL8822C
ifeq ($(CONFIG_MP_INCLUDED), y)
### 8822C Default Enable VHT MP HW TX MODE ###
#EXTRA_CFLAGS += -DCONFIG_MP_VHT_HW_TX_MODE
#CONFIG_MP_VHT_HW_TX_MODE = y
endif
_HAL_INTFS_FILES += hal/rtl8822c/rtl8822c_halinit.o \
hal/rtl8822c/rtl8822c_mac.o \
hal/rtl8822c/rtl8822c_cmd.o \
hal/rtl8822c/rtl8822c_phy.o \
hal/rtl8822c/rtl8822c_ops.o \
hal/rtl8822c/hal8822c_fw.o
ifeq ($(CONFIG_USB_HCI), y)
_HAL_INTFS_FILES += hal/rtl8822c/$(HCI_NAME)/rtl8822cu_halinit.o \
hal/rtl8822c/$(HCI_NAME)/rtl8822cu_halmac.o \
hal/rtl8822c/$(HCI_NAME)/rtl8822cu_io.o \
hal/rtl8822c/$(HCI_NAME)/rtl8822cu_xmit.o \
hal/rtl8822c/$(HCI_NAME)/rtl8822cu_recv.o \
hal/rtl8822c/$(HCI_NAME)/rtl8822cu_led.o \
hal/rtl8822c/$(HCI_NAME)/rtl8822cu_ops.o
_HAL_INTFS_FILES +=hal/efuse/rtl8822c/HalEfuseMask8822C_USB.o
endif
ifeq ($(CONFIG_PCI_HCI), y)
_HAL_INTFS_FILES += hal/rtl8822c/$(HCI_NAME)/rtl8822ce_halinit.o \
hal/rtl8822c/$(HCI_NAME)/rtl8822ce_halmac.o \
hal/rtl8822c/$(HCI_NAME)/rtl8822ce_io.o \
hal/rtl8822c/$(HCI_NAME)/rtl8822ce_xmit.o \
hal/rtl8822c/$(HCI_NAME)/rtl8822ce_recv.o \
hal/rtl8822c/$(HCI_NAME)/rtl8822ce_led.o \
hal/rtl8822c/$(HCI_NAME)/rtl8822ce_ops.o
_HAL_INTFS_FILES +=hal/efuse/rtl8822c/HalEfuseMask8822C_PCIE.o
endif
ifeq ($(CONFIG_SDIO_HCI), y)
_HAL_INTFS_FILES += hal/rtl8822c/$(HCI_NAME)/rtl8822cs_halinit.o \
hal/rtl8822c/$(HCI_NAME)/rtl8822cs_halmac.o \
hal/rtl8822c/$(HCI_NAME)/rtl8822cs_io.o \
hal/rtl8822c/$(HCI_NAME)/rtl8822cs_xmit.o \
hal/rtl8822c/$(HCI_NAME)/rtl8822cs_recv.o \
hal/rtl8822c/$(HCI_NAME)/rtl8822cs_led.o \
hal/rtl8822c/$(HCI_NAME)/rtl8822cs_ops.o
_HAL_INTFS_FILES +=hal/efuse/rtl8822c/HalEfuseMask8822C_SDIO.o
_HAL_INTFS_FILES +=hal/hal_hci/hal_sdio_coex.o
endif
include $(src)/halmac.mk
_BTC_FILES += hal/btc/halbtc8822cwifionly.o
ifeq ($(CONFIG_BT_COEXIST), y)
_BTC_FILES += hal/btc/halbtccommon.o \
hal/btc/halbtc8822c.o
endif