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
This commit is contained in:
Rakesh Pillai
2022-04-17 23:27:08 -07:00
committed by Madan Koyyalamudi
parent 9aa4e0f9f5
commit a8a385329d

View File

@@ -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;
};