NXP Semiconductors
UM11490
Feature Configuration Guide for NXP-based Wireless Modules on i.MX 8M Quad EVK
3.2 Driver debug log types
Table 3 lists the debug logs types exposed by the NXP driver for drvdbg parameter.
The debug information can be enabled or disabled using either the module parameter
(Section 3.1.1 ) or /proc at runtime (Section 3.1.2).
Bit Message
type
Log format Description
Bit 0 MMSG PRINTM(MMSG,...) Set bit 0 to enable all driver logs with log level MMSG.
Bit 1 MFATAL PRINTM(MFATAL,...) Set bit 1 to enable all driver logs with log level MFATAL.
Bit 2 MERROR PRINTM(MERROR,...) Set bit 2 to enable all driver logs with log level MERROR.
Bit 3 MDATA PRINTM(MDATA,...) Set bit 3 to enable all driver logs with log level MDATA.
Bit 4 MCMND PRINTM(MCMND,...) Set bit 4 to enable all driver logs with log level MCMND.
Bit 5 MEVENT PRINTM(MEVENT,...) Set bit 5 to enable all driver logs with log level MEVENT.
Bit 6 MINTR PRINTM(MINTR,...) Set bit 6 to enable all driver logs with log level MINTR.
Bit 7 MIOCTL PRINTM(MIOCTL,...) Set bit 7 to enable all driver logs with log level MIOCTL.
Bit 16 MDAT_D PRINTM(MDAT_D,...),
DBG_HEXDUMP(MDAT_D,...)
Set bit 16 to enable all driver logs with log level MDAT_D and
provide the corresponding hexdump in dmesg logs.
Bit 17 MCMD_D PRINTM(MCMD_D,...),
DBG_HEXDUMP(MCMD_D,...)
Set bit 17 to enable all driver logs with log level MCMD_D and
provide the corresponding hexdump in dmesg logs.
Bit 18 MEVT_D PRINTM(MEVT_D,...),
DBG_HEXDUMP(MEVT_D,...)
Set bit 18 to enable all driver logs with log level MEVT_D and
provide the corresponding hexdump in dmesg logs.
Bit 19 MFW_D PRINTM(MFW_D,...),
DBG_HEXDUMP(MFW_D,...)
Set bit 19 to enable all driver logs with log level MFW_D and
provide the corresponding hexdump in dmesg logs.
Bit 20 MIF_D PRINTM(MIF_D,...),
DBG_HEXDUMP(MIF_D,...)
Set  bit  20  to  enable  all  driver  logs  with  log  level  MIF_D  and
provide the corresponding hexdump in dmesg logs.
Bit 28 MENTRY PRINTM(MENTRY,...),
ENTER(), LEAVE()
Set bit 28 to enable all driver logs with API entry and exit.
Bit 29 MWARN PRINTM(MWARN,...) Set bit 29 to enable all driver logs with log level MWARN.
Bit 30 MINFO PRINTM(MINFO,...) Set bit 30 to enable all driver logs with log level MINFO.
Table 3. NXP driver debug log types
UM11490 All information provided in this document is subject to legal disclaimers. © NXP B.V. 2021. All rights reserved.
User manual Rev. 2 — 29 January 2021
45 / 88