Wi-Fi is a registered trademark of Wi-Fi Alliance.
All trademarks are the property of their respective owners.
In many cases it helps to know the version of the firmware being used to provide the needed input to debug an issue. The below command prints the firmware version
root@am335x-evm:~# ifconfig wlan0 down
root@am335x-evm:/usr/share/wl18xx# ifconfig wlan0 up
[ 2077.084115] wlcore: PHY firmware version: Rev 8.2.0.0.245
[ 2077.180632] wlcore: firmware booted (Rev 8.9.0.0.85)
wlcore module provides options to enable additional debugging from the default prints that are available as part of the status to a specific Wi-Fi operation (staring a STA, AP and so forth or disabling the same). It may however be needed to have additional debug logs while debugging certain operation of the driver. These logs can be dynamically enabled while running the driver. The following section specifies the available dynamic debug groups and the method to enable them. The example section shows how a collection of these dynamic debugs can be enabled using a single command.
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,