qcacmn: Disable monitor mode on sdxlemur

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

Dp_rx_buffer_pool_refill is used monitor mode in
MCC, and rxdma1_enalbe=0, we don't need this logic.
But in WIN side, only monitor mode need this logic,
and rxdma1_enable will set true.

Add func dp_monitor_pktlog_reap_pending_frames and
dp_monitor_pktlog_start_reap_timer in dp_internal.h
for compile issue.

Change-Id: I43fee6d7a1836063a7539c3bd4745eef15a4e4b2
CRs-Fixed: 3129542
This commit is contained in:
chunquan
2021-11-09 15:29:13 +08:00
committed by Madan Koyyalamudi
vanhempi 351c175a02
commit fae0e38eb4
2 muutettua tiedostoa jossa 21 lisäystä ja 8 poistoa

Näytä tiedosto

@@ -555,7 +555,7 @@ static inline bool dp_monitor_is_vdev_timer_running(struct dp_soc *soc)
}
static inline
void dp_monitor_pdev_set_mon_vdev(struct dp_pdev *pdev)
void dp_monitor_pdev_set_mon_vdev(struct dp_vdev *vdev)
{
}
@@ -655,7 +655,7 @@ dp_monitor_get_rx_status(struct dp_pdev *pdev)
}
static inline
void dp_monitor_pdev_config_scan_spcl_vap(struct dp_pdev *pdev)
void dp_monitor_pdev_config_scan_spcl_vap(struct dp_pdev *pdev, bool val)
{
}
@@ -678,6 +678,23 @@ dp_monitor_pdev_tx_capture_get_stats(struct dp_soc *soc, struct dp_pdev *pdev,
{
return QDF_STATUS_E_FAILURE;
}
#ifdef DP_POWER_SAVE
static inline
void dp_monitor_pktlog_reap_pending_frames(struct dp_pdev *pdev)
{
}
static inline
void dp_monitor_pktlog_start_reap_timer(struct dp_pdev *pdev)
{
}
#endif
static inline bool dp_monitor_is_configured(struct dp_pdev *pdev)
{
return false;
}
#endif
/**