qcacmn: Track PPDU ID history for monitor rings
Track PPDU Id history from monitor status and destination rings, and display as part of monitor stats. Change-Id: I7b8985f93b1cdb6eb5210bba5a65e9bfb617a710
This commit is contained in:

committed by
nshrivas

parent
5827fd091d
commit
4a6eff07b1
@@ -1095,6 +1095,14 @@ void dp_rx_mon_dest_process(struct dp_soc *soc, uint32_t mac_id, uint32_t quota)
|
||||
&head, &tail);
|
||||
|
||||
if (ppdu_id != pdev->ppdu_info.com_info.ppdu_id) {
|
||||
rx_mon_stats->stat_ring_ppdu_id_hist[
|
||||
rx_mon_stats->ppdu_id_hist_idx] =
|
||||
pdev->ppdu_info.com_info.ppdu_id;
|
||||
rx_mon_stats->dest_ring_ppdu_id_hist[
|
||||
rx_mon_stats->ppdu_id_hist_idx] = ppdu_id;
|
||||
rx_mon_stats->ppdu_id_hist_idx =
|
||||
(rx_mon_stats->ppdu_id_hist_idx + 1) &
|
||||
(MAX_PPDU_ID_HIST - 1);
|
||||
pdev->mon_ppdu_status = DP_PPDU_STATUS_START;
|
||||
qdf_mem_zero(&(pdev->ppdu_info.rx_status),
|
||||
sizeof(pdev->ppdu_info.rx_status));
|
||||
|
Reference in New Issue
Block a user