Răsfoiți Sursa

qcacmn: Add MU msdu_q only for monitor 2.0

Monitor 2.0 uses a msdu_queue (75K memory), which
is currently enabled for monitor_1.0 as well.
Add this memory under Monitor_2.0 feature, so that
there is no memory increase for monitor_1.0.

Change-Id: If0f3701787585ec2b2efde018287101919a77570
CRs-Fixed: 3176254
Rakesh Pillai 3 ani în urmă
părinte
comite
a8a385329d
1 a modificat fișierele cu 2 adăugiri și 0 ștergeri
  1. 2 0
      hal/wifi3.0/hal_api_mon.h

+ 2 - 0
hal/wifi3.0/hal_api_mon.h

@@ -1237,8 +1237,10 @@ struct hal_rx_ppdu_info {
 	struct hal_rx_mon_mpdu_info mpdu_info[HAL_MAX_UL_MU_USERS];
 	 /* placeholder to hold packet buffer info */
 	struct hal_mon_packet_info packet_info;
+#ifdef QCA_MONITOR_2_0_SUPPORT
 	 /* per user per MPDU queue */
 	qdf_nbuf_t mpdu_q[HAL_MAX_UL_MU_USERS][HAL_RX_MAX_MPDU];
+#endif
 	 /* ppdu info list element */
 	TAILQ_ENTRY(hal_rx_ppdu_info) ppdu_list_elem;
 };