summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--Kbuild5
-rw-r--r--Kconfig4
2 files changed, 8 insertions, 1 deletions
diff --git a/Kbuild b/Kbuild
index 7d37ffeba66f..c9979a899e1b 100644
--- a/Kbuild
+++ b/Kbuild
@@ -934,7 +934,6 @@ CDEFINES := -DANI_LITTLE_BYTE_ENDIAN \
-DWLANTL_DEBUG\
-DWLAN_NS_OFFLOAD \
-DWLAN_ACTIVEMODE_OFFLOAD_FEATURE \
- -DWLAN_FEATURE_HOLD_RX_WAKELOCK \
-DWLAN_SOFTAP_VSTA_FEATURE \
-DWLAN_FEATURE_ROAM_SCAN_OFFLOAD \
-DWLAN_FEATURE_GTK_OFFLOAD \
@@ -1430,6 +1429,10 @@ ifeq ($(CONFIG_WLAN_UDP_RESPONSE_OFFLOAD),y)
CDEFINES += -DWLAN_FEATURE_UDP_RESPONSE_OFFLOAD
endif
+ifeq ($(CONFIG_WLAN_FEATURE_RX_WAKELOCK), y)
+CDEFINES += -DWLAN_FEATURE_HOLD_RX_WAKELOCK
+endif
+
KBUILD_CPPFLAGS += $(CDEFINES)
diff --git a/Kconfig b/Kconfig
index bc49ee943045..2adf384f1b2a 100644
--- a/Kconfig
+++ b/Kconfig
@@ -65,4 +65,8 @@ config WLAN_UDP_RESPONSE_OFFLOAD
bool "Enable UDP response offload feature"
default n
+config WLAN_FEATURE_RX_WAKELOCK
+ bool "Enable RX wake lock feature"
+ default n
+
endif # QCA_CLD_WLAN