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.

WL1837MOD: Wifi wlcore driver crash during rekeying.

Part Number: WL1837MOD
Other Parts Discussed in Thread: WL1837, WL1271

Hi,

We are working with the wifi module wl1837.

kernel: 5.4.102

Wi-Fi firmware used: 8.9.0.0.90

when system is in wake-up and wpa-enterprise connection. 

during rekeying the driver is crashing. attaching the logs.

100

2023-05-04T12:13:56.418203-04:00 VU222340030SA kernel: imx-ipuv3 2400000.ipu: Warning: channel already initialized 9
2023-05-04T12:13:56.418271-04:00 VU222340030SA kernel: imx-ipuv3 2400000.ipu: Warning: channel already enabled 9
2023-05-04T12:13:57.059075-04:00 VU222340030SA EloApp: message repeated 12 times: [ CAM LibUsb Timeout on read ]
2023-05-04T12:33:37.907827-04:00 VU222340030SA rsyslogd: -- MARK --
2023-05-04T13:35:21.494981-04:00 VU222340030SA kernel: usb 2-1.3.3: USB disconnect, device number 6
2023-05-04T13:35:21.678501-04:00 VU222340030SA EloApp: CAM LibUsb Timeout on read
2023-05-04T13:44:07.756834-04:00 VU222340030SA kernel: usb 2-1.3.3: new full-speed USB device number 7 using ci_hdrc
2023-05-04T13:44:07.853799-04:00 VU222340030SA kernel: hid-generic 0003:0536:0307.0005: hidraw3: USB HID v1.10 Device [Honeywell Imaging & Mobility JDK2593] on usb-ci_hdrc.1-1.3.3/input0
2023-05-04T13:44:07.865326-04:00 VU222340030SA kernel: hid-generic 0003:0536:0307.0006: hidraw4: USB HID v1.10 Device [Honeywell Imaging & Mobility JDK2593] on usb-ci_hdrc.1-1.3.3/input1
2023-05-04T14:03:08.054830-04:00 VU222340030SA kernel: usb 2-1.3.3: USB disconnect, device number 7
2023-05-04T19:34:22.433822-04:00 VU222340030SA kernel: pwm_config failed with return value=-22
2023-05-04T19:34:35.341264-04:00 VU222340030SA kernel: usb 2-1.3.3: new full-speed USB device number 8 using ci_hdrc
2023-05-04T19:34:35.444298-04:00 VU222340030SA kernel: hid-generic 0003:0536:0307.0007: hidraw3: USB HID v1.10 Device [Honeywell Imaging & Mobility JDK2593] on usb-ci_hdrc.1-1.3.3/input0
2023-05-04T19:34:35.454811-04:00 VU222340030SA kernel: hid-generic 0003:0536:0307.0008: hidraw4: USB HID v1.10 Device [Honeywell Imaging & Mobility JDK2593] on usb-ci_hdrc.1-1.3.3/input1
2023-05-04T20:37:52.133958-04:00 VU222340030SA kernel: wlcore: Association completed.

2023-05-05T05:01:52.350793-04:00 VU222340030SA kernel: Rekeying PTK for STA ac:3a:67:df:8b:6f but driver can't safely do that.
2023-05-05T15:50:22.700868-04:00 VU222340030SA kernel: message repeated 2 times: [Rekeying PTK for STA ac:3a:67:df:8b:6f but driver can't safely do that.]
2023-05-05T15:50:22.700916-04:00 VU222340030SA kernel: ------------[ cut here ]------------
2023-05-05T15:50:22.700974-04:00 VU222340030SA kernel: WARNING: CPU: 1 PID: 499 at /jenkins/ws/OD_rel-mac-vu-360-v1.02-wireless/ELO_OS/build-tmp/tmp/work-shared/dcar-elo/kernel-source/drivers/net/wireless/ti/wlcore/sdio.c:131 wl12xx_sdio_raw_write+0xb8/0x13c [wlcore_sdio]
2023-05-05T15:50:22.700993-04:00 VU222340030SA kernel: Modules linked in: wl18xx wlcore mac80211 cfg80211 wlcore_sdio usbhid phy_generic ci_hdrc_imx ci_hdrc usb_otg_fsm ulpi roles udc_core ehci_hcd usbcore usb_common usbmisc_imx mxc_dcic phy_mxs_usb galcore(O)
2023-05-05T15:50:22.701007-04:00 VU222340030SA kernel: CPU: 1 PID: 499 Comm: irq/260-wl18xx Tainted: G O 5.4.102-ts+imx_2.3.0+gehc-dcar-elo+g16c45ab42a03 #1
2023-05-05T15:50:22.701024-04:00 VU222340030SA kernel: Hardware name: Freescale i.MX6 Quad/DualLite (Device Tree)
2023-05-05T15:50:22.701040-04:00 VU222340030SA kernel: [<80016468>] (unwind_backtrace) from [<80012c98>] (show_stack+0x10/0x14)
2023-05-05T15:50:22.701051-04:00 VU222340030SA kernel: [<80012c98>] (show_stack) from [<80711918>] (dump_stack+0x84/0x98)
2023-05-05T15:50:22.701062-04:00 VU222340030SA kernel: [<80711918>] (dump_stack) from [<8002e6fc>] (__warn+0xd8/0xf0)
2023-05-05T15:50:22.701071-04:00 VU222340030SA kernel: [<8002e6fc>] (__warn) from [<8002e7a4>] (warn_slowpath_fmt+0x90/0xa0)
2023-05-05T15:50:22.701720-04:00 VU222340030SA kernel: [<8002e7a4>] (warn_slowpath_fmt) from [<7f2481bc>] (wl12xx_sdio_raw_write+0xb8/0x13c [wlcore_sdio])
2023-05-05T15:50:22.701764-04:00 VU222340030SA kernel: [<7f2481bc>] (wl12xx_sdio_raw_write [wlcore_sdio]) from [<7f33db48>] (wlcore_runtime_resume+0xc8/0x1f4 [wlcore])
2023-05-05T15:50:22.701776-04:00 VU222340030SA kernel: [<7f33db48>] (wlcore_runtime_resume [wlcore]) from [<8041a3c8>] (__rpm_callback+0xb4/0x11c)
2023-05-05T15:50:22.701786-04:00 VU222340030SA kernel: [<8041a3c8>] (__rpm_callback) from [<8041a484>] (rpm_callback+0x54/0x80)
2023-05-05T15:50:22.701795-04:00 VU222340030SA kernel: [<8041a484>] (rpm_callback) from [<8041a070>] (rpm_resume+0x344/0x4c0)
2023-05-05T15:50:22.701803-04:00 VU222340030SA kernel: [<8041a070>] (rpm_resume) from [<8041a238>] (__pm_runtime_resume+0x4c/0x64)
2023-05-05T15:50:22.701822-04:00 VU222340030SA kernel: [<8041a238>] (__pm_runtime_resume) from [<7f341a60>] (wlcore_irq_locked+0x50/0x710 [wlcore])
2023-05-05T15:50:22.701834-04:00 VU222340030SA kernel: [<7f341a60>] (wlcore_irq_locked [wlcore]) from [<7f3421f0>] (wlcore_irq+0xd0/0x170 [wlcore])
2023-05-05T15:50:22.701844-04:00 VU222340030SA kernel: [<7f3421f0>] (wlcore_irq [wlcore]) from [<80074cf0>] (irq_thread_fn+0x1c/0x7c)
2023-05-05T15:50:22.701854-04:00 VU222340030SA kernel: [<80074cf0>] (irq_thread_fn) from [<80074fc0>] (irq_thread+0x110/0x1d8)
2023-05-05T15:50:22.701863-04:00 VU222340030SA kernel: [<80074fc0>] (irq_thread) from [<8004bdd4>] (kthread+0x14c/0x18c)
2023-05-05T15:50:22.701872-04:00 VU222340030SA kernel: [<8004bdd4>] (kthread) from [<800090e8>] (ret_from_fork+0x14/0x2c)
2023-05-05T15:50:22.701881-04:00 VU222340030SA kernel: Exception stack(0xd91fbfb0 to 0xd91fbff8)
2023-05-05T15:50:22.701889-04:00 VU222340030SA kernel: bfa0: 00000000 00000000 00000000 00000000
2023-05-05T15:50:22.701898-04:00 VU222340030SA kernel: bfc0: 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
2023-05-05T15:50:22.701907-04:00 VU222340030SA kernel: bfe0: 00000000 00000000 00000000 00000000 00000013 00000000
2023-05-05T15:50:22.701917-04:00 VU222340030SA kernel: ---[ end trace 01f146a45059fd54 ]---

2023-05-05T15:50:22.701925-04:00 VU222340030SA kernel: wl1271_sdio mmc2:0001:2: sdio write failed (-110)
2023-05-05T15:50:22.701934-04:00 VU222340030SA kernel: wlcore: WARNING Enable for recovery failed
2023-05-05T15:50:22.701943-04:00 VU222340030SA kernel: wlcore: down
2023-05-05T15:50:22.701952-04:00 VU222340030SA kernel: ieee80211 phy0: Hardware restart was requested
2023-05-05T15:50:23.270797-04:00 VU222340030SA kernel: wlcore: PHY firmware version: Rev 8.2.0.0.246
2023-05-05T15:50:23.283790-04:00 VU222340030SA kernel: wlcore: ERROR reg domain conf error
2023-05-05T15:50:23.843822-04:00 VU222340030SA kernel: wlcore: PHY firmware version: Rev 8.2.0.0.246
2023-05-05T15:50:23.853792-04:00 VU222340030SA kernel: wlcore: ERROR reg domain conf error
2023-05-05T15:50:24.415797-04:00 VU222340030SA kernel: wlcore: PHY firmware version: Rev 8.2.0.0.246
2023-05-05T15:50:24.431816-04:00 VU222340030SA kernel: wlcore: ERROR reg domain conf error
2023-05-05T15:50:24.433302-04:00 VU222340030SA kernel: wlcore: ERROR firmware boot failed despite 3 retries
2023-05-05T15:50:24.433352-04:00 VU222340030SA kernel: ------------[ cut here ]------------
2023-05-05T15:50:24.433366-04:00 VU222340030SA kernel: WARNING: CPU: 1 PID: 1626 at /jenkins/ws/OD_rel-mac-vu-360-v1.02-wireless/ELO_OS/build-tmp/tmp/work-shared/dcar-elo/kernel-source/net/mac80211/util.c:2241 ieee80211_reconfig+0x314/0xdfc [mac80211]
2023-05-05T15:50:24.433380-04:00 VU222340030SA kernel: Modules linked in: wl18xx wlcore mac80211 cfg80211 wlcore_sdio usbhid phy_generic ci_hdrc_imx ci_hdrc usb_otg_fsm ulpi roles udc_core ehci_hcd usbcore usb_common usbmisc_imx mxc_dcic phy_mxs_usb galcore(O)
2023-05-05T15:50:24.433394-04:00 VU222340030SA kernel: CPU: 1 PID: 1626 Comm: kworker/1:1 Tainted: G W O 5.4.102-ts+imx_2.3.0+gehc-dcar-elo+g16c45ab42a03 #1
2023-05-05T15:50:24.433406-04:00 VU222340030SA kernel: Hardware name: Freescale i.MX6 Quad/DualLite (Device Tree)
2023-05-05T15:50:24.433416-04:00 VU222340030SA kernel: Workqueue: events_freezable ieee80211_restart_work [mac80211]
2023-05-05T15:50:24.433426-04:00 VU222340030SA kernel: [<80016468>] (unwind_backtrace) from [<80012c98>] (show_stack+0x10/0x14)
2023-05-05T15:50:24.433435-04:00 VU222340030SA kernel: [<80012c98>] (show_stack) from [<80711918>] (dump_stack+0x84/0x98)
2023-05-05T15:50:24.433448-04:00 VU222340030SA kernel: [<80711918>] (dump_stack) from [<8002e6fc>] (__warn+0xd8/0xf0)
2023-05-05T15:50:24.433457-04:00 VU222340030SA kernel: [<8002e6fc>] (__warn) from [<8002e7a4>] (warn_slowpath_fmt+0x90/0xa0)
2023-05-05T15:50:24.433466-04:00 VU222340030SA kernel: [<8002e7a4>] (warn_slowpath_fmt) from [<7f2f1184>] (ieee80211_reconfig+0x314/0xdfc [mac80211])
2023-05-05T15:50:24.433477-04:00 VU222340030SA kernel: [<7f2f1184>] (ieee80211_reconfig [mac80211]) from [<7f2bd254>] (ieee80211_restart_work+0xac/0xe4 [mac80211])
2023-05-05T15:50:24.433487-04:00 VU222340030SA kernel: [<7f2bd254>] (ieee80211_restart_work [mac80211]) from [<80045484>] (process_one_work+0x14c/0x454)
2023-05-05T15:50:24.433497-04:00 VU222340030SA kernel: [<80045484>] (process_one_work) from [<80045b70>] (worker_thread+0x30/0x578)
2023-05-05T15:50:24.433508-04:00 VU222340030SA kernel: [<80045b70>] (worker_thread) from [<8004bdd4>] (kthread+0x14c/0x18c)
2023-05-05T15:50:24.433517-04:00 VU222340030SA kernel: [<8004bdd4>] (kthread) from [<800090e8>] (ret_from_fork+0x14/0x2c)
2023-05-05T15:50:24.433526-04:00 VU222340030SA kernel: Exception stack(0xd8419fb0 to 0xd8419ff8)
2023-05-05T15:50:24.433535-04:00 VU222340030SA kernel: 9fa0: 00000000 00000000 00000000 00000000
2023-05-05T15:50:24.433544-04:00 VU222340030SA kernel: 9fc0: 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
2023-05-05T15:50:24.433554-04:00 VU222340030SA kernel: 9fe0: 00000000 00000000 00000000 00000000 00000013 00000000
2023-05-05T15:50:24.438012-04:00 VU222340030SA kernel: ---[ end trace 01f146a45059fd55 ]---
2023-05-05T15:50:24.438065-04:00 VU222340030SA kernel: wlan0: deauthenticating from ac:3a:67:df:8b:6f by local choice (Reason: 3=DEAUTH_LEAVING)
2023-05-05T15:50:24.438078-04:00 VU222340030SA kernel: ------------[ cut here ]------------
2023-05-05T15:50:24.438087-04:00 VU222340030SA kernel: WARNING: CPU: 1 PID: 1626 at /jenkins/ws/OD_rel-mac-vu-360-v1.02-wireless/ELO_OS/build-tmp/tmp/work-shared/dcar-elo/kernel-source/net/mac80211/driver-ops.h:19 ieee80211_bss_info_change_notify+0x15c/0x160 [mac80211]
2023-05-05T15:50:24.438099-04:00 VU222340030SA kernel: wlan0: Failed check-sdata-in-driver check, flags: 0x0
2023-05-05T15:50:24.438110-04:00 VU222340030SA kernel: Modules linked in: wl18xx wlcore mac80211 cfg80211 wlcore_sdio usbhid phy_generic ci_hdrc_imx ci_hdrc usb_otg_fsm ulpi roles udc_core ehci_hcd usbcore usb_common usbmisc_imx mxc_dcic phy_mxs_usb galcore(O)
2023-05-05T15:50:24.438122-04:00 VU222340030SA kernel: CPU: 1 PID: 1626 Comm: kworker/1:1 Tainted: G W O 5.4.102-ts+imx_2.3.0+gehc-dcar-elo+g16c45ab42a03 #1
2023-05-05T15:50:24.438132-04:00 VU222340030SA kernel: Hardware name: Freescale i.MX6 Quad/DualLite (Device Tree)
2023-05-05T15:50:24.438140-04:00 VU222340030SA kernel: Workqueue: events_freezable ieee80211_restart_work [mac80211]
2023-05-05T15:50:24.438150-04:00 VU222340030SA kernel: [<80016468>] (unwind_backtrace) from [<80012c98>] (show_stack+0x10/0x14)
2023-05-05T15:50:24.438159-04:00 VU222340030SA kernel: [<80012c98>] (show_stack) from [<80711918>] (dump_stack+0x84/0x98)
2023-05-05T15:50:24.438168-04:00 VU222340030SA kernel: [<80711918>] (dump_stack) from [<8002e6fc>] (__warn+0xd8/0xf0)
2023-05-05T15:50:24.438177-04:00 VU222340030SA kernel: [<8002e6fc>] (__warn) from [<8002e778>] (warn_slowpath_fmt+0x64/0xa0)
2023-05-05T15:50:24.438187-04:00 VU222340030SA kernel: [<8002e778>] (warn_slowpath_fmt) from [<7f2bee64>] (ieee80211_bss_info_change_notify+0x15c/0x160 [mac80211])
2023-05-05T15:50:24.438197-04:00 VU222340030SA kernel: [<7f2bee64>] (ieee80211_bss_info_change_notify [mac80211]) from [<7f2fa760>] (ieee80211_set_disassoc+0x70/0x3e0 [mac80211])
2023-05-05T15:50:24.438208-04:00 VU222340030SA kernel: [<7f2fa760>] (ieee80211_set_disassoc [mac80211]) from [<7f2fefcc>] (ieee80211_mgd_deauth+0x114/0x250 [mac80211])
2023-05-05T15:50:24.438217-04:00 VU222340030SA kernel: [<7f2fefcc>] (ieee80211_mgd_deauth [mac80211]) from [<7f282f08>] (cfg80211_mlme_deauth+0x78/0xdc [cfg80211])
2023-05-05T15:50:24.438227-04:00 VU222340030SA kernel: [<7f282f08>] (cfg80211_mlme_deauth [cfg80211]) from [<7f28308c>] (cfg80211_mlme_down+0x5c/0x64 [cfg80211])
2023-05-05T15:50:24.438236-04:00 VU222340030SA kernel: [<7f28308c>] (cfg80211_mlme_down [cfg80211]) from [<7f286d74>] (cfg80211_disconnect+0xec/0xf8 [cfg80211])
2023-05-05T15:50:24.438246-04:00 VU222340030SA kernel: [<7f286d74>] (cfg80211_disconnect [cfg80211]) from [<7f25a5ac>] (cfg80211_leave+0x24/0x30 [cfg80211])
2023-05-05T15:50:24.438256-04:00 VU222340030SA kernel: [<7f25a5ac>] (cfg80211_leave [cfg80211]) from [<7f25aa04>] (cfg80211_netdev_notifier_call+0x300/0x434 [cfg80211])
2023-05-05T15:50:24.438266-04:00 VU222340030SA kernel: [<7f25aa04>] (cfg80211_netdev_notifier_call [cfg80211]) from [<8004c910>] (notifier_call_chain+0x44/0x84)
2023-05-05T15:50:24.438276-04:00 VU222340030SA kernel: [<8004c910>] (notifier_call_chain) from [<8004c9c0>] (raw_notifier_call_chain+0x18/0x20)
2023-05-05T15:50:24.438285-04:00 VU222340030SA kernel: [<8004c9c0>] (raw_notifier_call_chain) from [<805bacf4>] (__dev_close_many+0x40/0xf4)
2023-05-05T15:50:24.438295-04:00 VU222340030SA kernel: [<805bacf4>] (__dev_close_many) from [<805bae14>] (dev_close_many+0x6c/0xf0)
2023-05-05T15:50:24.438304-04:00 VU222340030SA kernel: [<805bae14>] (dev_close_many) from [<805bcc30>] (dev_close+0x34/0x48)
2023-05-05T15:50:24.438314-04:00 VU222340030SA kernel: [<805bcc30>] (dev_close) from [<7f259f88>] (cfg80211_shutdown_all_interfaces+0x3c/0xe4 [cfg80211])
2023-05-05T15:50:24.438323-04:00 VU222340030SA kernel: [<7f259f88>] (cfg80211_shutdown_all_interfaces [cfg80211]) from [<7f2f18e8>] (ieee80211_reconfig+0xa78/0xdfc [mac80211])
2023-05-05T15:50:24.438345-04:00 VU222340030SA kernel: [<7f2f18e8>] (ieee80211_reconfig [mac80211]) from [<7f2bd254>] (ieee80211_restart_work+0xac/0xe4 [mac80211])
2023-05-05T15:50:24.438355-04:00 VU222340030SA kernel: [<7f2bd254>] (ieee80211_restart_work [mac80211]) from [<80045484>] (process_one_work+0x14c/0x454)
2023-05-05T15:50:24.438365-04:00 VU222340030SA kernel: [<80045484>] (process_one_work) from [<80045b70>] (worker_thread+0x30/0x578)
2023-05-05T15:50:24.438375-04:00 VU222340030SA kernel: [<80045b70>] (worker_thread) from [<8004bdd4>] (kthread+0x14c/0x18c)
2023-05-05T15:50:24.438384-04:00 VU222340030SA kernel: [<8004bdd4>] (kthread) from [<800090e8>] (ret_from_fork+0x14/0x2c)
2023-05-05T15:50:24.438393-04:00 VU222340030SA kernel: Exception stack(0xd8419fb0 to 0xd8419ff8)
2023-05-05T15:50:24.438401-04:00 VU222340030SA kernel: 9fa0: 00000000 00000000 00000000 00000000
2023-05-05T15:50:24.438414-04:00 VU222340030SA kernel: 9fc0: 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
2023-05-05T15:50:24.438425-04:00 VU222340030SA kernel: 9fe0: 00000000 00000000 00000000 00000000 00000013 00000000
2023-05-05T15:50:24.444324-04:00 VU222340030SA kernel: ---[ end trace 01f146a45059fd56 ]---
2023-05-05T15:50:24.447836-04:00 VU222340030SA kernel: ------------[ cut here ]------------
2023-05-05T15:50:24.447919-04:00 VU222340030SA kernel: WARNING: CPU: 1 PID: 1626 at /jenkins/ws/OD_rel-mac-vu-360-v1.02-wireless/ELO_OS/build-tmp/tmp/work-shared/dcar-elo/kernel-source/net/mac80211/driver-ops.h:19 __ieee80211_flush_queues+0xf8/0xfc [mac80211]
2023-05-05T15:50:24.447944-04:00 VU222340030SA kernel: wlan0: Failed check-sdata-in-driver check, flags: 0x0
2023-05-05T15:50:24.451638-04:00 VU222340030SA kernel: Modules linked in: wl18xx wlcore mac80211 cfg80211 wlcore_sdio usbhid phy_generic ci_hdrc_imx ci_hdrc usb_otg_fsm ulpi roles udc_core ehci_hcd usbcore usb_common usbmisc_imx mxc_dcic phy_mxs_usb galcore(O)
2023-05-05T15:50:24.451709-04:00 VU222340030SA kernel: CPU: 1 PID: 1626 Comm: kworker/1:1 Tainted: G W O 5.4.102-ts+imx_2.3.0+gehc-dcar-elo+g16c45ab42a03 #1
2023-05-05T15:50:24.451724-04:00 VU222340030SA kernel: Hardware name: Freescale i.MX6 Quad/DualLite (Device Tree)
2023-05-05T15:50:24.451759-04:00 VU222340030SA kernel: Workqueue: events_freezable ieee80211_restart_work [mac80211]
2023-05-05T15:50:24.451771-04:00 VU222340030SA kernel: [<80016468>] (unwind_backtrace) from [<80012c98>] (show_stack+0x10/0x14)
2023-05-05T15:50:24.451782-04:00 VU222340030SA kernel: [<80012c98>] (show_stack) from [<80711918>] (dump_stack+0x84/0x98)
2023-05-05T15:50:24.451793-04:00 VU222340030SA kernel: [<80711918>] (dump_stack) from [<8002e6fc>] (__warn+0xd8/0xf0)
2023-05-05T15:50:24.451805-04:00 VU222340030SA kernel: [<8002e6fc>] (__warn) from [<8002e778>] (warn_slowpath_fmt+0x64/0xa0)
2023-05-05T15:50:24.451815-04:00 VU222340030SA kernel: [<8002e778>] (warn_slowpath_fmt) from [<7f2f0004>] (__ieee80211_flush_queues+0xf8/0xfc [mac80211])
2023-05-05T15:50:24.451828-04:00 VU222340030SA kernel: [<7f2f0004>] (__ieee80211_flush_queues [mac80211]) from [<7f2fa94c>] (ieee80211_set_disassoc+0x25c/0x3e0 [mac80211])
2023-05-05T15:50:24.451840-04:00 VU222340030SA kernel: [<7f2fa94c>] (ieee80211_set_disassoc [mac80211]) from [<7f2fefcc>] (ieee80211_mgd_deauth+0x114/0x250 [mac80211])
2023-05-05T15:50:24.451850-04:00 VU222340030SA kernel: [<7f2fefcc>] (ieee80211_mgd_deauth [mac80211]) from [<7f282f08>] (cfg80211_mlme_deauth+0x78/0xdc [cfg80211])
2023-05-05T15:50:24.451861-04:00 VU222340030SA kernel: [<7f282f08>] (cfg80211_mlme_deauth [cfg80211]) from [<7f28308c>] (cfg80211_mlme_down+0x5c/0x64 [cfg80211])
2023-05-05T15:50:24.451873-04:00 VU222340030SA kernel: [<7f28308c>] (cfg80211_mlme_down [cfg80211]) from [<7f286d74>] (cfg80211_disconnect+0xec/0xf8 [cfg80211])
2023-05-05T15:50:24.451883-04:00 VU222340030SA kernel: [<7f286d74>] (cfg80211_disconnect [cfg80211]) from [<7f25a5ac>] (cfg80211_leave+0x24/0x30 [cfg80211])
2023-05-05T15:50:24.451894-04:00 VU222340030SA kernel: [<7f25a5ac>] (cfg80211_leave [cfg80211]) from [<7f25aa04>] (cfg80211_netdev_notifier_call+0x300/0x434 [cfg80211])
2023-05-05T15:50:24.451905-04:00 VU222340030SA kernel: [<7f25aa04>] (cfg80211_netdev_notifier_call [cfg80211]) from [<8004c910>] (notifier_call_chain+0x44/0x84)
2023-05-05T15:50:24.451917-04:00 VU222340030SA kernel: [<8004c910>] (notifier_call_chain) from [<8004c9c0>] (raw_notifier_call_chain+0x18/0x20)
2023-05-05T15:50:24.451927-04:00 VU222340030SA kernel: [<8004c9c0>] (raw_notifier_call_chain) from [<805bacf4>] (__dev_close_many+0x40/0xf4)
2023-05-05T15:50:24.451936-04:00 VU222340030SA kernel: [<805bacf4>] (__dev_close_many) from [<805bae14>] (dev_close_many+0x6c/0xf0)
2023-05-05T15:50:24.451946-04:00 VU222340030SA kernel: [<805bae14>] (dev_close_many) from [<805bcc30>] (dev_close+0x34/0x48)
2023-05-05T15:50:24.451956-04:00 VU222340030SA kernel: [<805bcc30>] (dev_close) from [<7f259f88>] (cfg80211_shutdown_all_interfaces+0x3c/0xe4 [cfg80211])
2023-05-05T15:50:24.451966-04:00 VU222340030SA kernel: [<7f259f88>] (cfg80211_shutdown_all_interfaces [cfg80211]) from [<7f2f18e8>] (ieee80211_reconfig+0xa78/0xdfc [mac80211])
2023-05-05T15:50:24.451976-04:00 VU222340030SA kernel: [<7f2f18e8>] (ieee80211_reconfig [mac80211]) from [<7f2bd254>] (ieee80211_restart_work+0xac/0xe4 [mac80211])
2023-05-05T15:50:24.451987-04:00 VU222340030SA kernel: [<7f2bd254>] (ieee80211_restart_work [mac80211]) from [<80045484>] (process_one_work+0x14c/0x454)
2023-05-05T15:50:24.451997-04:00 VU222340030SA kernel: [<80045484>] (process_one_work) from [<80045b70>] (worker_thread+0x30/0x578)
2023-05-05T15:50:24.452007-04:00 VU222340030SA kernel: [<80045b70>] (worker_thread) from [<8004bdd4>] (kthread+0x14c/0x18c)
2023-05-05T15:50:24.452016-04:00 VU222340030SA kernel: [<8004bdd4>] (kthread) from [<800090e8>] (ret_from_fork+0x14/0x2c)
2023-05-05T15:50:24.452026-04:00 VU222340030SA kernel: Exception stack(0xd8419fb0 to 0xd8419ff8)
2023-05-05T15:50:24.452035-04:00 VU222340030SA kernel: 9fa0: 00000000 00000000 00000000 00000000
2023-05-05T15:50:24.452044-04:00 VU222340030SA kernel: 9fc0: 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
2023-05-05T15:50:24.452053-04:00 VU222340030SA kernel: 9fe0: 00000000 00000000 00000000 00000000 00000013 00000000
2023-05-05T15:50:24.456166-04:00 VU222340030SA kernel: ---[ end trace 01f146a45059fd57 ]---

  • Hi,

    The wl18xx driver in kernel 5.4 does not support WPA3 out of the box. Can you apply the patches from here and see if this fixes your issue? https://git.ti.com/cgit/wilink8-wlan/build-utilites/tree/patches/kernel_patches/4.19.38?h=r8.8 

    The steps to getting this working on kernel 4.19 are documented here but they are applicable to kernel 5.4: https://www.ti.com/lit/ug/swru561a/swru561a.pdf 

    Not all of the patches will apply cleanly. I found this repository that helps others apply patches for kernel 5.4, this is not affiliated with TI: https://github.com/astrand/wilink8-wlan-build-utilites/tree/r8.8/patches/kernel_patches/5.4 

  • Could you also update your firmware? You can clone it from this repository. Be sure to use 'git checkout' on this specific commit!!
    https://git.ti.com/cgit/wilink8-wlan/wl18xx_fw/tree/?id=d2588c16809ecca8e0dc7ea011fc6180c7b08a92 

  • Hi

    Thanx for the update.

    I am able to compile with the added patches. and taken the firmware suggested.

    am facing new issue. below failure logs comes when the system boots up.

    mmc2: new high speed SDIO card at address 0001
    cfg80211: Loading compiled-in X.509 certificates for regulatory database
    cfg80211: Loaded X.509 cert 'sforshee: 00b28ddf47aef9cea7'
    platform regulatory.0: Direct firmware load for regulatory.db failed with error -2
    cfg80211: failed to load regulatory.db
    input: eGalaxTouch Virtual Device for Single as /devices/virtual/input/input7
    input: eGalaxTouch Virtual Device for Eraser as /devices/virtual/input/input8
    input: eGalaxTouch Virtual Device for Touch as /devices/virtual/input/input9
    input: eGalaxTouch Virtual Device for Pen as /devices/virtual/input/input10
    wl18xx_driver wl18xx.1.auto: Direct firmware load for ti-connectivity/wl1271-nvs.bin failed with error -2
    wl18xx_driver wl18xx.1.auto: Direct firmware load for ti-connectivity/wl18xx-conf.bin failed with error -2
    wlcore: ERROR could not get configuration binary ti-connectivity/wl18xx-conf.bin: -2
    wlcore: WARNING falling back to default config
    LOG START EloApp
    Loaded Qt version is 5.11.3
    Squish/Qt was built with Qt version 5.11.3
    Hooking into sub-processes is disabled, cleaning environment
    Redirecting AUT output to files
    mxcfb_need_to_set_par mxc_fbi->cur_var.xres = 0 fbi->var.xres = 1920
    mxcfb_need_to_set_par mxc_fbi->cur_var.yres = 0 fbi->var.yres = 1080.

    but wifi works. after exact 24 hours. get below log .

    kernel: wl1271_sdio mmc2:0001:2: wl12xx_sdio_power_on: failed to get_sync(-110)
    2023-05-31T15:58:18.146241+00:00 ABC12345678EE kernel: wl1271_sdio mmc2:0001:2: wl12xx_sdio_power_on: failed to get_sync(-22)
    2023-05-31T15:58:18.178392+00:00 ABC12345678EE kernel: wl1271_sdio mmc2:0001:2: wl12xx_sdio_power_on: failed to get_sync(-22)
    2023-05-31T15:58:18.178423+00:00 ABC12345678EE kernel: wlcore: ERROR firmware boot failed despite 3 retries

    Thanks in advance

  • Hello,

    It seems your filesystem does not have wl18xx-conf.bin. You can ignore the wl1271-nvs. 

    Can you download this file: https://git.ti.com/cgit/wilink8-wlan/18xx-ti-utils/tree/wlconf/wl18xx-conf-default.bin 

    Then place it in /lib/firmware/ti-connectivity/wl18xx-conf.bin. Be sure to rename it as wl18xx-conf.bin. That error message should disappear. 

  • Thanks for the reply.

    I'll check that.

    any idea why my system fails every 24 hours.

    after exact 24 hours. get below log .

    kernel: wl1271_sdio mmc2:0001:2: wl12xx_sdio_power_on: failed to get_sync(-110)
    2023-05-31T15:58:18.146241+00:00 ABC12345678EE kernel: wl1271_sdio mmc2:0001:2: wl12xx_sdio_power_on: failed to get_sync(-22)
    2023-05-31T15:58:18.178392+00:00 ABC12345678EE kernel: wl1271_sdio mmc2:0001:2: wl12xx_sdio_power_on: failed to get_sync(-22)
    2023-05-31T15:58:18.178423+00:00 ABC12345678EE kernel: wlcore: ERROR firmware boot failed despite 3 retries

  • Hi,

    When retry fails it typically points to being unable to reset the device. Are you successful in executing the following command:

    echo 1 > /sys/kernel/debug/ieee80211/phy0/wlcore/start_recovery 

    If that is unsuccessful, please probe the WL_EN pin on your device with a logic analyzer or oscilloscope and execute the above command. If the WL_EN pin does NOT toggle, then please check your device tree (DTS).

    In your DTS is the pin correct? Do you have 'regualtor-always-on'? This tag should be removed. 

  • hi sabeeh,

    i get below error.

    2023-03-29T13:41:05.264509-04:00 VU222390221SA kernel: Hardware name: Freescale i.MX6 Quad/DualLite (Device Tree)
    2023-03-29T13:41:05.264520-04:00 VU222390221SA kernel: [<80016468>] (unwind_backtrace) from [<80012c98>] (show_stack+0x10/0x14)
    2023-03-29T13:41:05.264532-04:00 VU222390221SA kernel: [<80012c98>] (show_stack) from [<80711918>] (dump_stack+0x84/0x98)
    2023-03-29T13:41:05.264542-04:00 VU222390221SA kernel: [<80711918>] (dump_stack) from [<8002e6fc>] (__warn+0xd8/0xf0)
    2023-03-29T13:41:05.264550-04:00 VU222390221SA kernel: [<8002e6fc>] (__warn) from [<8002e7a4>] (warn_slowpath_fmt+0x90/0xa0)
    2023-03-29T13:41:05.264561-04:00 VU222390221SA kernel: [<8002e7a4>] (warn_slowpath_fmt) from [<7f2291bc>] (wl12xx_sdio_raw_write+0xb8/0x13c [wlcore_sdio])
    2023-03-29T13:41:05.264570-04:00 VU222390221SA kernel: [<7f2291bc>] (wl12xx_sdio_raw_write [wlcore_sdio]) from [<7f31eb48>] (wlcore_runtime_resume+0xc8/0x1f4 [wlcore])
    2023-03-29T13:41:05.264580-04:00 VU222390221SA kernel: [<7f31eb48>] (wlcore_runtime_resume [wlcore]) from [<8041a3c8>] (__rpm_callback+0xb4/0x11c)
    2023-03-29T13:41:05.264590-04:00 VU222390221SA kernel: [<8041a3c8>] (__rpm_callback) from [<8041a484>] (rpm_callback+0x54/0x80)
    2023-03-29T13:41:05.264600-04:00 VU222390221SA kernel: [<8041a484>] (rpm_callback) from [<8041a070>] (rpm_resume+0x344/0x4c0)
    2023-03-29T13:41:05.264609-04:00 VU222390221SA kernel: [<8041a070>] (rpm_resume) from [<8041a238>] (__pm_runtime_resume+0x4c/0x64)
    2023-03-29T13:41:05.264618-04:00 VU222390221SA kernel: [<8041a238>] (__pm_runtime_resume) from [<7f322a60>] (wlcore_irq_locked+0x50/0x710 [wlcore])
    2023-03-29T13:41:05.264629-04:00 VU222390221SA kernel: [<7f322a60>] (wlcore_irq_locked [wlcore]) from [<7f3231f0>] (wlcore_irq+0xd0/0x170 [wlcore])
    2023-03-29T13:41:05.264640-04:00 VU222390221SA kernel: [<7f3231f0>] (wlcore_irq [wlcore]) from [<80074cf0>] (irq_thread_fn+0x1c/0x7c)
    2023-03-29T13:41:05.264651-04:00 VU222390221SA kernel: [<80074cf0>] (irq_thread_fn) from [<80074fc0>] (irq_thread+0x110/0x1d8)
    2023-03-29T13:41:05.264660-04:00 VU222390221SA kernel: [<80074fc0>] (irq_thread) from [<8004bdd4>] (kthread+0x14c/0x18c)
    2023-03-29T13:41:05.264670-04:00 VU222390221SA kernel: [<8004bdd4>] (kthread) from [<800090e8>] (ret_from_fork+0x14/0x2c)
    2023-03-29T13:41:05.264679-04:00 VU222390221SA kernel: Exception stack(0xd8f7dfb0 to 0xd8f7dff8)
    2023-03-29T13:41:05.264689-04:00 VU222390221SA kernel: dfa0: 00000000 00000000 00000000 00000000
    2023-03-29T13:41:05.264698-04:00 VU222390221SA kernel: dfc0: 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
    2023-03-29T13:41:05.264707-04:00 VU222390221SA kernel: dfe0: 00000000 00000000 00000000 00000000 00000013 00000000
    2023-03-29T13:41:05.264716-04:00 VU222390221SA kernel: ---[ end trace 035a7e2c91899c5b ]---

    2023-03-29T13:41:05.264725-04:00 VU222390221SA kernel: wl1271_sdio mmc2:0001:2: sdio write failed (-110)

    2023-03-29T13:41:05.264735-04:00 VU222390221SA kernel: wlcore: WARNING Enable for recovery failed
    2023-03-29T13:41:05.264744-04:00 VU222390221SA kernel: wlcore: down
    2023-03-29T13:41:05.264772-04:00 VU222390221SA kernel: ieee80211 phy0: Hardware restart was requested
    2023-03-29T13:41:05.820396-04:00 VU222390221SA kernel: wlcore: PHY firmware version: Rev 8.2.0.0.246
    2023-03-29T13:41:05.829388-04:00 VU222390221SA kernel: wlcore: ERROR reg domain conf error
    2023-03-29T13:41:06.387395-04:00 VU222390221SA kernel: wlcore: PHY firmware version: Rev 8.2.0.0.246
    2023-03-29T13:41:06.397391-04:00 VU222390221SA kernel: wlcore: ERROR reg domain conf error
    2023-03-29T13:41:06.957430-04:00 VU222390221SA kernel: wlcore: PHY firmware version: Rev 8.2.0.0.246
    2023-03-29T13:41:06.965544-04:00 VU222390221SA kernel: wlcore: ERROR reg domain conf error
    2023-03-29T13:41:06.965597-04:00 VU222390221SA kernel: wlcore: ERROR firmware boot failed despite 3 retries

    after this nothing works.

    echo 1 > /sys/kernel/debug/ieee80211/phy0/wlcore/start_recovery  this also didn't produce any output

    can i reload the drivers and recover..? but in my case if i try to reload i get below error.

    rmmod wlcore_sdio

    modprobe wlcore_sdio
    wl1271_sdio: probe of mmc2:0001:1 failed with error -16
    wl1271_sdio: probe of mmc2:0001:2 failed with error -16.

    Regards,

    Lavakumar 

  • Hi Lavakumar,

    When trying to unload and reload the modules, can you check the enable pin? Is it stuck high? It should go low and then come back up.