Browse Source

qcacld-3.0: Enabling link switch in kbuild

Include link switch source files in Kbuild.

Change-Id: If5c20399a550918add444fad9eafbdaf75cb823e
CRs-Fixed: 3530145
Arun Kumar Khandavalli 1 year ago
parent
commit
f7864c0c78
1 changed files with 8 additions and 0 deletions
  1. 8 0
      Kbuild

+ 8 - 0
Kbuild

@@ -1366,6 +1366,7 @@ UMAC_MLO_MGR_OBJS := $(UMAC_MLO_MGR_CMN_DIR)/src/wlan_mlo_mgr_main.o \
 			  $(UMAC_MLO_MGR_CLD_DIR)/src/wlan_epcs_api.o \
 			  $(UMAC_MLO_MGR_CMN_DIR)/src/wlan_mlo_epcs.o \
 			  $(UMAC_MLO_MGR_CLD_DIR)/dispatcher/src/wlan_mlo_epcs_ucfg_api.o \
+			  $(UMAC_MLO_MGR_CMN_DIR)/src/wlan_mlo_mgr_link_switch.o \
 
 $(call add-wlan-objs,umac_mlomgr,$(UMAC_MLO_MGR_OBJS))
 endif
@@ -4609,6 +4610,13 @@ CONFIG_WLAN_MAX_ML_DEFAULT_LINK  ?= 1
 endif
 ccflags-y += -DWLAN_MAX_ML_DEFAULT_LINK=$(CONFIG_WLAN_MAX_ML_DEFAULT_LINK)
 
+ifdef CONFIG_WLAN_FEATURE_11BE_MLO
+CONFIG_WLAN_MAX_ML_BSS_LINKS ?= 3
+else
+CONFIG_WLAN_MAX_ML_BSS_LINKS ?= 1
+endif
+ccflags-y += -DWLAN_MAX_ML_BSS_LINKS=$(CONFIG_WLAN_MAX_ML_BSS_LINKS)
+
 #Maximum pending commands for a vdev is calculated in vdev create handler
 #by WLAN_SER_MAX_PENDING_CMDS/WLAN_SER_MAX_VDEVS. For SAP case, we will need
 #to accommodate 32 Pending commands to handle multiple STA sending