Tool/software: Linux
Hi,
Target : DRA7xx Jacinto 6 EVM running on Android O.
we are seeing WiFi driver crash often (around even 2 minutes).
Wifi is started on boot up.
we verified wlcore is loaded and wlan0 is up and we are able to discover J6 upon issuing 'p2p_listen' command in wpa_cli.
But Wifi driver crashes often with following crash log
Crash log is as follows,
[ 971.593572] wlcore: Scan completed due to error.
[ 971.598217] ------------[ cut here ]------------
[ 971.602904] WARNING: CPU: 1 PID: 1262 at drivers/net/wireless/ti/wlcore/main.c:811 wl12xx_queue_recovery_work.part.7+0x60/0x64 [wlcore]()
[ 971.615666] Modules linked in: pvrsrvkm(O) snd_soc_tlv320aic3x gpio_pca953x tvp5158 ov490 ov1063x ldc3001_ts goodix input_polldev edt_ft5x06 pwm_bl led_bl gpio_backlight leds_tlc591xx panel_dpi connector_hdmi ti_fpd3_serdes encoder_tpd12s015 encoder_tc358768 dra7_evm_encoder_tpd12s015 sd_mod usb_storage scsi_mod wlcore_sdio wl18xx wlcore
[ 971.646141] CPU: 1 PID: 1262 Comm: kworker/u4:2 Tainted: G W O 4.4.91 #1
[ 971.653830] Hardware name: Generic DRA74X (Flattened Device Tree)
[ 971.659995] Workqueue: phy0 wl1271_scan_complete_work [wlcore]
[ 971.665858] Backtrace:
[ 971.668331] [<c020c6ec>] (dump_backtrace) from [<c020c8e8>] (show_stack+0x18/0x1c)
[ 971.675931] r6:60070013 r5:c1241e48 r4:00000000 r3:dc8ba65b
[ 971.681652] [<c020c8d0>] (show_stack) from [<c0b0fd68>] (dump_stack+0x94/0xa8)
[ 971.688910] [<c0b0fcd4>] (dump_stack) from [<c0230b10>] (warn_slowpath_common+0x90/0xc0)
[ 971.697032] r6:bf00574c r5:00000009 r4:00000000 r3:dc8ba65b
[ 971.702751] [<c0230a80>] (warn_slowpath_common) from [<c0230c2c>] (warn_slowpath_null+0x24/0x2c)
[ 971.711572] r8:eacfdc78 r7:00000000 r6:ede76d80 r5:ede76dbc r4:ede76d80
[ 971.718376] [<c0230c08>] (warn_slowpath_null) from [<bf00574c>] (wl12xx_queue_recovery_work.part.7+0x60/0x64 [wlcore])
[ 971.729183] [<bf0056ec>] (wl12xx_queue_recovery_work.part.7 [wlcore]) from [<bf007b80>] (wl12xx_queue_recovery_work+0x1c/0x20 [wlcore])
[ 971.741405] r4:ede770b0 r3:00000002
[ 971.745079] [<bf007b64>] (wl12xx_queue_recovery_work [wlcore]) from [<bf01a510>] (wl1271_scan_complete_work+0x100/0x104 [wlcore])
[ 971.756817] [<bf01a410>] (wl1271_scan_complete_work [wlcore]) from [<c0249974>] (process_one_work+0x134/0x4c0)
[ 971.766858] r8:00000000 r7:edffde00 r6:ee827c00 r5:ede770b0 r4:e8f25e00 r3:bf01a410
[ 971.774676] [<c0249840>] (process_one_work) from [<c024a7dc>] (worker_thread+0x4c/0x520)
[ 971.782800] r10:ee827c00 r9:e8f25e00 r8:00000088 r7:eea8a000 r6:ee827c14 r5:e8f25e18
[ 971.790704] r4:ee827c00
[ 971.793258] [<c024a790>] (worker_thread) from [<c024fc08>] (kthread+0x114/0x12c)
[ 971.800683] r10:00000000 r9:00000000 r8:00000000 r7:c024a790 r6:e8f25e00 r5:e5394ac0
[ 971.808587] r4:00000000
[ 971.811141] [<c024faf4>] (kthread) from [<c0208048>] (ret_from_fork+0x14/0x2c)
[ 971.818392] r7:00000000 r6:00000000 r5:c024faf4 r4:e5394ac0
[ 971.825944] ---[ end trace 4e3792d24afe59ad ]---
[ 971.830590] wlcore: ERROR failed to send reg domain dfs config
[ 971.836492] wlcore: Hardware recovery in progress. FW ver: Rev 8.9.0.0.48
[ 971.843659] wlcore: pc: 0x0, hint_sts: 0x00000024 count: 8
[ 971.849369] wlcore: down
[ 971.851929] wlcore: down
[ 971.855656] ieee80211 phy0: Hardware restart was requested
[ 972.281711] wlcore: PHY firmware version: Rev 8.2.0.0.232
[ 972.397151] wlcore: firmware booted (Rev 8.9.0.0.48)
Please help us to Wifi driver stable.
Please let us know if you need more information.
Regards
Jeyaprabu
