From 56993c8df959e721e8c450256cbbc0c7446f5fe6 Mon Sep 17 00:00:00 2001 From: gaurank kathpalia Date: Tue, 9 Jun 2020 23:40:32 +0530 Subject: [PATCH] qcacld-3.0: Add make file changes for connection manager Add make file changes for connection manager. Change-Id: Ifea0426e3ac4a2c43ce64967375cc5f99855394f CRs-Fixed: 2713471 --- Kbuild | 22 ++++++++++++++++++++++ configs/default_defconfig | 3 +++ 2 files changed, 25 insertions(+) diff --git a/Kbuild b/Kbuild index 25a11c8b7074..55cabb68362e 100644 --- a/Kbuild +++ b/Kbuild @@ -1182,6 +1182,23 @@ UMAC_MLME_OBJS := $(WLAN_COMMON_ROOT)/umac/mlme/mlme_objmgr/dispatcher/src/wlan_ $(WLAN_COMMON_ROOT)/umac/mlme/psoc_mgr/dispatcher/src/wlan_psoc_mlme_api.o \ $(WLAN_COMMON_ROOT)/umac/mlme/connection_mgr/core/src/wlan_cm_bss_scoring.o +ifeq ($(CONFIG_CM_ENABLE), y) +UMAC_MLME_OBJS += $(WLAN_COMMON_ROOT)/umac/mlme/connection_mgr/core/src/wlan_cm_main.o \ + $(WLAN_COMMON_ROOT)/umac/mlme/connection_mgr/core/src/wlan_cm_sm.o \ + $(WLAN_COMMON_ROOT)/umac/mlme/connection_mgr/core/src/wlan_cm_roam_sm.o \ + $(WLAN_COMMON_ROOT)/umac/mlme/connection_mgr/core/src/wlan_cm_connect.o \ + $(WLAN_COMMON_ROOT)/umac/mlme/connection_mgr/core/src/wlan_cm_connect_scan.o \ + $(WLAN_COMMON_ROOT)/umac/mlme/connection_mgr/core/src/wlan_cm_disconnect.o \ + $(WLAN_COMMON_ROOT)/umac/mlme/connection_mgr/core/src/wlan_cm_cmn.o + +ifeq ($(CONFIG_QCACLD_WLAN_LFR3), y) +# Add LFR3/FW roam specific connection manager files here +endif +ifeq ($(CONFIG_QCACLD_WLAN_LFR2), y) +# Add LFR2/host roam specific connection manager files here +endif +endif + ######## MLME ############## MLME_DIR := components/mlme MLME_INC := -I$(WLAN_ROOT)/$(MLME_DIR)/core/inc \ @@ -2662,6 +2679,11 @@ cppflags-$(CONFIG_QCOM_TDLS) += -DFEATURE_WLAN_TDLS cppflags-$(CONFIG_WLAN_GET_TDLS_PEERS) += -DWLAN_GET_TDLS_PEERS cppflags-$(CONFIG_WLAN_SET_RANGE_EXT) += -DWLAN_SET_RANGE_EXT +ifeq ($(CONFIG_CM_ENABLE), y) +cppflags-y += -DFEATURE_CM_ENABLE +cppflags-$(CONFIG_QCACLD_WLAN_LFR2) += -DWLAN_FEATURE_PREAUTH_ENABLE +endif + cppflags-$(CONFIG_QCACLD_WLAN_LFR3) += -DWLAN_FEATURE_ROAM_OFFLOAD cppflags-$(CONFIG_WLAN_FEATURE_MBSSID) += -DWLAN_FEATURE_MBSSID diff --git a/configs/default_defconfig b/configs/default_defconfig index dcf772e9a4fe..a0bc2c57170b 100644 --- a/configs/default_defconfig +++ b/configs/default_defconfig @@ -1119,3 +1119,6 @@ endif ifeq ($(CONFIG_ARCH_SDM660), y) CONFIG_WLAN_FEATURE_PKT_CAPTURE := y endif + +# enable connection manager +#CONFIG_CM_ENABLE := y