Browse Source

qcacld-3.0: Enable Monitor mode for WCN7850

Enable monitor mode for WCN7850.
Enable the interrupt based processing in monitor
mode for WCN7850.

Change-Id: I6f8c6951794d0754977fa0d45086a95df25a13e6
CRs-Fixed: 3095456
Rakesh Pillai 3 years ago
parent
commit
4355e8bf0b
2 changed files with 2 additions and 2 deletions
  1. 1 0
      Kbuild
  2. 1 2
      configs/default_defconfig

+ 1 - 0
Kbuild

@@ -3018,6 +3018,7 @@ cppflags-$(CONFIG_WLAN_FEATURE_LRO_CTX_IN_CB) += -DWLAN_FEATURE_LRO_CTX_IN_CB
 #For both legacy and lithium chip's monitor mode config
 ifeq ($(CONFIG_FEATURE_MONITOR_MODE_SUPPORT), y)
 cppflags-y += -DFEATURE_MONITOR_MODE_SUPPORT
+cppflags-$(CONFIG_DP_CON_MON_MSI_ENABLED) += -DDP_CON_MON_MSI_ENABLED
 else
 cppflags-y += -DDISABLE_MON_CONFIG
 endif

+ 1 - 2
configs/default_defconfig

@@ -114,6 +114,7 @@ ifeq ($(CONFIG_CNSS_WCN7850), y)
 	CONFIG_DISABLE_STATUS_RING_TIMER_WAR := y
 	CONFIG_CE_DISABLE_SRNG_TIMER_IRQ := y
 	CONFIG_TX_ADDR_INDEX_SEARCH := y
+	CONFIG_DP_CON_MON_MSI_ENABLED := y
 endif
 
 ifeq (y,$(findstring y,$(CONFIG_LITHIUM) $(CONFIG_BERYLLIUM)))
@@ -1142,9 +1143,7 @@ CONFIG_WLAN_CONV_SPECTRAL_ENABLE := y
 CONFIG_WLAN_SPECTRAL_ENABLE := y
 CONFIG_WMI_CMD_STRINGS := y
 
-ifneq ($(CONFIG_CNSS_WCN7850), y)
 CONFIG_FEATURE_MONITOR_MODE_SUPPORT := y
-endif
 
 CONFIG_WLAN_ALLOCATE_GLOBAL_BUFFERS_DYNAMICALLY := n
 CONFIG_WLAN_FEATURE_TWT := y