Sfoglia il codice sorgente

qcacld-3.0: Enable AFC feature for sdxlemur

Add AFC common include path to regulatory include path.
Enable AFC feature for sdxlemur.

Change-Id: I6b936b3f6443868f05cf86351bcf31d24d65bbbc
CRs-Fixed: 3154178
Will Huang 3 anni fa
parent
commit
9029c332a6
2 ha cambiato i file con 5 aggiunte e 0 eliminazioni
  1. 3 0
      Kbuild
  2. 2 0
      configs/default_defconfig

+ 3 - 0
Kbuild

@@ -2284,6 +2284,7 @@ REG_CORE_OBJ_DIR := $(WLAN_COMMON_ROOT)/$(REGULATORY_CORE_SRC_DIR)
 REG_DISPATCHER_OBJ_DIR := $(WLAN_COMMON_ROOT)/$(REG_DISPATCHER_SRC_DIR)
 REGULATORY_INC := -I$(WLAN_COMMON_INC)/$(REGULATORY_CORE_INC_DIR)
 REGULATORY_INC += -I$(WLAN_COMMON_INC)/$(REG_DISPATCHER_INC_DIR)
+REGULATORY_INC += -I$(WLAN_COMMON_INC)/umac/cmn_services/regulatory/inc
 REGULATORY_OBJS := $(REG_CORE_OBJ_DIR)/reg_build_chan_list.o \
 		    $(REG_CORE_OBJ_DIR)/reg_callbacks.o \
 		    $(REG_CORE_OBJ_DIR)/reg_db.o \
@@ -4537,6 +4538,8 @@ ccflags-y += -DALL_POSSIBLE_RATES_SUPPORTED=1
 cppflags-$(CONFIG_BAND_6GHZ) += -DCONFIG_BAND_6GHZ
 cppflags-$(CONFIG_6G_SCAN_CHAN_SORT_ALGO) += -DFEATURE_6G_SCAN_CHAN_SORT_ALGO
 cppflags-y += -DCONFIG_REG_6G_PWRMODE
+cppflags-$(CONFIG_AFC_SUPPORT) += -DCONFIG_AFC_SUPPORT
+cppflags-$(CONFIG_WLAN_FEATURE_AFC_DCS_SKIP_ACS_RANGE) += -DWLAN_FEATURE_AFC_DCS_SKIP_ACS_RANGE
 
 cppflags-$(CONFIG_RX_FISA) += -DWLAN_SUPPORT_RX_FISA
 cppflags-$(CONFIG_RX_FISA_HISTORY) += -DWLAN_SUPPORT_RX_FISA_HIST

+ 2 - 0
configs/default_defconfig

@@ -1541,6 +1541,8 @@ CONFIG_FEATURE_RSSI_MONITOR := n
 CONFIG_FEATURE_P2P_LISTEN_OFFLOAD := n
 CONFIG_FEATURE_OEM_DATA := n
 CONFIG_MORE_TX_DESC := n
+CONFIG_AFC_SUPPORT := y
+CONFIG_WLAN_FEATURE_AFC_DCS_SKIP_ACS_RANGE := y
 endif
 
 ifeq ($(CONFIG_ARCH_SDXBAAGHA), y)