Browse Source

qcacld-3.0: Move CLD_PM_QOS feature under DP_BUS_BANDWIDTH

Currently WLAN_CLD_PM_QOS feature is enabled irrespective of
WLAN_FEATURE_DP_BUS_BANDWIDTH. But WLAN_CLD_PM_QOS feature
depends upon WLAN_FEATURE_DP_BUS_BANDWIDTH, which can result
in compilation issues in WLAN_FEATURE_DP_BUS_BANDWIDTH feature
disable case. So to fix the issue move WLAN_CLD_PM_QOS feature
enable under WLAN_FEATURE_DP_BUS_BANDWIDTH check.

Change-Id: I49f02e259fd16dbe54674b041f2ded8237c1f679
CRs-Fixed: 3292453
Amit Mehta 2 years ago
parent
commit
7e37deb423
1 changed files with 4 additions and 0 deletions
  1. 4 0
      configs/default_defconfig

+ 4 - 0
configs/default_defconfig

@@ -298,8 +298,10 @@ ifeq ($(CONFIG_ARCH_QCS40X), y)
 	CONFIG_DFS_PRI_MULTIPLIER := y
 	CONFIG_DFS_OVERRIDE_RF_THRESHOLD := y
 	CONFIG_WLAN_FEATURE_LL_MODE := y
+ifeq ($(CONFIG_WLAN_FEATURE_DP_BUS_BANDWIDTH), y)
 	CONFIG_WLAN_CLD_PM_QOS := y
 endif
+endif
 CONFIG_WLAN_FEATURE_MBSSID := y
 CONFIG_WLAN_FEATURE_P2P_P2P_STA := y
 
@@ -709,7 +711,9 @@ CONFIG_HTT_PADDR64 := y
 CONFIG_RX_OL := y
 CONFIG_TX_TID_OVERRIDE := y
 CONFIG_DP_TXRX_SOC_ATTACH := y
+ifeq ($(CONFIG_WLAN_FEATURE_DP_BUS_BANDWIDTH), y)
 CONFIG_WLAN_CLD_PM_QOS := y
+endif
 CONFIG_WLAN_CLD_DEV_PM_QOS := y
 CONFIG_DISABLE_DP_STATS := n
 CONFIG_MAX_ALLOC_PAGE_SIZE := y