1
0

qcacmn: Clean up spectral, tif and umac component prints

Clean up spectral, tif and umac component prints by correcting trace
levels for regularly occurring prints and removing newlines from
converged print APIs since qdf_trace_msg appends them by default.

Change-Id: Ib10f1b1c54ecbcb9f4076be7c2c4708359d488e0
CRs-Fixed: 2243843
Este cometimento está contido em:
Aditya Sathish
2018-07-20 14:26:31 +05:30
cometido por nshrivas
ascendente 1c42c27c80
cometimento f78a3d8ca5
12 ficheiros modificados com 233 adições e 252 eliminações

Ver ficheiro

@@ -39,28 +39,13 @@
#endif
#endif
#define spectral_log(level, args...) \
QDF_PRINT_INFO(QDF_PRINT_IDX_SHARED, QDF_MODULE_ID_SPECTRAL, level, ## args)
#define spectral_logfl(level, format, args...) \
spectral_log(level, FL(format), ## args)
#define spectral_fatal(format, args...) \
spectral_logfl(QDF_TRACE_LEVEL_FATAL, format, ## args)
#define spectral_err(format, args...) \
spectral_logfl(QDF_TRACE_LEVEL_ERROR, format, ## args)
#define spectral_warn(format, args...) \
spectral_logfl(QDF_TRACE_LEVEL_WARN, format, ## args)
#define spectral_info(format, args...) \
spectral_logfl(QDF_TRACE_LEVEL_INFO, format, ## args)
#define spectral_debug(format, args...) \
spectral_logfl(QDF_TRACE_LEVEL_DEBUG, format, ## args)
#include <spectral_defs_i.h>
#define STATUS_PASS 1
#define STATUS_FAIL 0
#undef spectral_dbg_line
#define spectral_dbg_line() \
spectral_debug("----------------------------------------------------\n")
spectral_debug("----------------------------------------------------")
#undef spectral_ops_not_registered
#define spectral_ops_not_registered(str) \

Ver ficheiro

@@ -1598,8 +1598,9 @@ int target_if_spectral_process_report_gen3(
if (spectral_debug_level & (DEBUG_SPECTRAL2 | DEBUG_SPECTRAL4)) {
spectral_debug("Printing the spectral phyerr buffer for debug");
spectral_debug("Datalength of buffer = 0x%x(%d) bufptr = 0x%pK",
payload->dbr_len, payload->dbr_len,
spectral_debug("Datalength of buffer = 0x%zx(%zd) bufptr = 0x%pK",
payload->dbr_len,
payload->dbr_len,
payload->vaddr);
#ifdef CONFIG_WIN
RAWSIM_PKT_HEXDUMP((unsigned char *)payload->vaddr, 1024);