Bläddra i källkod

qcacld-3.0: Compile spatial reuse files based on flag

Currently, files related to spatial reuse are compiled
based on 11AX feature flag instead of SRP feature flag
and OBSS_PD feature is disabled always.

Fix is to avoid dependency of spatial reuse compilation
on 11AX and conditionally compile spatial reuse based on
SRP feature flag and Enable OBSS_PD feature based on 11AX
feature flag.

Change-Id: Ia5a882f7c842c3c2979da9b73139c59af765d23c
CRs-Fixed: 3306965
Sheenam Monga 2 år sedan
förälder
incheckning
93c62a8893
2 ändrade filer med 2 tillägg och 0 borttagningar
  1. 1 0
      Kbuild
  2. 1 0
      configs/default_defconfig

+ 1 - 0
Kbuild

@@ -3629,6 +3629,7 @@ cppflags-$(CONFIG_LL_DP_SUPPORT) += -DWLAN_FULL_REORDER_OFFLOAD
 cppflags-$(CONFIG_WLAN_FEATURE_BIG_DATA_STATS) += -DWLAN_FEATURE_BIG_DATA_STATS
 ifeq ($(CONFIG_WLAN_FEATURE_11AX), y)
 cppflags-$(CONFIG_WLAN_FEATURE_SR) += -DWLAN_FEATURE_SR
+cppflags-$(CONFIG_OBSS_PD) += -DOBSS_PD
 endif
 cppflags-$(CONFIG_WLAN_FEATURE_IGMP_OFFLOAD) += -DWLAN_FEATURE_IGMP_OFFLOAD
 cppflags-$(CONFIG_WLAN_FEATURE_GET_USABLE_CHAN_LIST) += -DWLAN_FEATURE_GET_USABLE_CHAN_LIST

+ 1 - 0
configs/default_defconfig

@@ -1226,6 +1226,7 @@ CONFIG_WLAN_FEATURE_SR := y
 CONFIG_WLAN_FEATURE_IGMP_OFFLOAD := y
 CONFIG_WLAN_FEATURE_GET_USABLE_CHAN_LIST := y
 CONFIG_FEATURE_RADAR_HISTORY := y
+CONFIG_OBSS_PD := y
 
 ifeq (y,$(findstring y,$(CONFIG_LITHIUM) $(CONFIG_BERYLLIUM) $(CONFIG_ICNSS) $(CONFIG_ICNSS_MODULE) $(CONFIG_ICNSS2_HELIUM)))
 CONFIG_WLAN_FEATURE_BMI := n