From 7f37dbea19b07adc5dc18325a9bb4adb4d53457b Mon Sep 17 00:00:00 2001 From: Nirav Shah Date: Mon, 5 Aug 2019 17:43:43 +0530 Subject: [PATCH] qcacld-3.0: Fix DHCP indication to FW feature in SAP for HL In case of HL, send tx completion bit in HTT tx descriptor to receive tx completion from FW and disable DHCP indication to FW properly. Change-Id: Iff8e0c1f5d95c4f62af8b498552d92b57006969c CRS-Fixed: 2506011 --- core/dp/txrx/ol_tx_hl.c | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/core/dp/txrx/ol_tx_hl.c b/core/dp/txrx/ol_tx_hl.c index 50ef57f3ee9b..741230466722 100644 --- a/core/dp/txrx/ol_tx_hl.c +++ b/core/dp/txrx/ol_tx_hl.c @@ -582,7 +582,15 @@ ol_tx_hl_base( tx_msdu_info.htt.info.vdev_id = vdev->vdev_id; tx_msdu_info.htt.info.frame_type = htt_frm_type_data; tx_msdu_info.htt.info.l2_hdr_type = pdev->htt_pkt_type; - tx_msdu_info.htt.action.tx_comp_req = tx_comp_req; + + if (QDF_NBUF_CB_TX_EXTRA_FRAG_FLAGS_NOTIFY_COMP(msdu) + == 1) { + tx_msdu_info.htt.action.tx_comp_req = 1; + tx_desc->pkt_type = OL_TX_FRM_NO_FREE; + } else { + tx_msdu_info.htt.action.tx_comp_req = + tx_comp_req; + } /* If the vdev is in OCB mode, * parse the tx control header.