qcacmn: Fix SAP DHCP ACK no TX Comp notify issue

When TX completion is released from FW, dp_tx_notify_completion()
will not be invoked, then TX DCHP ACK will miss
hdd_softap_notify_tx_compl_cbk() which then
WMI_PEER_CRIT_PROTO_HINT_ENABLED with value 0 will not send to FW.

(1) move dp_tx_notify_completion() from dp_tx_comp_process_desc_list()
to dp_tx_comp_process_tx_status(), so that both TX completion release
source FW or TQM case will call it.
(2) clear TX notify flag for intra-bss forwarding BC/MC to avoid
unnecessary TX completion notify.
(3) Set ts.status for release source FW case otherwise it will be value
0 always.

Change-Id: I2bf9900a3d16ba162a83b061f0b96e7d2f79423a
CRs-Fixed: 3178423
这个提交包含在:
Jinwei Chen
2022-04-20 07:17:09 -07:00
提交者 Madan Koyyalamudi
父节点 e04b80efc6
当前提交 5f37239c73
修改 4 个文件,包含 13 行新增7 行删除

查看文件

@@ -876,6 +876,8 @@ bool dp_rx_intrabss_mcbc_fwd(struct dp_soc *soc, struct dp_txrx_peer *ta_peer,
tid_stats))
return false;
/* set TX notify flag 0 to avoid unnecessary TX comp callback */
qdf_nbuf_tx_notify_comp_set(nbuf_copy, 0);
if (dp_tx_send((struct cdp_soc_t *)soc,
ta_peer->vdev->vdev_id, nbuf_copy)) {
DP_PEER_PER_PKT_STATS_INC_PKT(ta_peer, rx.intra_bss.fail, 1,