qcacmn: Enable RXDMA ring configuration for monitor mode
Enable RXDMA status, desc, buffer and destination rings to support monitor mode. The change also provides fix to properly map pdev_id to mac_id. CRs-Fixed: 2071602 Change-Id: Ie9caaaa0021d5842eaf28a5532b3ab5512fe507f
This commit is contained in:
@@ -1616,6 +1616,23 @@ static void dp_rxdma_ring_config(struct dp_soc *soc)
|
||||
RXDMA_BUF);
|
||||
mac_id++;
|
||||
}
|
||||
|
||||
/* Configure monitor mode rings */
|
||||
htt_srng_setup(soc->htt_handle, i,
|
||||
pdev->rxdma_mon_buf_ring.hal_srng,
|
||||
RXDMA_MONITOR_BUF);
|
||||
|
||||
htt_srng_setup(soc->htt_handle, i,
|
||||
pdev->rxdma_mon_dst_ring.hal_srng,
|
||||
RXDMA_MONITOR_DST);
|
||||
|
||||
htt_srng_setup(soc->htt_handle, i,
|
||||
pdev->rxdma_mon_status_ring.hal_srng,
|
||||
RXDMA_MONITOR_STATUS);
|
||||
|
||||
htt_srng_setup(soc->htt_handle, i,
|
||||
pdev->rxdma_mon_desc_ring.hal_srng,
|
||||
RXDMA_MONITOR_DESC);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user