qcacmn: Tag HTT messages which do not have FW responses
For HTT messages (no matter they are test commands or not) which do not have FW responses, tag them for runtime PM feature so that corresponding usage count will be decrement right after sending them through HTC to avoid usage count mismatch. Tag the missing ones in this change. Change-Id: I3f78d21a5a490db6dff0dd2786d87c3ced66180c CRs-fixed: 2672301
This commit is contained in:
@@ -1123,7 +1123,7 @@ int htt_h2t_full_mon_cfg(struct htt_soc *htt_soc,
|
||||
qdf_nbuf_data(htt_msg),
|
||||
qdf_nbuf_len(htt_msg),
|
||||
soc->htc_endpoint,
|
||||
1); /* tag for no FW response msg */
|
||||
HTC_TX_PACKET_TAG_RUNTIME_PUT); /* tag for no FW response msg */
|
||||
|
||||
SET_HTC_PACKET_NET_BUF_CONTEXT(&pkt->htc_pkt, htt_msg);
|
||||
qdf_info("config: %d", config);
|
||||
@@ -1859,7 +1859,7 @@ int htt_h2t_rx_ring_cfg(struct htt_soc *htt_soc, int pdev_id,
|
||||
qdf_nbuf_data(htt_msg),
|
||||
qdf_nbuf_len(htt_msg),
|
||||
soc->htc_endpoint,
|
||||
1); /* tag - not relevant here */
|
||||
HTC_TX_PACKET_TAG_RUNTIME_PUT); /* tag for no FW response msg */
|
||||
|
||||
SET_HTC_PACKET_NET_BUF_CONTEXT(&pkt->htc_pkt, htt_msg);
|
||||
status = DP_HTT_SEND_HTC_PKT(soc, pkt,
|
||||
@@ -4850,7 +4850,8 @@ QDF_STATUS dp_h2t_3tuple_config_send(struct dp_pdev *pdev,
|
||||
qdf_nbuf_data(msg),
|
||||
qdf_nbuf_len(msg),
|
||||
soc->htc_endpoint,
|
||||
1);
|
||||
/* tag for no FW response msg */
|
||||
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_3_TUPLE_HASH_CFG,
|
||||
@@ -4939,7 +4940,8 @@ QDF_STATUS dp_h2t_cfg_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 no FW response msg */
|
||||
HTC_TX_PACKET_TAG_RUNTIME_PUT);
|
||||
|
||||
SET_HTC_PACKET_NET_BUF_CONTEXT(&pkt->htc_pkt, msg);
|
||||
status = DP_HTT_SEND_HTC_PKT(soc, pkt, HTT_H2T_MSG_TYPE_PPDU_STATS_CFG,
|
||||
@@ -5108,6 +5110,7 @@ dp_htt_rx_flow_fst_setup(struct dp_pdev *pdev,
|
||||
qdf_nbuf_data(msg),
|
||||
qdf_nbuf_len(msg),
|
||||
soc->htc_endpoint,
|
||||
/* tag for no FW response msg */
|
||||
HTC_TX_PACKET_TAG_RUNTIME_PUT);
|
||||
|
||||
SET_HTC_PACKET_NET_BUF_CONTEXT(&pkt->htc_pkt, msg);
|
||||
@@ -5259,6 +5262,7 @@ dp_htt_rx_flow_fse_operation(struct dp_pdev *pdev,
|
||||
qdf_nbuf_data(msg),
|
||||
qdf_nbuf_len(msg),
|
||||
soc->htc_endpoint,
|
||||
/* tag for no FW response msg */
|
||||
HTC_TX_PACKET_TAG_RUNTIME_PUT);
|
||||
|
||||
SET_HTC_PACKET_NET_BUF_CONTEXT(&pkt->htc_pkt, msg);
|
||||
@@ -5372,6 +5376,7 @@ dp_htt_rx_fisa_config(struct dp_pdev *pdev,
|
||||
qdf_nbuf_data(msg),
|
||||
qdf_nbuf_len(msg),
|
||||
soc->htc_endpoint,
|
||||
/* tag for no FW response msg */
|
||||
HTC_TX_PACKET_TAG_RUNTIME_PUT);
|
||||
|
||||
SET_HTC_PACKET_NET_BUF_CONTEXT(&pkt->htc_pkt, msg);
|
||||
|
Reference in New Issue
Block a user