qcacmn: Do runtime pm sync resume when printing ring stats
Printing ring stats from requesting txrx stats needs access PCIe link so make sure it is resumed by doing a sync resume if it is runtime PM suspended. Also response of h2t_ext_stats_msg from FW is not guaranteed so tag it properly so that in HTC layer, corresponding "put" API will be called right after sending the packet. Change-Id: Idc5797b38557ed5779d920c72200b9d28769ab58 CRs-fixed: 2487521
This commit is contained in:
@@ -3765,7 +3765,8 @@ QDF_STATUS dp_h2t_ext_stats_msg_send(struct dp_pdev *pdev,
|
||||
dp_htt_h2t_send_complete_free_netbuf,
|
||||
qdf_nbuf_data(msg), qdf_nbuf_len(msg),
|
||||
soc->htc_endpoint,
|
||||
1); /* tag - not relevant here */
|
||||
/* tag for FW response msg not guaranteed */
|
||||
HTC_TX_PACKET_TAG_RUNTIME_PUT);
|
||||
|
||||
SET_HTC_PACKET_NET_BUF_CONTEXT(&pkt->htc_pkt, msg);
|
||||
DP_HTT_SEND_HTC_PKT(soc, pkt, HTT_H2T_MSG_TYPE_EXT_STATS_REQ,
|
||||
|
Reference in New Issue
Block a user