Browse Source

qcacld-3.0: Modify Kbuild to add new beacon header file

In wmi new file, wmi_unified_bcn_api.c is added.
Add this file in Kbuild.

Change-Id: I4fdbf041b53b5f1606d324714f01088742a9307f
CRs-Fixed: 2366772
Harprit Chhabada 6 years ago
parent
commit
253e36ad50
4 changed files with 10 additions and 1 deletions
  1. 4 0
      Kbuild
  2. 1 0
      configs/default_defconfig
  3. 4 0
      configs/genoa.common
  4. 1 1
      core/wma/src/wma_mgmt.c

+ 4 - 0
Kbuild

@@ -1136,6 +1136,10 @@ WMI_OBJS += $(WMI_OBJ_DIR)/wmi_unified_sta_api.o
 WMI_OBJS += $(WMI_OBJ_DIR)/wmi_unified_sta_tlv.o
 endif
 
+ifeq ($(CONFIG_WMI_BCN_OFFLOAD), y)
+WMI_OBJS += $(WMI_OBJ_DIR)/wmi_unified_bcn_api.o
+endif
+
 ########### FWLOG ###########
 FWLOG_DIR := $(WLAN_COMMON_ROOT)/utils/fwlog
 

+ 1 - 0
configs/default_defconfig

@@ -604,6 +604,7 @@ CONFIG_QCA_SUPPORT_TX_THROTTLE := y
 CONFIG_WMI_INTERFACE_EVENT_LOGGING := y
 CONFIG_WLAN_FEATURE_LINK_LAYER_STATS := y
 CONFIG_FEATURE_WLAN_EXTSCAN := y
+CONFIG_WMI_BCN_OFFLOAD := y
 CONFIG_160MHZ_SUPPORT := y
 CONFIG_MCL := y
 CONFIG_MCL_REGDB := y

+ 4 - 0
configs/genoa.common

@@ -201,4 +201,8 @@ CONFIG_SIR_SAP_MAX_NUM_PEERS := 10
 
 #Max no of offloaded beaconing entities supported
 CONFIG_BEACON_TX_OFFLOAD_MAX_VDEV := 3
+
+#Beacon offload config
+CONFIG_WMI_BCN_OFFLOAD := y
+
 ###################################

+ 1 - 1
core/wma/src/wma_mgmt.c

@@ -76,7 +76,7 @@
 #include "cfg_ucfg_api.h"
 #include "cfg_mlme_sta.h"
 #include "wlan_mlme_api.h"
-
+#include "wmi_unified_bcn_api.h"
 /**
  * wma_send_bcn_buf_ll() - prepare and send beacon buffer to fw for LL
  * @wma: wma handle