Bläddra i källkod

qcacmn: pktlog host change for pdev id

Use correct API to extract pdev_id from HTT
message

Change-Id: Ia9e697f2a01391a073a68945de51c273efbfe5b5
Keyur Parekh 7 år sedan
förälder
incheckning
73554f9a8c
1 ändrade filer med 2 tillägg och 2 borttagningar
  1. 2 2
      dp/wifi3.0/dp_htt.c

+ 2 - 2
dp/wifi3.0/dp_htt.c

@@ -2453,7 +2453,7 @@ dp_ppdu_stats_ind_handler(struct htt_soc *soc,
 	qdf_nbuf_set_pktlen(htt_t2h_msg, HTT_T2H_MAX_MSG_SIZE);
 	QDF_TRACE(QDF_MODULE_ID_TXRX, QDF_TRACE_LEVEL_INFO,
 		"received HTT_T2H_MSG_TYPE_PPDU_STATS_IND\n");
-	pdev_id = HTT_T2H_PPDU_STATS_MAC_ID_GET(*msg_word);
+	pdev_id = HTT_T2H_PPDU_STATS_PDEV_ID_GET(*msg_word);
 	pdev_id = DP_HW2SW_MACID(pdev_id);
 	dp_txrx_ppdu_stats_handler(soc->dp_soc, pdev_id,
 				  htt_t2h_msg);
@@ -2485,7 +2485,7 @@ dp_pktlog_msg_handler(struct htt_soc *soc,
 	uint32_t *pl_hdr;
 	QDF_TRACE(QDF_MODULE_ID_TXRX, QDF_TRACE_LEVEL_INFO,
 		"received HTT_T2H_MSG_TYPE_PKTLOG\n");
-	pdev_id = HTT_T2H_PKTLOG_MAC_ID_GET(*msg_word);
+	pdev_id = HTT_T2H_PKTLOG_PDEV_ID_GET(*msg_word);
 	pdev_id = DP_HW2SW_MACID(pdev_id);
 	pl_hdr = (msg_word + 1);
 	dp_wdi_event_handler(WDI_EVENT_OFFLOAD_ALL, soc->dp_soc,