mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-13 16:16:15 -04:00
qcacmn: change debug print and add ring stuck count
change debug print and add counter for monitor destination ring stuck Change-Id: I79b4d3b957303334717fd04bfddf754e303e69db
This commit is contained in:
parent
baaa7b98ce
commit
4b4e8b48cf
3 changed files with 7 additions and 3 deletions
|
|
@ -235,5 +235,6 @@ struct cdp_pdev_mon_stats {
|
|||
uint32_t stat_ring_ppdu_id_hist[MAX_PPDU_ID_HIST];
|
||||
uint32_t dest_ring_ppdu_id_hist[MAX_PPDU_ID_HIST];
|
||||
uint32_t ppdu_id_hist_idx;
|
||||
uint32_t mon_rx_dest_stuck;
|
||||
};
|
||||
#endif
|
||||
|
|
|
|||
|
|
@ -1138,9 +1138,10 @@ void dp_rx_mon_dest_process(struct dp_soc *soc, uint32_t mac_id, uint32_t quota)
|
|||
|
||||
if (pdev->mon_dest_ring_stuck_cnt >
|
||||
MON_DEST_RING_STUCK_MAX_CNT) {
|
||||
dp_alert("destination ring stuck");
|
||||
dp_alert("ppdu_id status=%d dest=%d",
|
||||
pdev->ppdu_info.com_info.ppdu_id, ppdu_id);
|
||||
dp_err("destination ring stuck");
|
||||
dp_err("ppdu_id status=%d dest=%d",
|
||||
pdev->ppdu_info.com_info.ppdu_id, ppdu_id);
|
||||
rx_mon_stats->mon_rx_dest_stuck++;
|
||||
pdev->ppdu_info.com_info.ppdu_id = ppdu_id;
|
||||
continue;
|
||||
}
|
||||
|
|
|
|||
|
|
@ -5537,6 +5537,8 @@ dp_print_pdev_rx_mon_stats(struct dp_pdev *pdev)
|
|||
}
|
||||
qdf_mem_free(stat_ring_ppdu_ids);
|
||||
qdf_mem_free(dest_ring_ppdu_ids);
|
||||
DP_PRINT_STATS("mon_rx_dest_stuck = %d",
|
||||
rx_mon_stats->mon_rx_dest_stuck);
|
||||
}
|
||||
|
||||
void
|
||||
|
|
|
|||
Loading…
Reference in a new issue