Переглянути джерело

qcacmn: Reduce Log Level

Add, delete and update AST DP
functions print logs at TRACE
level

Reduce the log level from TRACE
to DEBUG to avoid ML Framework
from interpreting these logs

CRs-Fixed: 2385978

Change-Id: Ifd5c24a95e7e9f69297afff5d7a3235cfa27aaf5
phadiman 6 роки тому
батько
коміт
d2e88e3895
1 змінених файлів з 3 додано та 3 видалено
  1. 3 3
      dp/wifi3.0/dp_peer.c

+ 3 - 3
dp/wifi3.0/dp_peer.c

@@ -563,7 +563,7 @@ int dp_peer_add_ast(struct dp_soc *soc,
 
 	pdev = vdev->pdev;
 
-	QDF_TRACE(QDF_MODULE_ID_DP, QDF_TRACE_LEVEL_TRACE,
+	QDF_TRACE(QDF_MODULE_ID_DP, QDF_TRACE_LEVEL_DEBUG,
 		  "%s: pdevid: %u vdev: %u  ast_entry->type: %d flags: 0x%x peer_mac: %pM peer: %pK mac %pM",
 		  __func__, pdev->pdev_id, vdev->vdev_id, type, flags,
 		  peer->mac_addr.raw, peer, mac_addr);
@@ -776,7 +776,7 @@ void dp_peer_del_ast(struct dp_soc *soc, struct dp_ast_entry *ast_entry)
 	struct dp_peer *peer = ast_entry->peer;
 	uint16_t peer_id = peer->peer_ids[0];
 
-	QDF_TRACE(QDF_MODULE_ID_DP, QDF_TRACE_LEVEL_TRACE,
+	QDF_TRACE(QDF_MODULE_ID_DP, QDF_TRACE_LEVEL_DEBUG,
 		  "%s: ast_entry->type: %d pdevid: %u vdev: %u mac_addr: %pM next_hop: %u peer_mac: %pM\n",
 		  __func__, ast_entry->type, peer->vdev->pdev->pdev_id,
 		  peer->vdev->vdev_id, ast_entry->mac_addr.raw,
@@ -840,7 +840,7 @@ int dp_peer_update_ast(struct dp_soc *soc, struct dp_peer *peer,
 	int ret = -1;
 	struct dp_peer *old_peer;
 
-	QDF_TRACE(QDF_MODULE_ID_DP, QDF_TRACE_LEVEL_TRACE,
+	QDF_TRACE(QDF_MODULE_ID_DP, QDF_TRACE_LEVEL_DEBUG,
 		  "%s: ast_entry->type: %d pdevid: %u vdevid: %u flags: 0x%x mac_addr: %pM peer_mac: %pM\n",
 		  __func__, ast_entry->type, peer->vdev->pdev->pdev_id,
 		  peer->vdev->vdev_id, flags, ast_entry->mac_addr.raw,