qcacmn: Enable full monitor mode during vap up

Currently full monitor is enabled at vap create time and disabled
at vap deinit time, this results not configuring full monitor
mode during vap up time leading to backpressure on montor status ring.

To have symmetry, enable full monitor mode at during vap init.

Change-Id: I7828a7f2af400cfa094dc6d6139646760c932f09
This commit is contained in:
Amir Patel
2021-03-19 17:58:04 +05:30
committed by snandini
parent 878d42c770
commit 7efbf8cb35

View File

@@ -7690,8 +7690,6 @@ static void dp_vdev_set_monitor_mode_buf_rings(struct dp_pdev *pdev)
uint32_t num_entries;
struct dp_soc *soc = pdev->soc;
dp_soc_config_full_mon_mode(pdev, DP_FULL_MON_ENABLE);
/* If delay monitor replenish is disabled, allocate link descriptor
* monitor ring buffers of ring size.
*/
@@ -7758,6 +7756,8 @@ static QDF_STATUS dp_vdev_set_monitor_mode(struct cdp_soc_t *dp_soc,
* for lite monitor required configuration done through
* dp_set_pdev_param
*/
dp_soc_config_full_mon_mode(pdev, DP_FULL_MON_ENABLE);
if (special_monitor) {
status = QDF_STATUS_SUCCESS;
goto fail;