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.

WL1805MOD: Crash during authentication

Part Number: WL1805MOD

Hi,

sometimes it happens that wl driver reports and error during authentication. Its happening randomly and we are not able to easily reproduce.

The ouput from kernel is the following:

[ 69.902836] wlan0: authenticate with 7e:76:35:f8:00:84
[ 69.915863] wlan0: send auth to 7e:76:35:f8:00:84 (try 1/3)
[ 70.983642] wlcore: ERROR SW watchdog interrupt received! starting recovery.
[ 70.990917] ------------[ cut here ]------------
[ 70.995741] WARNING: CPU: 0 PID: 213 at drivers/net/wireless/ti/wlcore/main.c:819 wl12xx_queue_recovery_work+0x68/0x6c [wlcore]
[ 71.007316] Modules linked in: g_zero arc4 usb_f_ss_lb usb_f_ecm g_ether usb_f_rndis u_ether libcomposite supersync snd_soc_s800 wl18xx wlcore mac80211 musb_dsps musb_hdrc sha256_arm sha256_generic usbcore udc_core phy_am335x phy_generic usb_common phy_am335x_control cfg80211 snd_soc_pcm_dummy pm33xx wkup_m3_ipc wkup_m3_rproc remoteproc omap_aes_driver virtio crypto_engine virtio_ring omap_crypto omap_sham ti_emif_sram snd_soc_davinci_mcasp snd_soc_edma snd_soc_core snd_pcm_dmaengine snd_pcm bq27xxx_battery_i2c bq27xxx_battery snd_timer snd wlcore_sdio musb_am335x at24 transceiver_board [last unloaded: g_zero]
[ 71.061745] CPU: 0 PID: 213 Comm: irq/62-wl18xx Tainted: G W 4.19.68 #1
[ 71.069708] Hardware name: Generic AM33XX (Flattened Device Tree)
[ 71.075824] Backtrace:
[ 71.078307] [<c010c448>] (dump_backtrace) from [<c010c794>] (show_stack+0x18/0x1c)
[ 71.085910] r7:00000009 r6:00000000 r5:bf4540c0 r4:00000000
[ 71.091619] [<c010c77c>] (show_stack) from [<c0619538>] (dump_stack+0x24/0x28)
[ 71.098890] [<c0619514>] (dump_stack) from [<c0125ed8>] (__warn+0xe0/0xf8)
[ 71.105795] [<c0125df8>] (__warn) from [<c0125f38>] (warn_slowpath_null+0x48/0x50)
[ 71.113410] r9:00000000 r8:00000001 r7:c0163770 r6:bf43f5dc r5:00000333 r4:bf4540c0
[ 71.121267] [<c0125ef0>] (warn_slowpath_null) from [<bf43f5dc>] (wl12xx_queue_recovery_work+0x68/0x6c [wlcore])
[ 71.131433] r6:de262e28 r5:de262c98 r4:de262c60
[ 71.136151] [<bf43f574>] (wl12xx_queue_recovery_work [wlcore]) from [<bf43fe10>] (wlcore_irq+0x198/0x234 [wlcore])
[ 71.146570] r5:de262c98 r4:de262c60
[ 71.150214] [<bf43fc78>] (wlcore_irq [wlcore]) from [<c0163794>] (irq_thread_fn+0x24/0x80)
[ 71.158529] r7:c0163770 r6:df3e3a00 r5:df3e3a00 r4:de1bc840
[ 71.164216] [<c0163770>] (irq_thread_fn) from [<c0163a34>] (irq_thread+0x120/0x1fc)
[ 71.171915] r7:c0163770 r6:df3e3a00 r5:ffffe000 r4:de1bc840
[ 71.177622] [<c0163914>] (irq_thread) from [<c01420d0>] (kthread+0x138/0x140)
[ 71.184790] r10:de1bc918 r9:c0163914 r8:de1bc840 r7:00000000 r6:de1bc800 r5:de2ca000
[ 71.192661] r4:de1bc900
[ 71.195207] [<c0141f98>] (kthread) from [<c01010e8>] (ret_from_fork+0x14/0x2c)
[ 71.202468] Exception stack(0xde2cbfb0 to 0xde2cbff8)
[ 71.207552] bfa0: 00000000 00000000 00000000 00000000
[ 71.215765] bfc0: 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
[ 71.223991] bfe0: 00000000 00000000 00000000 00000000 00000013 00000000
[ 71.230645] r10:00000000 r9:00000000 r8:00000000 r7:00000000 r6:00000000 r5:c0141f98
[ 71.238516] r4:de1bc800
[ 71.241057] ---[ end trace 701d0d1b82c3ae87 ]---
[ 71.246591] wlan0: send auth to 7e:76:35:f8:00:84 (try 2/3)
[ 71.262625] wlcore: Hardware recovery in progress. FW ver: Rev 8.9.0.0.88
[ 71.275731] wlcore: pc: 0x108282, hint_sts: 0x00000000 count: 3
[ 71.305977] wlcore: down
[ 71.309841] ieee80211 phy0: Hardware restart was requested
[ 71.775981] wlcore: PHY firmware version: Rev 8.2.0.0.245
[ 71.839401] wlcore: firmware booted (Rev 8.9.0.0.88)
[ 71.863671] wlan0: send auth to 7e:76:35:f8:00:84 (try 3/3)
[ 73.126528] wlan0: authentication with 7e:76:35:f8:00:84 timed out
[ 73.656550] wlcore: WARNING Unable to flush all TX buffers, timed out (timeout 500 ms


We are using linux 4.19.68 and R8.8 wilink driver.
Any idea what can be the problem?
Thanks.