This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

WL1835MOD: ieee80211 phy0: Hardware restart was requested

Part Number: WL1835MOD

Hi,


I think I have a problem with wl18xx problem

I am using beaglebone blue

[53233.855249] wlcore: ERROR SW watchdog interrupt received! starting recovery.
[53233.862422] ------------[ cut here ]------------
[53233.862728] WARNING: CPU: 0 PID: 1231 at drivers/net/wireless/ti/wlcore/main.                                                                                                             c:808 wl12xx_queue_recovery_work+0x64/0x68 [wlcore]
[53233.862737] Modules linked in: usb_f_acm u_serial usb_f_ecm aes_arm_bs crypto                                                                                                             _simd cryptd usb_f_mass_storage usb_f_rndis u_ether libcomposite xt_state xt_con                                                                                                             ntrack nft_counter nft_chain_nat_ipv4 ipt_MASQUERADE nft_compat wl18xx wlcore ma                                                                                                             c80211 rfcomm cfg80211 bnep pm33xx wkup_m3_rproc wkup_m3_ipc hci_uart btqca btbc                                                                                                             m btintel bluetooth ch341 ecdh_generic usbserial wlcore_sdio uio_pdrv_genirq uio                                                                                                              pruss_soc_bus pru_rproc pruss irq_pruss_intc remoteproc virtio virtio_ring spid                                                                                                             ev
[53233.862850] CPU: 0 PID: 1231 Comm: irq/156-wl18xx Tainted: G        W                                                                                                                      4.19.94-ti-r73 #1buster
[53233.862856] Hardware name: Generic AM33XX (Flattened Device Tree)
[53233.862900] [<c0113e18>] (unwind_backtrace) from [<c010e388>] (show_stack+0x2                                                                                                             0/0x24)
[53233.862920] [<c010e388>] (show_stack) from [<c0d2909c>] (dump_stack+0x8c/0xa0                                                                                                             )
[53233.862938] [<c0d2909c>] (dump_stack) from [<c013c928>] (__warn.part.3+0xcc/0                                                                                                             xe8)
[53233.862951] [<c013c928>] (__warn.part.3) from [<c013cac4>] (warn_slowpath_nul                                                                                                             l+0x54/0x5c)
[53233.863086] [<c013cac4>] (warn_slowpath_null) from [<bf3b3cb0>] (wl12xx_queue                                                                                                             _recovery_work+0x64/0x68 [wlcore])
[53233.863270] [<bf3b3cb0>] (wl12xx_queue_recovery_work [wlcore]) from [<bf3b449                                                                                                             8>] (wlcore_irq+0x118/0x188 [wlcore])
[53233.863375] [<bf3b4498>] (wlcore_irq [wlcore]) from [<c01afe1c>] (irq_thread_                                                                                                             fn+0x2c/0x88)
[53233.863389] [<c01afe1c>] (irq_thread_fn) from [<c01b0194>] (irq_thread+0x164/                                                                                                             0x234)
[53233.863402] [<c01b0194>] (irq_thread) from [<c01604c0>] (kthread+0x16c/0x174)
[53233.863416] [<c01604c0>] (kthread) from [<c01010e8>] (ret_from_fork+0x14/0x2c                                                                                                             )
[53233.863424] Exception stack(0xdb131fb0 to 0xdb131ff8)
[53233.863436] 1fa0:                                     00000000 00000000 00000                                                                                                             000 00000000
[53233.863446] 1fc0: 00000000 00000000 00000000 00000000 00000000 00000000 00000                                                                                                             000 00000000
[53233.863456] 1fe0: 00000000 00000000 00000000 00000000 00000013 00000000
[53233.863465] ---[ end trace 9705a47acaa13116 ]---
[53233.863641] wlcore: Hardware recovery in progress. FW ver: Rev 8.9.0.0.88
[53233.864322] wlcore: pc: 0xf406, hint_sts: 0x00000000 count: 1
[53233.864795] wlcore: down
[53233.864846] wlcore: down
[53233.864873] wlcore: down
[53233.865032] ieee80211 phy0: Hardware restart was requested
[53234.281108] wlcore: PHY firmware version: Rev 8.2.0.0.245
[53234.330059] wlcore: firmware booted (Rev 8.9.0.0.88)
[53234.366255] wlcore: Association completed.
[53271.818887] wlan0: deauthenticated from a2:b5:3c:0c:cd:02 (Reason: 1=UNSPECIF                                                                                                             IED)
[53271.974546] IPv6: ADDRCONF(NETDEV_UP): wlan0: link is not ready
[53271.990792] IPv6: ADDRCONF(NETDEV_UP): wlan0: link is not ready
[53272.676460] wlan0: authenticate with a2:b5:3c:0c:cd:02
[53272.694436] wlan0: send auth to a2:b5:3c:0c:cd:02 (try 1/3)
[53272.798353] wlan0: authenticated
[53272.805665] wlan0: associate with a2:b5:3c:0c:cd:02 (try 1/3)
[53272.810630] wlan0: RX AssocResp from a2:b5:3c:0c:cd:02 (capab=0x1411 status=0                                                                                                              aid=11)
[53272.840036] wlan0: associated
[53272.845805] wlan0: Limiting TX power to 20 (20 - 0) dBm as advertised by a2:b                                                                                                             5:3c:0c:cd:02
[53273.890556] IPv6: ADDRCONF(NETDEV_CHANGE): wlan0: link becomes ready
[53273.926356] wlcore: Association completed.
[58147.954725] wlcore: ERROR SW watchdog interrupt received! starting recovery.

  • Which SDK are you using? Which kernel? Have you modified the DTS? I need more information on what the software system is that you are using. 

  • kernel 4.19.94-ti-r73

    [   70.470952] wlcore: PHY firmware version: Rev 8.2.0.0.245
    [   70.520247] wlcore: firmware booted (Rev 8.9.0.0.88)

    sudo /opt/scripts/tools/version.sh
    git:/opt/scripts/:[b39ec679648a6be8f25f48bd1c9784c1fc5a0c46]
    eeprom:[A335BNLTBLA21711EL000124]
    model:[TI_AM335x_BeagleBone_Blue]
    dogtag:[BeagleBoard.org Debian Buster IoT Image 2020-04-06]
    bootloader:[eMMC-(default)]:[/dev/mmcblk1]:[U-Boot 2019.04-00002-g07d5700e21]:[location: dd MBR]
    UBOOT: Booted Device-Tree:[am335x-boneblue.dts]
    UBOOT: Loaded Overlay:[AM335X-PRU-RPROC-4-19-TI-00A0]
    UBOOT: Loaded Overlay:[BB-ADC-00A0.bb.org-overlays]
    kernel:[4.19.94-ti-r73]
    nodejs:[v10.24.0]
    /boot/uEnv.txt Settings:
    uboot_overlay_options:[enable_uboot_overlays=1]
    uboot_overlay_options:[uboot_overlay_pru=/lib/firmware/AM335X-PRU-RPROC-4-19-TI-00A0.dtbo]
    uboot_overlay_options:[enable_uboot_cape_universal=1]
    pkg check: to individually upgrade run: [sudo apt install --only-upgrade <pkg>]
    pkg:[bb-cape-overlays]:[4.14.20210821.0-0~buster+20210821]
    pkg:[bb-wl18xx-firmware]:[1.20221130.4-0~buster+20221130]
    pkg:[kmod]:[26-1]
    pkg:[librobotcontrol]:[1.0.5-git20200715.0-0~buster+20200716]
    pkg:[firmware-ti-connectivity]:[20190717-2rcnee1~buster+20200305]
    groups:[debian : debian adm kmem dialout cdrom floppy audio dip video plugdev users systemd-journal bluetooth netdev i2c gpio pwm eqep remoteproc admin spi iio docker tisdk weston-launch xenomai cloud9ide]
    cmdline:[console=ttyO0,115200n8 bone_capemgr.uboot_capemgr_enabled=1 root=/dev/mmcblk1p1 ro rootfstype=ext4 rootwait coherent_pool=1M net.ifnames=0 lpj=1990656 rng_core.default_quality=100 quiet]
    dmesg | grep remote
    [    8.414478] remoteproc remoteproc0: 4a334000.pru is available
    [    8.434020] remoteproc remoteproc1: 4a338000.pru is available
    [   42.640154] remoteproc remoteproc2: wkup_m3 is available
    [   42.650984] remoteproc remoteproc2: powering up wkup_m3
    [   42.651012] remoteproc remoteproc2: Booting fw image am335x-pm-firmware.elf, size 217148
    [   42.651267] remoteproc remoteproc2: remote processor wkup_m3 is now up
    dmesg | grep pru
    [    8.414478] remoteproc remoteproc0: 4a334000.pru is available
    [    8.414683] pru-rproc 4a334000.pru: PRU rproc node pru@4a334000 probed successfully
    [    8.434020] remoteproc remoteproc1: 4a338000.pru is available
    [    8.434200] pru-rproc 4a338000.pru: PRU rproc node pru@4a338000 probed successfully
    dmesg | grep pinctrl-single
    [    0.914649] pinctrl-single 44e10800.pinmux: 142 pins, size 568
    dmesg | grep gpio-of-helper
    lsusb
    Bus 001 Device 002: ID 1a86:7523 QinHeng Electronics HL-340 USB-Serial adapter
    Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
    END

  • Great, thank you. May I ask how you were able to create this issue? Or did it seemingly happen randomly? Could you provide wireless sniffer logs or wl18xx logs? 

  • Regardless, the driver is able to reset the WL18 and then immediately associate and establish the link.