Browse Source

qcacld-3.0: Add feature flag to support SR

Add WLAN_FEATURE_SR to enable/disable
Spatial Reuse support which is futher
dependent on 11AX support.

Change-Id: Iaa6f2a50c073eb279f967b6820bf5551bf100e3f
CRs-Fixed: 3301884
Sheenam Monga 2 years ago
parent
commit
dca999a564
2 changed files with 4 additions and 0 deletions
  1. 3 0
      Kbuild
  2. 1 0
      configs/default_defconfig

+ 3 - 0
Kbuild

@@ -3622,6 +3622,9 @@ cppflags-$(CONFIG_HL_DP_SUPPORT) += -DQCA_COMPUTE_TX_DELAY_PER_TID
 cppflags-$(CONFIG_LL_DP_SUPPORT) += -DCONFIG_LL_DP_SUPPORT
 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
+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

@@ -1218,6 +1218,7 @@ CONFIG_WLAN_ALLOCATE_GLOBAL_BUFFERS_DYNAMICALLY := n
 CONFIG_WLAN_FEATURE_TWT := y
 CONFIG_FW_THERMAL_THROTTLE := y
 CONFIG_WLAN_FEATURE_BIG_DATA_STATS := y
+CONFIG_WLAN_FEATURE_SR := y
 CONFIG_WLAN_FEATURE_IGMP_OFFLOAD := y
 CONFIG_WLAN_FEATURE_GET_USABLE_CHAN_LIST := y
 CONFIG_FEATURE_RADAR_HISTORY := y