qcacld-3.0: Add support for CNSS USB

Adds support in pld_usb.c for registering with CNSS driver.
pld_usb can now register directly with Linux USB stack or with
CNSS driver.
For QCN7605, registration is to be done with CNSS.

Change-Id: Ibf7e51679e1848bcd8e1acfa43c457f42ff40c0b
CRs-Fixed: 2269602
This commit is contained in:
Ajit Pal Singh
2018-06-13 15:26:37 +05:30
committed by nshrivas
parent b52446a70e
commit 6c6e81c714
4 changed files with 49 additions and 17 deletions

3
Kbuild
View File

@@ -1329,7 +1329,7 @@ endif
ifeq ($(CONFIG_QCA_WIFI_SDIO), y)
PLD_OBJS += $(PLD_SRC_DIR)/pld_sdio.o
endif
ifeq ($(CONFIG_PLD_USB_CNSS), y)
ifeq ($(CONFIG_HIF_USB), y)
PLD_OBJS += $(PLD_SRC_DIR)/pld_usb.o
endif
@@ -1779,7 +1779,6 @@ cppflags-$(CONFIG_FEATURE_SKB_PRE_ALLOC) += -DFEATURE_SKB_PRE_ALLOC
#Enable USB specific APIS
ifeq ($(CONFIG_HIF_USB), y)
cppflags-y += -DHIF_USB \
-DCONFIG_PLD_USB_CNSS \
-DDEBUG_HL_LOGGING \
-DCONFIG_HL_SUPPORT
endif