浏览代码

qcacmn: Fix mpdu logging option in htt command

Fix the mpdu logging option in htt command so that msdu/mpdu
logging is correctly written into the register.

Change-Id: I98b8a1a78cc0cfae37e91e9e3e489ac54139ff75
CRs-Fixed: 3265015
Nandha Kishore Easwaran 2 年之前
父节点
当前提交
0585386f57
共有 1 个文件被更改,包括 6 次插入3 次删除
  1. 6 3
      dp/wifi3.0/monitor/2.0/dp_mon_filter_2.0.c

+ 6 - 3
dp/wifi3.0/monitor/2.0/dp_mon_filter_2.0.c

@@ -1211,9 +1211,12 @@ int htt_h2t_tx_ring_cfg(struct htt_soc *htt_soc, int pdev_id,
 				 DATA,
 				 htt_tlv_filter->data_mpdu_log);
 
-	HTT_TX_MONITOR_CFG_DMA_MPDU_MGMT_SET(*msg_word, 1);
-	HTT_TX_MONITOR_CFG_DMA_MPDU_CTRL_SET(*msg_word, 1);
-	HTT_TX_MONITOR_CFG_DMA_MPDU_DATA_SET(*msg_word, 1);
+	HTT_TX_MONITOR_CFG_DMA_MPDU_MGMT_SET(*msg_word,
+					     htt_tlv_filter->mgmt_mpdu_log);
+	HTT_TX_MONITOR_CFG_DMA_MPDU_CTRL_SET(*msg_word,
+					     htt_tlv_filter->ctrl_mpdu_log);
+	HTT_TX_MONITOR_CFG_DMA_MPDU_DATA_SET(*msg_word,
+					     htt_tlv_filter->data_mpdu_log);
 
 	pkt = htt_htc_pkt_alloc(soc);
 	if (!pkt)