SWRU575 December   2020 WL1801MOD , WL1805MOD , WL1807MOD , WL1831MOD , WL1835MOD , WL1837MOD

 

  1.   Trademarks
  2. 1Acquire WL18xx Firmware Version
  3. 2Enable wlcore Driver Kernel Message
    1. 2.1 Debug Parameter Options
    2. 2.2 Activation of Debug Printout
    3. 2.3 Additional Examples to Enable Debug Message Groups
  4. 3Enable Dynamic Debug for wl18xx, mac80211, cfg80211
    1. 3.1 Checking for the Dynamic Debug Compile Switch
    2. 3.2 Enabling Dynamic Debug
  5. 4Enabling and Disabling WiLink8 Features
    1. 4.1 DFS Channel Related Commands
    2. 4.2 Enhanced Low Power Enable/Disable Commands

Additional Examples to Enable Debug Message Groups

A group of messages can also be enabled depending on the issue being debugged. The examples below show that you can enable a group of messages. The required flags can be ORed together to create the value to be written into the debug_level.

Enable debug printout during Connection

echo 0x63c00 > /sys/module/wl12xx/parameters/debug_level

This will enable the following debug level (as defined in the drivers/net/wireless/wl18xx/wl18xx.h file):

DEBUG_PSM	= BIT(10), 
DEBUG_MAC80211	= BIT(11),
DEBUG_CMD	= BIT(12),
DEBUG_ACX	= BIT(13),
DEBUG_AP	= BIT(17),
DEBUG_MASTER	= (DEBUG_ADHOC | DEBUG_AP),