|
@@ -1174,16 +1174,21 @@ HIF_USB_OBJS := $(WLAN_COMMON_ROOT)/$(HIF_USB_DIR)/usbdrv.o \
|
|
|
$(WLAN_COMMON_ROOT)/$(HIF_USB_DIR)/if_usb.o \
|
|
|
$(WLAN_COMMON_ROOT)/$(HIF_USB_DIR)/regtable_usb.o
|
|
|
|
|
|
-HIF_SDIO_OBJS := $(WLAN_COMMON_ROOT)/$(HIF_SDIO_DIR)/hif_sdio_send.o \
|
|
|
- $(WLAN_COMMON_ROOT)/$(HIF_SDIO_DIR)/hif_bmi_reg_access.o \
|
|
|
+HIF_SDIO_OBJS := $(WLAN_COMMON_ROOT)/$(HIF_SDIO_DIR)/hif_bmi_reg_access.o \
|
|
|
$(WLAN_COMMON_ROOT)/$(HIF_SDIO_DIR)/hif_diag_reg_access.o \
|
|
|
$(WLAN_COMMON_ROOT)/$(HIF_SDIO_DIR)/hif_sdio_dev.o \
|
|
|
$(WLAN_COMMON_ROOT)/$(HIF_SDIO_DIR)/hif_sdio.o \
|
|
|
- $(WLAN_COMMON_ROOT)/$(HIF_SDIO_DIR)/hif_sdio_recv.o \
|
|
|
- $(WLAN_COMMON_ROOT)/$(HIF_SDIO_DIR)/regtable_sdio.o
|
|
|
+ $(WLAN_COMMON_ROOT)/$(HIF_SDIO_DIR)/regtable_sdio.o \
|
|
|
+ $(WLAN_COMMON_ROOT)/$(HIF_SDIO_DIR)/transfer/transfer.o
|
|
|
+ifeq ($(CONFIG_SDIO_TRANSFER), adma)
|
|
|
+HIF_SDIO_OBJS += $(WLAN_COMMON_ROOT)/$(HIF_SDIO_DIR)/transfer/adma.o
|
|
|
+else
|
|
|
+HIF_SDIO_OBJS += $(WLAN_COMMON_ROOT)/$(HIF_SDIO_DIR)/transfer/mailbox.o
|
|
|
+endif
|
|
|
|
|
|
HIF_SDIO_NATIVE_OBJS := $(WLAN_COMMON_ROOT)/$(HIF_SDIO_NATIVE_SRC_DIR)/hif.o \
|
|
|
- $(WLAN_COMMON_ROOT)/$(HIF_SDIO_NATIVE_SRC_DIR)/hif_scatter.o
|
|
|
+ $(WLAN_COMMON_ROOT)/$(HIF_SDIO_NATIVE_SRC_DIR)/hif_scatter.o \
|
|
|
+ $(WLAN_COMMON_ROOT)/$(HIF_SDIO_NATIVE_SRC_DIR)/dev_quirks.o
|
|
|
|
|
|
ifeq ($(CONFIG_WLAN_NAPI), y)
|
|
|
HIF_OBJS += $(WLAN_COMMON_ROOT)/$(HIF_DIR)/src/hif_napi.o
|
|
@@ -1719,6 +1724,12 @@ cppflags-y += -DCONFIG_HL_SUPPORT \
|
|
|
-DCONFIG_PER_VDEV_TX_DESC_POOL \
|
|
|
-DCONFIG_SDIO \
|
|
|
-DFEATURE_WLAN_FORCE_SAP_SCC
|
|
|
+
|
|
|
+ifeq ($(CONFIG_SDIO_TRANSFER), adma)
|
|
|
+cppflags-y += -DCONFIG_SDIO_TRANSFER_ADMA
|
|
|
+else
|
|
|
+cppflags-y += -DCONFIG_SDIO_TRANSFER_MAILBOX
|
|
|
+endif
|
|
|
endif
|
|
|
|
|
|
ifeq ($(CONFIG_WLAN_FEATURE_DSRC), y)
|