SWRU575 December 2020 WL1801MOD , WL1805MOD , WL1807MOD , WL1831MOD , WL1835MOD , WL1837MOD
The WL18xx driver supports configurable and very detailed debug information. The log system of WL18xx driver only prints that log output that has an appropriate debug mode. All other debug logs are not printed. In this way, it is possible to control only necessary debug information. All available debug modes are defined in the drivers/net/wireless/ti/wlcore/debug.h file. The options are listed below for reference. It is recommended to refer to the above mentioned header file for accurate debug groups available for a specific version of the driver used in the build.
DEBUG_NONE = 0,
DEBUG_IRQ = BIT(0), /* 1 */
DEBUG_SPI = BIT(1), /* 2 */
DEBUG_BOOT = BIT(2), /* 4 */
DEBUG_MAILBOX = BIT(3), /* 8 */
DEBUG_TESTMODE = BIT(4), /* 16 */
DEBUG_EVENT = BIT(5), /* 32 */
DEBUG_TX = BIT(6), /* 64 */
DEBUG_RX = BIT(7), /* 128 */
DEBUG_SCAN = BIT(8), /* 256 */
DEBUG_CRYPT = BIT(9), /* 512 */
DEBUG_PSM = BIT(10), /* 1024 */
DEBUG_MAC80211 = BIT(11), /* 2048 */
DEBUG_CMD = BIT(12), /* 4096 */
DEBUG_ACX = BIT(13), /* 8192 */
DEBUG_SDIO = BIT(14), /* 16384 */
DEBUG_FILTERS = BIT(15), /* 32768 */
DEBUG_ADHOC = BIT(16), /* 65536 */
DEBUG_AP = BIT(17), /* 131072 */
DEBUG_PROBE = BIT(18), /* 262144 */
DEBUG_IO = BIT(19), /* 524288 */
DEBUG_MASTER = (DEBUG_ADHOC | DEBUG_AP), /* 196608 */
DEBUG_ALL = ~0,