|
@@ -4184,6 +4184,7 @@ static bool dp_txrx_ppdu_stats_handler(struct dp_soc *soc,
|
|
|
!pdev->mcopy_mode && !pdev->bpr_enable)
|
|
|
return free_buf;
|
|
|
|
|
|
+ qdf_spin_lock_bh(&pdev->ppdu_stats_lock);
|
|
|
ppdu_info = dp_htt_process_tlv(pdev, htt_t2h_msg);
|
|
|
|
|
|
if (pdev->mgmtctrl_frm_info.mgmt_buf) {
|
|
@@ -4200,6 +4201,8 @@ static bool dp_txrx_ppdu_stats_handler(struct dp_soc *soc,
|
|
|
pdev->mgmtctrl_frm_info.mgmt_buf_len = 0;
|
|
|
pdev->mgmtctrl_frm_info.ppdu_id = 0;
|
|
|
|
|
|
+ qdf_spin_unlock_bh(&pdev->ppdu_stats_lock);
|
|
|
+
|
|
|
return free_buf;
|
|
|
}
|
|
|
#else
|
|
@@ -4363,8 +4366,10 @@ dp_ppdu_stats_ind_handler(struct htt_soc *soc,
|
|
|
dp_wdi_event_handler(WDI_EVENT_LITE_T2H, soc->dp_soc,
|
|
|
htt_t2h_msg, HTT_INVALID_PEER, WDI_NO_VAL,
|
|
|
pdev_id);
|
|
|
+
|
|
|
free_buf = dp_txrx_ppdu_stats_handler(soc->dp_soc, pdev_id,
|
|
|
htt_t2h_msg);
|
|
|
+
|
|
|
return free_buf;
|
|
|
}
|
|
|
#else
|