Sfoglia il codice sorgente

qcacld-3.0: Disable monitor mode on sdxlemur platform

Disable monitor mode on sdx65, it will save 5MB buf,
and improve iperf performance.

Disable WIFI_MONITOR_SUPPORT for pdev/vdev/peer do
nothing of monitor mode.

Enable MONITOR_MODULARIZED_ENABLE for monitor_soc
attach do nothing.

Disable QCA_MONITOR_PKT_SUPPORT for monitor ring
which are not initialized in dp_queue_mon_ring_stats.

Change-Id: I9865ad38dbbee56abee567fded17f39ee299ac42
CRs-Fixed: 3069269
chunquan 3 anni fa
parent
commit
64fb0c9f8a
2 ha cambiato i file con 14 aggiunte e 5 eliminazioni
  1. 8 5
      Kbuild
  2. 6 0
      configs/default_defconfig

+ 8 - 5
Kbuild

@@ -2065,16 +2065,19 @@ DP_OBJS := $(DP_SRC)/dp_main.o \
 		$(DP_SRC)/dp_peer.o \
 		$(DP_SRC)/dp_rx_desc.o \
 		$(DP_SRC)/dp_reo.o \
-		$(DP_SRC)/monitor/dp_mon.o \
+		$(DP_SRC)/dp_rx_defrag.o \
+		$(DP_SRC)/dp_stats.o \
+		$(WLAN_COMMON_ROOT)/target_if/dp/src/target_if_dp.o
+
+ifeq ($(CONFIG_WIFI_MONITOR_SUPPORT), y)
+DP_OBJS += $(DP_SRC)/monitor/dp_mon.o \
 		$(DP_SRC)/monitor/dp_mon_filter.o \
 		$(DP_SRC)/monitor/dp_rx_mon.o \
 		$(DP_SRC)/monitor/1.0/dp_rx_mon_dest_1.0.o \
 		$(DP_SRC)/monitor/1.0/dp_rx_mon_status_1.0.o \
-		$(DP_SRC)/dp_rx_defrag.o \
 		$(DP_SRC)/monitor/1.0/dp_mon_filter_1.0.o \
-		$(DP_SRC)/dp_stats.o \
-		$(DP_SRC)/monitor/1.0/dp_mon_1.0.o \
-		$(WLAN_COMMON_ROOT)/target_if/dp/src/target_if_dp.o
+		$(DP_SRC)/monitor/1.0/dp_mon_1.0.o
+endif
 
 ifeq ($(CONFIG_BERYLLIUM), y)
 DP_OBJS += $(DP_SRC)/be/dp_be.o

+ 6 - 0
configs/default_defconfig

@@ -295,6 +295,12 @@ CONFIG_QCA_MONITOR_PKT_SUPPORT := y
 CONFIG_MONITOR_MODULARIZED_ENABLE := n
 endif
 
+ifeq ($(CONFIG_ARCH_SDXLEMUR), y)
+CONFIG_WIFI_MONITOR_SUPPORT := n
+CONFIG_QCA_MONITOR_PKT_SUPPORT := n
+CONFIG_MONITOR_MODULARIZED_ENABLE := y
+endif
+
 #SDX65 attach HSP but enable LFR2
 ifeq ($(CONFIG_ARCH_SDXLEMUR), y)
 	CONFIG_QCACLD_WLAN_LFR3 := n