瀏覽代碼

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
Nirav Shah 6 年之前
父節點
當前提交
7f37dbea19
共有 1 個文件被更改,包括 9 次插入1 次删除
  1. 9 1
      core/dp/txrx/ol_tx_hl.c

+ 9 - 1
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.