Bläddra i källkod

qcacmn: Reduce log level to avoid console logging

Reducing the log level of debug log to avoid console logging
and instead get it on the cnss diag log.

Change-Id: Ie5a1eb6f45ffa97790d91528a173b16319ec760b
CRs-Fixed: 2486057
Saket Jha 5 år sedan
förälder
incheckning
16d8432a3d
2 ändrade filer med 4 tillägg och 5 borttagningar
  1. 3 4
      dp/wifi3.0/dp_rx.h
  2. 1 1
      hal/wifi3.0/hal_api.h

+ 3 - 4
dp/wifi3.0/dp_rx.h

@@ -795,10 +795,9 @@ dp_rx_wds_srcport_learn(struct dp_soc *soc,
  */
 static inline void dp_rx_desc_dump(struct dp_rx_desc *rx_desc)
 {
-	QDF_TRACE(QDF_MODULE_ID_DP, QDF_TRACE_LEVEL_FATAL,
-		  "rx_desc->nbuf: %pK, rx_desc->cookie: %d, rx_desc->pool_id: %d, rx_desc->in_use: %d, rx_desc->unmapped: %d",
-		  rx_desc->nbuf, rx_desc->cookie, rx_desc->pool_id,
-		  rx_desc->in_use, rx_desc->unmapped);
+	dp_info("rx_desc->nbuf: %pK, rx_desc->cookie: %d, rx_desc->pool_id: %d, rx_desc->in_use: %d, rx_desc->unmapped: %d",
+		rx_desc->nbuf, rx_desc->cookie, rx_desc->pool_id,
+		rx_desc->in_use, rx_desc->unmapped);
 }
 
 /*

+ 1 - 1
hal/wifi3.0/hal_api.h

@@ -1470,7 +1470,7 @@ static inline void hal_srng_dump_ring_desc(struct hal_soc *hal, void *hal_ring,
 {
 	struct hal_srng *srng = (struct hal_srng *)hal_ring;
 
-	QDF_TRACE_HEX_DUMP(QDF_MODULE_ID_DP, QDF_TRACE_LEVEL_FATAL,
+	QDF_TRACE_HEX_DUMP(QDF_MODULE_ID_DP, QDF_TRACE_LEVEL_INFO_HIGH,
 			   ring_desc, (srng->entry_size << 2));
 }