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.

CC3351: wlcore crash in CC33XX-LINUX-MPU 1.0.0.6 driver

Part Number: CC3351

Tool/software:

Hello,

I'm currently integrating the latest CC33XX-LINUX-MPU into our Yocto scarthgap build and am having a few problems.

The 1.0.0.4 release loads fine, and I can start the AP and STA modes fine. (Bluetooth doesn't work via either SDIO or UART, but that's for another thread.)

The 1.0.0.6 release crashes at boot, with the same device tree and Kconfig settings.

Is the cc33xx driver qualified for use with the Linux 6.6 LTS kernel and tested regularly with it? Release notes indicate that the driver is qualified for Kernel 6.1 only?

[   12.826499] cc33xx_sdio mmc0:0001:2: Using SDIO in-band IRQ

[   12.856198] Bluetooth: [bt sdio] BLE SDIO init module
[   12.933236] Bluetooth: [bt sdio] PROBE vendor=0x97, device=0x4077, class=255, fn=1 0xffff6ffe4673c000
[   12.946232] Bluetooth: [bt sdio hci] btti_hci_add_sdio_dev
[   12.951943] Bluetooth: [bt sdio hci] Starting work thread...
[   12.963383] Bluetooth: [bt sdio hci] work thread is started
[   12.969151] Bluetooth: [bt sdio hci] work thread is sleeping...
[   12.969200] Bluetooth: [bt sdio] TI cc33xx BLE-over-SDIO driver is up and running!
[   13.449492] wlcore: cc33xx_probe :: Start
[   13.456126] ------------[ cut here ]------------
[   13.460764] WARNING: CPU: 1 PID: 298 at /net/mac80211/main.c:630 ieee80211_alloc_hw_nm+0x98/0x5e8
[   13.469656] Modules linked in: fsl_jr_uio cc33xx(+) caam_jr caamkeyblob_desc caamhash_desc caamalg_desc crypto_engine authenc libdes crct10dif_ce polyval_ce polyval_generic btti_sdio btti cc33xx_sdio at24 caam secvio error imx_rpmsg_tty rpmsg_char g_ether fuse
[   13.492740] CPU: 1 PID: 298 Comm: (udev-worker) Not tainted 6.6.23-lts-next-g24413fb66c42 #1
[   13.505449] pstate: 60000005 (nZCv daif -PAN -UAO -TCO -DIT -SSBS BTYPE=--)
[   13.505454] pc : ieee80211_alloc_hw_nm+0x98/0x5e8
[   13.528318] lr : wlcore_alloc_hw+0x30/0x478 [cc33xx]
[   13.533327] sp : ffff8000839d37e0
[   13.533330] x29: ffff8000839d37e0 x28: ffffa15b8c88c01c x27: 0000000000000000
[   13.558632] x26: ffff8000839d3bb0 x25: ffff6ffe4f60c128 x24: 000000000000002d
[   13.565770] x23: ffffa15bb4c60f38 x22: 0000000000008000 x21: ffffa15b8c87f000
[   13.565777] x20: ffff6ffe4e423000 x19: 0000000000000000 x18: 0000000000000000
[   13.590383] x17: 0000000000000000 x16: ffffa15bb3dd3324 x15: 0000ffffba2dee38
[   13.622095] x14: 0000753304f844e8 x13: 000000000000025f x12: 0000000000000002
[   13.629235] x11: 0000000000000000 x10: 0000000000000a60 x9 : ffff8000839d35f0
[   13.636372] x8 : ffff6ffe46b1d480 x7 : ffff6ffe47275a00 x6 : 0000000000000000
[   13.636379] x5 : 0000000000000000 x4 : 0000000000000000 x3 : ffffa15b8c8655f8
[   13.636386] x2 : 0000000000000000
[   13.675223]  x1 : 0000000000000000 x0 : 0000000000001e58
[   13.675230] Call trace:
[   13.701383]  ieee80211_alloc_hw_nm+0x98/0x5e8
[   13.701398]  wlcore_alloc_hw+0x30/0x478 [cc33xx]
[   13.727475]  cc33xx_probe+0xa4/0xe4 [cc33xx]
[   13.746462]  platform_probe+0x68/0xc8
[   13.758036]  really_probe+0x148/0x2b0
[   13.761700]  __driver_probe_device+0x78/0x12c
[   13.766058]  driver_probe_device+0xd8/0x15c
[   13.770243]  __driver_attach+0x90/0x19c
[   13.770249]  bus_for_each_dev+0x7c/0xdc
[   13.786689]  driver_attach+0x24/0x30
[   13.790264]  bus_add_driver+0xe8/0x1f8
[   13.794013]  driver_register+0x5c/0x124
[   13.794019]  __platform_driver_register+0x28/0x34
[   13.810807]  cc33xx_driver_init+0x24/0x1000 [cc33xx]
[   13.815812]  do_one_initcall+0x80/0x1c8
[   13.819650]  do_init_module+0x58/0x1e0
[   13.846328]  load_module+0x1d10/0x1d74
[   13.850079]  init_module_from_file+0x88/0xcc
[   13.854351]  __arm64_sys_finit_module+0x1dc/0x2e4
[   13.859056]  invoke_syscall+0x48/0x110
[   13.881133]  el0_svc_common.constprop.0+0xc0/0xe0
[   13.885842]  do_el0_svc+0x1c/0x28
[   13.889159]  el0_svc+0x40/0xe4
[   13.892217]  el0t_64_sync_handler+0x120/0x12c
[   13.919505]  el0t_64_sync+0x190/0x194
[   13.923169] ---[ end trace 0000000000000000 ]---
[   13.927913] wlcore: ERROR could not alloc ieee80211_hw
[   13.933077] wlcore: ERROR can't allocate hw
[   13.955584] cc33xx_driver: probe of cc33xx.1.auto failed with error -12
  • Hi Max,

    I haven't applied 1.0.0.6 to kernel 6.6 so I can't comment on if this will work out of the box; usually some patching is required and that is what i expect here as well. 

    So yes, the 1.0.0.6 release is written for kernel 6.1. If you're using TI AM6x MPU, then you can use the Processor SDK 10 which includes support for CC33xx in the 6.6 kernel. This driver is different from that posted on 1.0.0.6 release. 

    https://www.ti.com/tool/download/PROCESSOR-SDK-LINUX-AM62X/10.00.07.04 

  • Hi Sabeeh,

    Interesting. Ok. We're using the i.MX8M Plus. I'll take a look at the Processor SDK you listed and see how it compares to our current source tree. Maybe I can pull patches in from there.

    The 1.0.0.6 actually applies cleanly to our kernel 6.6 codebase, the only file that the patch command complains about is drivers/net/wireless/ti/Makefile, where the upstream used tabs instead of spaces, I believe.

    Is it the case that TI is trying to upstream support for the cc33xx into the kernel mainline? I read this posting on LWN, lwn.net/.../, but couldn't find the commits in the upstream Linux Git repo.

    Edit: ahh, I'll look in https://git.ti.com/cgit/ti-linux-kernel/ti-linux-kernel/ for those patches.

    Max

  • Hi Max,

    The 1.0.0.6 actually applies cleanly to our kernel 6.6 codebase, the only file that the patch command complains about is drivers/net/wireless/ti/Makefile, where the upstream used tabs instead of spaces, I believe.

    While it may apply cleanly, I believe some code change will be necessary. I am out-of-office next week, but perhaps I can provide you patch to move our 6.1 driver to 6.6. Please remind me here first week of October. I mention Processor SDK because technically this has already been done in the ti-linux-kernel tree. Perhaps you can pull the patches from here and test:

    https://git.ti.com/cgit/ti-linux-kernel/ti-linux-kernel/tree/drivers/net/wireless/ti/cc33xx?h=ti-linux-6.6.y
    https://git.ti.com/cgit/ti-linux-kernel/ti-linux-kernel/log/drivers/net/wireless/ti/cc33xx?h=ti-linux-6.6.y
     

    Is it the case that TI is trying to upstream support for the cc33xx into the kernel mainline? I read this posting on LWN, lwn.net/.../, but couldn't find the commits in the upstream Linux Git repo.

    Yes this is a goal for us. You won't find the commit in upstream git repo yet as the patch series has not yet been accepted. You can track the latest feedback from maintainers and community here:

    https://lore.kernel.org/linux-wireless/20240806170018.638585-1-michael.nemanov@ti.com/ 

  • Hi Sabeeh,

    Ok I cherry-picked the patches listed in the git logs above and the WiFi via SDIO seemed to work fine.

    $ git log ti/ti-linux-6.6.y --pretty=oneline .
    0e221a1362ea55e70377062c74b82d3d6031cec8 wifi: cc33xx: Backport from kernel 6.9 to 6.6
    800b22b62bb7f6e02c8bbf328127e89eebd42445 wifi: cc33xx: Add Kconfig, Makefile
    ab69ae0085621651d85d11a643bee3b9b5cbc8cc wifi: cc33xx: Add testmode.c, testmode.h
    2591e53b6d5cff83ab5d0239ca3a90d3e38aaccd wifi: cc33xx: Add ps.c, ps.h
    e5fc241284a043fe7c481cb573b3cef0123f6c74 wifi: cc33xx: Add conf.h
    1f201496051d7fc1e9f4698915a8eb54d9e5f49a wifi: cc33xx: Add scan.c, scan.h
    230e6e05af07a4d39103f2cb1f95c8fc23b7ea6b wifi: cc33xx: Add init.c, init.h
    dc8db367d448eb2b4ad2e0d4807fc4b2ab7ebcb3 wifi: cc33xx: Add tx.c, tx.h
    ea1f359cbadcd442ac8b67e375fe1a0ec73637b9 wifi: cc33xx: Add rx.c, rx.h
    def94761562ea1e84624fe976c27eb0dd2b5fece wifi: cc33xx: Add main.c
    47938d087c45ff68c7ee7d8ca5745f4dc3b5efe6 wifi: cc33xx: Add boot.c, boot.h
    9247638c7be26b937e5bf3b795fd9bec6dd9ecd2 wifi: cc33xx: Add event.c, event.h
    86b0c14f0355f9b3cc6460678624c01b3dff82ed wifi: cc33xx: Add acx.c, acx.h
    0b1b1e62b734b1b96930a130c526fb01a20f9e19 wifi: cc33xx: Add cmd.c, cmd.h
    1b77a3c947f6814c1e2c36a67785618da4f03d7b wifi: cc33xx: Add sdio.c, io.c, io.h
    4411b6534116d498c3361d519f02008a8f43990b wifi: cc33xx: Add debug.h
    d812e0c6c3e6a8afb6536a819c1085c9c2e4a075 wifi: cc33xx: Add cc33xx.h, cc33xx_i.h
    Is it correct that only the WiFi driver was ported to 6.6 so far, there don't seem to be commits for Bluetooth?
    I checked:
    But I only see upstream commits, nothing related to cc33xx-bt.

    We're currently having quite some trouble getting the Bluetooth HCI to work with our custom board. It never works via UART, I've tried fiddling with the hardware serial port settings quite a bit to match the circuitry in the AM62x eval boards. From what I can see, our boards implement the correct wiring, but no luck.

    On the other hand, I'm able to get Bluetooth via SDIO to somewhat start working when using the M2-CC3351 module with our board and the 1.0.0.4 drivers, but there are crashes with specific commands so the driver itself seems a bit unstable.

    Max

    The logs look like this:

    root@imx8mm-ebp001:/root$ cd /usr/share/cc33xx
    root@imx8mm-ebp001:/usr/share/cc33xx$ ls -l
    -rwxr-xr-x 1 root root 109 Mar 9 2018 antenna_selection.sh
    -rwxr-xr-x 1 root root 1103 Mar 9 2018 ap_start.sh
    -rwxr-xr-x 1 root root 324 Mar 9 2018 ap_stop.sh
    -rwxr-xr-x 1 root root 106 Mar 9 2018 ble_enable.sh
    -rwxr-xr-x 1 root root 381 Mar 9 2018 cc33xx_twt.sh
    -rwxr-xr-x 1 root root 128584 Mar 9 2018 hostapd.conf
    -rwxr-xr-x 1 root root 193 Mar 9 2018 load_cc33xx.sh
    -rwxr-xr-x 1 root root 370 Mar 9 2018 sdio_rebind.sh
    -rwxr-xr-x 1 root root 107 Mar 9 2018 set_power_mode.sh
    -rwxr-xr-x 1 root root 405 Mar 9 2018 sta_add.sh
    -rwxr-xr-x 1 root root 199 Mar 9 2018 sta_connect-ex-dhcp.sh
    -rwxr-xr-x 1 root root 2433 Mar 9 2018 sta_connect-ex.sh
    -rwxr-xr-x 1 root root 7393 Mar 9 2018 sta_connect.sh
    -rwxr-xr-x 1 root root 119 Mar 9 2018 sta_remove.sh
    -rwxr-xr-x 1 root root 498 Mar 9 2018 sta_start.sh
    -rwxr-xr-x 1 root root 192 Mar 9 2018 sta_stop.sh
    -rwxr-xr-x 1 root root 4258 Mar 9 2018 udhcpd.conf
    -rwxr-xr-x 1 root root 736 Mar 9 2018 unload_cc33xx.sh
    drwxr-xr-x 2 root root 4096 Mar 9 2018 wifible_provisioning_demo
    -rwxr-xr-x 1 root root 55041 Mar 9 2018 wpa_supplicant.conf
    -rwxr-xr-x 1 root root 57133 Mar 9 2018 wpa_supplicant2.conf

    root@imx8mm-ebp001:/usr/share/cc33xx$ ./ap_start.sh
    adding wlan1 interface
    rfkill: Cannot open RFKILL control device
    wlan1: interface state UNINITIALIZED->COUNTRY_UPDATE
    wlan1: interface state COUNTRY_UPDATE->ENABLED
    wlan1: AP-ENABLED

    root@imx8mm-ebp001:/usr/share/cc33xx$ ./ble_enable.sh
    root@imx8mm-ebp001:/usr/share/cc33xx$ [ 298.805707] Bluetooth: [bt sdio] RX btti_sdio_irq_handler received
    [ 298.812272] Bluetooth: [bt sdio] RX packet_len:10 packet_type:255 packet header hex: 0a 00 00 ff
    [ 298.816046] systemd-journald[148]: Sent WATCHDOG=1 notification.
    [ 298.821140] Bluetooth: [bt sdio] RX packet , packet data(without header) hex: ff 02 04 2a 00 00 ef ef
    [ 298.836331] Bluetooth: [bt sdio] vendor packet received
    [ 298.841570] Bluetooth: [bt sdio] vendor packet- ble is up
    [ 298.846979] Bluetooth: [bt sdio hci] btti_hci_register_hdev
    [ 298.852807] Bluetooth: [bt sdio hci] btti_hci_if_setup
    [ 298.852807] Bluetooth: [bt sdio] registered to HCI
    [ 298.852979] Bluetooth: [bt sdio hci] TX from HCI received ,type=1, opcode: 0xc03 len=3 ble_enable=1
    [ 298.858880] Bluetooth: [bt sdio] Hdev was created
    [ 298.876738] Bluetooth: [bt sdio] TX to SDIO sdiodev done : 07 00 00 01 03 0c 00 04
    [ 298.884513] Bluetooth: [bt sdio hci] work thread is sleeping...
    [ 298.884546] Bluetooth: [bt sdio] RX btti_sdio_irq_handler received
    [ 298.896954] Bluetooth: [bt sdio] RX packet_len:10 packet_type:4 packet header hex: 0a 00 00 04
    [ 298.906263] Bluetooth: [bt sdio] RX packet , packet data(without header) hex: 0e 04 01 03 0c 00 ef ef
    [ 298.915682] Bluetooth: [bt sdio hci] work thread is sleeping...
    [ 298.915742] Bluetooth: [bt sdio hci] TX from HCI received ,type=1, opcode: 0x1003 len=3 ble_enable=1
    [ 298.931432] Bluetooth: [bt sdio] TX to SDIO sdiodev done : 07 00 00 01 03 10 00 00
    [ 298.939170] Bluetooth: [bt sdio hci] work thread is sleeping...
    [ 298.939215] Bluetooth: [bt sdio] RX btti_sdio_irq_handler received
    [ 298.951731] Bluetooth: [bt sdio] RX packet_len:18 packet_type:4 packet header hex: 12 00 00 04
    [ 298.957494] systemd-journald[148]: Successfully sent stream file descriptor to service manager.
    [ 298.960462] Bluetooth: [bt sdio] RX packet , packet data(without header) hex: 0e 0c 01 03 10 00 00 00 00 00 60 00 00 00 60 45
    [ 298.980475] Bluetooth: [bt sdio hci] work thread is sleeping...
    [ 298.980534] Bluetooth: [bt sdio hci] TX from HCI received ,type=1, opcode: 0x1001 len=3 ble_enable=1
    [ 298.995963] Bluetooth: [bt sdio] TX to SDIO sdiodev done : 07 00 00 01 01 10 00 fe
    [ 299.003689] Bluetooth: [bt sdio hci] work thread is sleeping...
    [ 299.003723] Bluetooth: [bt sdio] RX btti_sdio_irq_handler received
    [ 299.015966] Bluetooth: [bt sdio] RX packet_len:18 packet_type:4 packet header hex: 12 00 00 04
    [ 299.024671] Bluetooth: [bt sdio] RX packet , packet data(without header) hex: 0e 0c 01 01 10 00 0c 28 02 0c 0d 00 28 02 60 45
    [ 299.036066] Bluetooth: [bt sdio hci] work thread is sleeping...
    [ 299.036145] Bluetooth: [bt sdio hci] TX from HCI received ,type=1, opcode: 0x1009 len=3 ble_enable=1
    [ 299.051249] Bluetooth: [bt sdio] TX to SDIO sdiodev done : 07 00 00 01 09 10 00 00
    [ 299.058944] Bluetooth: [bt sdio hci] work thread is sleeping...
    [ 299.058981] Bluetooth: [bt sdio] RX btti_sdio_irq_handler received
    [ 299.071215] Bluetooth: [bt sdio] RX packet_len:16 packet_type:4 packet header hex: 10 00 00 04
    [ 299.079911] Bluetooth: [bt sdio] RX packet , packet data(without header) hex: 0e 0a 01 09 10 00 25 94 05 34 9a ec
    [ 299.090246] Bluetooth: [bt sdio hci] work thread is sleeping...
    [ 299.090435] Bluetooth: [bt sdio hci] TX from HCI received ,type=1, opcode: 0x1002 len=3 ble_enable=1
    [ 299.105447] Bluetooth: [bt sdio] TX to SDIO sdiodev done : 07 00 00 01 02 10 00 fe
    [ 299.113245] Bluetooth: [bt sdio hci] work thread is sleeping...
    [ 299.119274] Bluetooth: [bt sdio] RX btti_sdio_irq_handler received
    [ 299.125922] Bluetooth: [bt sdio] RX packet_len:74 packet_type:4 packet header hex: 4a 00 00 04
    [ 299.134665] Bluetooth: [bt sdio] RX packet , packet data(without header) hex: 0e 44 01 02 10 00 20 00 80 00 00 c0 00 00 00 00 e4 00 00 00 28 22 00 00 00 00 00 00 04 00 00 f7 ff ff 7f 00 00 00 30 f0 ff ff ff e3 80 1f 00 04 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
    [ 299.158610] kauditd_printk_skb: 5 callbacks suppressed
    [ 299.158619] audit: type=1334 audit(1727171917.668:20): prog-id=19 op=LOAD
    [ 299.160596] Bluetooth: [bt sdio hci] work thread is sleeping...
    [ 299.160648] Bluetooth: [bt sdio hci] TX from HCI received ,type=1, opcode: 0x2003 len=3 ble_enable=1
    [ 299.163823] audit: type=1334 audit(1727171917.676:21): prog-id=20 op=LOAD
    [ 299.170673] Bluetooth: [bt sdio] TX to SDIO sdiodev done : 07 00 00 01 03 20 00 09
    [ 299.176582] audit: type=1334 audit(1727171917.680:22): prog-id=21 op=LOAD
    [ 299.185799] Bluetooth: [bt sdio hci] work thread is sleeping...
    [ 299.185845] Bluetooth: [bt sdio] RX btti_sdio_irq_handler received
    [ 299.219622] Bluetooth: [bt sdio] RX packet_len:18 packet_type:4 packet header hex: 12 00 00 04
    [ 299.228410] Bluetooth: [bt sdio] RX packet , packet data(without header) hex: 0e 0c 01 03 20 00 ff 59 00 08 00 00 00 00 60 45
    [ 299.230119] systemd-journald[148]: Successfully sent stream file descriptor to service manager.
    [ 299.239841] Bluetooth: [bt sdio hci] work thread is sleeping...
    [ 299.239925] Bluetooth: [bt sdio hci] TX from HCI received ,type=1, opcode: 0x2002 len=3 ble_enable=1
    [ 299.263620] Bluetooth: [bt sdio] TX to SDIO sdiodev done : 07 00 00 01 02 20 00 11
    [ 299.271391] Bluetooth: [bt sdio hci] work thread is sleeping...
    [ 299.277363] Bluetooth: [bt sdio] RX btti_sdio_irq_handler received
    [ 299.283680] Bluetooth: [bt sdio] RX packet_len:13 packet_type:4 packet header hex: 0d 00 00 04
    [ 299.292409] Bluetooth: [bt sdio] RX packet , packet data(without header) hex: 0e 07 01 02 20 00 ff 00 0a ff 00 00
    [ 299.302830] Bluetooth: [bt sdio hci] work thread is sleeping...
    [ 299.304426] Bluetooth: [bt sdio hci] TX from HCI received ,type=1, opcode: 0x201c len=3 ble_enable=1
    [ 299.318111] Bluetooth: [bt sdio] TX to SDIO sdiodev done : 07 00 00 01 1c 20 00 09
    [ 299.325893] Bluetooth: [bt sdio hci] work thread is sleeping...
    [ 299.331864] Bluetooth: [bt sdio] RX btti_sdio_irq_handler received
    [ 299.338175] Bluetooth: [bt sdio] RX packet_len:18 packet_type:4 packet header hex: 12 00 00 04
    [ 299.346911] Bluetooth: [bt sdio] RX packet , packet data(without header) hex: 0e 0c 01 1c 20 00 ff ff ff ff ff 03 00 00 60 45
    [ 299.358309] Bluetooth: [bt sdio hci] work thread is sleeping...
    [ 299.358357] Bluetooth: [bt sdio hci] TX from HCI received ,type=1, opcode: 0xc01 len=11 ble_enable=1
    [ 299.373744] Bluetooth: [bt sdio] TX to SDIO sdiodev done : 0f 00 00 01 01 0c 08 90 e8 04 02 00 80 00 20 06
    [ 299.383539] Bluetooth: [bt sdio hci] work thread is sleeping...
    [ 299.383574] Bluetooth: [bt sdio] RX btti_sdio_irq_handler received
    [ 299.396074] Bluetooth: [bt sdio] RX packet_len:10 packet_type:4 packet header hex: 0a 00 00 04
    [ 299.404777] Bluetooth: [bt sdio] RX packet , packet data(without header) hex: 0e 04 01 01 0c 00 00 20
    [ 299.414124] Bluetooth: [bt sdio hci] work thread is sleeping...
    [ 299.414177] Bluetooth: [bt sdio hci] TX from HCI received ,type=1, opcode: 0x2001 len=11 ble_enable=1
    [ 299.429380] Bluetooth: [bt sdio] TX to SDIO sdiodev done : 0f 00 00 01 01 20 08 ff 1f 0a 00 00 00 00 00 03
    [ 299.439169] Bluetooth: [bt sdio hci] work thread is sleeping...
    [ 299.439212] Bluetooth: [bt sdio] RX btti_sdio_irq_handler received
    [ 299.451470] Bluetooth: [bt sdio] RX packet_len:10 packet_type:4 packet header hex: 0a 00 00 04
    [ 299.460188] Bluetooth: [bt sdio] RX packet , packet data(without header) hex: 0e 04 01 01 20 00 00 00
    [ 299.469501] Bluetooth: [bt sdio hci] work thread is sleeping...
    [ 299.469649] Bluetooth: [bt sdio hci] TX from HCI received ,type=1, opcode: 0x204b len=3 ble_enable=1
    [ 299.484707] Bluetooth: [bt sdio] TX to SDIO sdiodev done : 07 00 00 01 4b 20 00 90
    [ 299.492515] Bluetooth: [bt sdio hci] work thread is sleeping...
    [ 299.498478] Bluetooth: [bt sdio] RX btti_sdio_irq_handler received
    [ 299.505087] Bluetooth: [bt sdio] RX packet_len:12 packet_type:4 packet header hex: 0c 00 00 04
    [ 299.513805] Bluetooth: [bt sdio] RX packet , packet data(without header) hex: 0e 06 01 4b 20 00 00 14
    [ 299.523109] Bluetooth: [bt sdio hci] work thread is sleeping...
    [ 299.523187] Bluetooth: [bt sdio hci] TX from HCI received ,type=1, opcode: 0x200f len=3 ble_enable=1
    [ 299.538326] Bluetooth: [bt sdio] TX to SDIO sdiodev done : 07 00 00 01 0f 20 00 ff
    [ 299.546019] Bluetooth: [bt sdio hci] work thread is sleeping...
    [ 299.546059] Bluetooth: [bt sdio] RX btti_sdio_irq_handler received
    [ 299.558836] Bluetooth: [bt sdio] RX packet_len:11 packet_type:4 packet header hex: 0b 00 00 04
    [ 299.567520] Bluetooth: [bt sdio] RX packet , packet data(without header) hex: 0e 05 01 0f 20 00 10 14
    [ 299.576807] Bluetooth: [bt sdio hci] work thread is sleeping...
    [ 299.576866] Bluetooth: [bt sdio hci] TX from HCI received ,type=1, opcode: 0x2010 len=3 ble_enable=1
    [ 299.592282] Bluetooth: [bt sdio] TX to SDIO sdiodev done : 07 00 00 01 10 20 00 90
    [ 299.600003] Bluetooth: [bt sdio hci] work thread is sleeping...
    [ 299.600045] Bluetooth: [bt sdio] RX btti_sdio_irq_handler received
    [ 299.612560] Bluetooth: [bt sdio] RX packet_len:10 packet_type:4 packet header hex: 0a 00 00 04
    [ 299.621290] Bluetooth: [bt sdio] RX packet , packet data(without header) hex: 0e 04 01 10 20 00 10 14
    [ 299.630636] Bluetooth: [bt sdio hci] work thread is sleeping...
    [ 299.630693] Bluetooth: [bt sdio hci] TX from HCI received ,type=1, opcode: 0x202a len=3 ble_enable=1
    [ 299.645791] Bluetooth: [bt sdio] TX to SDIO sdiodev done : 07 00 00 01 2a 20 00 11
    [ 299.653585] Bluetooth: [bt sdio hci] work thread is sleeping...
    [ 299.659566] Bluetooth: [bt sdio] RX btti_sdio_irq_handler received
    [ 299.665837] Bluetooth: [bt sdio] RX packet_len:11 packet_type:4 packet header hex: 0b 00 00 04
    [ 299.674523] Bluetooth: [bt sdio] RX packet , packet data(without header) hex: 0e 05 01 2a 20 00 0a 14
    [ 299.683802] Bluetooth: [bt sdio hci] work thread is sleeping...
    [ 299.683848] Bluetooth: [bt sdio hci] TX from HCI received ,type=1, opcode: 0x2029 len=3 ble_enable=1
    [ 299.698929] Bluetooth: [bt sdio] TX to SDIO sdiodev done : 07 00 00 01 29 20 00 11
    [ 299.706627] Bluetooth: [bt sdio hci] work thread is sleeping...
    [ 299.712592] Bluetooth: [bt sdio] RX btti_sdio_irq_handler received
    [ 299.719155] Bluetooth: [bt sdio] RX packet_len:10 packet_type:4 packet header hex: 0a 00 00 04
    [ 299.727836] Bluetooth: [bt sdio] RX packet , packet data(without header) hex: 0e 04 01 29 20 00 0a 14
    [ 299.737101] Bluetooth: [bt sdio hci] work thread is sleeping...
    [ 299.737260] Bluetooth: [bt sdio hci] TX from HCI received ,type=1, opcode: 0x202e len=5 ble_enable=1
    [ 299.752849] Bluetooth: [bt sdio] TX to SDIO sdiodev done : 09 00 00 01 2e 20 02 84 03 65 73 2f
    [ 299.761571] Bluetooth: [bt sdio hci] work thread is sleeping...
    [ 299.761600] Bluetooth: [bt sdio] RX btti_sdio_irq_handler received
    [ 299.773774] Bluetooth: [bt sdio] RX packet_len:10 packet_type:4 packet header hex: 0a 00 00 04
    [ 299.782439] Bluetooth: [bt sdio] RX packet , packet data(without header) hex: 0e 04 01 2e 20 00 0a 14
    [ 299.791700] Bluetooth: [bt sdio hci] work thread is sleeping...
    [ 299.791769] Bluetooth: [bt sdio hci] TX from HCI received ,type=1, opcode: 0x202f len=3 ble_enable=1
    [ 299.807487] Bluetooth: [bt sdio] TX to SDIO sdiodev done : 07 00 00 01 2f 20 00 2a
    [ 299.815179] Bluetooth: [bt sdio hci] work thread is sleeping...
    [ 299.815204] Bluetooth: [bt sdio] RX btti_sdio_irq_handler received
    [ 299.827688] Bluetooth: [bt sdio] RX packet_len:18 packet_type:4 packet header hex: 12 00 00 04
    [ 299.836354] Bluetooth: [bt sdio] RX packet , packet data(without header) hex: 0e 0c 01 2f 20 00 fb 00 90 42 fb 00 90 42 60 45
    [ 299.847697] Bluetooth: [bt sdio hci] work thread is sleeping...
    [ 299.847895] Bluetooth: [bt sdio hci] TX from HCI received ,type=1, opcode: 0x2023 len=3 ble_enable=1
    [ 299.862853] Bluetooth: [bt sdio] TX to SDIO sdiodev done : 07 00 00 01 23 20 00 00
    [ 299.870537] Bluetooth: [bt sdio hci] work thread is sleeping...
    [ 299.870566] Bluetooth: [bt sdio] RX btti_sdio_irq_handler received
    [ 299.883046] Bluetooth: [bt sdio] RX packet_len:14 packet_type:4 packet header hex: 0e 00 00 04
    [ 299.891709] Bluetooth: [bt sdio] RX packet , packet data(without header) hex: 0e 08 01 23 20 00 1b 00 48 01 fb 00
    [ 299.902014] Bluetooth: [bt sdio hci] work thread is sleeping...
    [ 299.902069] Bluetooth: [bt sdio hci] TX from HCI received ,type=1, opcode: 0x203b len=3 ble_enable=1
    [ 299.917149] Bluetooth: [bt sdio] TX to SDIO sdiodev done : 07 00 00 01 3b 20 00 2a
    [ 299.924834] Bluetooth: [bt sdio hci] work thread is sleeping...
    [ 299.924865] Bluetooth: [bt sdio] RX btti_sdio_irq_handler received
    [ 299.937029] Bluetooth: [bt sdio] RX packet_len:11 packet_type:4 packet header hex: 0b 00 00 04
    [ 299.945957] Bluetooth: [bt sdio] RX packet , packet data(without header) hex: 0e 05 01 3b 20 00 14 14
    [ 299.955362] Bluetooth: [bt sdio hci] work thread is sleeping...
    [ 299.955412] Bluetooth: [bt sdio hci] TX from HCI received ,type=1, opcode: 0xc63 len=11 ble_enable=1
    [ 299.970805] Bluetooth: [bt sdio] TX to SDIO sdiodev done : 0f 00 00 01 63 0c 08 00 00 80 00 00 00 00 00 69
    [ 299.980585] Bluetooth: [bt sdio hci] work thread is sleeping...
    [ 299.980776] Bluetooth: [bt sdio] RX btti_sdio_irq_handler received
    [ 299.993085] Bluetooth: [bt sdio] RX packet_len:10 packet_type:4 packet header hex: 0a 00 00 04
    [ 300.002035] Bluetooth: [bt sdio] RX packet , packet data(without header) hex: 0e 04 01 63 0c 00 00 00
    [ 300.011309] Bluetooth: [bt sdio hci] work thread is sleeping...
    [ 300.011402] Bluetooth: [bt sdio hci] TX from HCI received ,type=1, opcode: 0x2024 len=7 ble_enable=1
    [ 300.026434] Bluetooth: [bt sdio] TX to SDIO sdiodev done : 0b 00 00 01 24 20 04 fb 00 90 42 00
    [ 300.035157] Bluetooth: [bt sdio hci] work thread is sleeping...
    [ 300.035475] Bluetooth: [bt sdio] RX btti_sdio_irq_handler received
    [ 300.047641] Bluetooth: [bt sdio] RX packet_len:10 packet_type:4 packet header hex: 0a 00 00 04
    [ 300.056508] Bluetooth: [bt sdio] RX packet , packet data(without header) hex: 0e 04 01 24 20 00 00 00
    [ 300.065924] Bluetooth: [bt sdio hci] work thread is sleeping...
    [ 300.066074] Bluetooth: [bt sdio hci] TX from HCI received ,type=1, opcode: 0x2031 len=6 ble_enable=1
    [ 300.081359] Bluetooth: [bt sdio] TX to SDIO sdiodev done : 0a 00 00 01 31 20 03 00 07 07 08 06
    [ 300.090082] Bluetooth: [bt sdio hci] work thread is sleeping...
    [ 300.090114] Bluetooth: [bt sdio] RX btti_sdio_irq_handler received
    [ 300.102547] Bluetooth: [bt sdio] RX packet_len:10 packet_type:4 packet header hex: 0a 00 00 04
    [ 300.111232] Bluetooth: [bt sdio] RX packet , packet data(without header) hex: 0e 04 01 31 20 00 00 00
    [ 300.120494] Bluetooth: [bt sdio hci] work thread is sleeping...
    [ 300.120973] Bluetooth: MGMT ver 1.22
    [ 300.138103] NET: Registered PF_ALG protocol family

    root@imx8mm-ebp001:/usr/share/cc33xx$ hciconfig hci0
    hci0: Type: Primary Bus: SDIO
    BD Address: EC:9A:34:05:94:25 ACL MTU: 255:10 SCO MTU: 0:0
    DOWN
    RX bytes:300 acl:0 sco:0 events:23 errors:0
    TX bytes:212 acl:0 sco:0 commands:22 errors:0

    root@imx8mm-ebp001:/usr/share/cc33xx$ hciconfig hci0 up
    [ 513.721673] Bluetooth: [bt sdio hci] btti_hci_if_setup
    [ 513.726917] Bluetooth: [bt sdio hci] TX from HCI received ,type=1, opcode: 0xc03 len=3 ble_enable=1
    [ 513.736100] Bluetooth: [bt sdio] TX to SDIO sdiodev done : 07 00 00 01 03 0c 00 00
    [ 513.743833] Bluetooth: [bt sdio hci] work thread is sleeping...
    [ 513.743876] Bluetooth: [bt sdio] RX btti_sdio_irq_handler received
    [ 513.756318] Bluetooth: [bt sdio] RX packet_len:10 packet_type:4 packet header hex: 0a 00 00 04
    [ 513.765010] Bluetooth: [bt sdio] RX packet , packet data(without header) hex: 0e 04 01 03 0c 00 00 00
    [ 513.774276] Bluetooth: [bt sdio hci] work thread is sleeping...
    [ 513.774366] Bluetooth: [bt sdio hci] TX from HCI received ,type=1, opcode: 0x1003 len=3 ble_enable=1
    [ 513.790032] Bluetooth: [bt sdio] TX to SDIO sdiodev done : 07 00 00 01 03 10 00 00
    [ 513.797722] Bluetooth: [bt sdio hci] work thread is sleeping...
    [ 513.797759] Bluetooth: [bt sdio] RX btti_sdio_irq_handler received
    [ 513.810259] Bluetooth: [bt sdio] RX packet_len:18 packet_type:4 packet header hex: 12 00 00 04
    [ 513.818933] Bluetooth: [bt sdio] RX packet , packet data(without header) hex: 0e 0c 01 03 10 00 00 00 00 00 60 00 00 00 60 45
    [ 513.830304] Bluetooth: [bt sdio hci] work thread is sleeping...
    [ 513.830400] Bluetooth: [bt sdio hci] TX from HCI received ,type=1, opcode: 0x1001 len=3 ble_enable=1
    [ 513.845726] Bluetooth: [bt sdio] TX to SDIO sdiodev done : 07 00 00 01 01 10 00 00
    [ 513.853426] Bluetooth: [bt sdio hci] work thread is sleeping...
    [ 513.853454] Bluetooth: [bt sdio] RX btti_sdio_irq_handler received
    [ 513.865619] Bluetooth: [bt sdio] RX packet_len:18 packet_type:4 packet header hex: 12 00 00 04
    [ 513.874288] Bluetooth: [bt sdio] RX packet , packet data(without header) hex: 0e 0c 01 01 10 00 0c 28 02 0c 0d 00 28 02 60 45
    [ 513.885637] Bluetooth: [bt sdio hci] work thread is sleeping...
    [ 513.885691] Bluetooth: [bt sdio hci] TX from HCI received ,type=1, opcode: 0x1009 len=3 ble_enable=1
    [ 513.901385] Bluetooth: [bt sdio] TX to SDIO sdiodev done : 07 00 00 01 09 10 00 00
    [ 513.909071] Bluetooth: [bt sdio hci] work thread is sleeping...
    [ 513.909102] Bluetooth: [bt sdio] RX btti_sdio_irq_handler received
    [ 513.921549] Bluetooth: [bt sdio] RX packet_len:16 packet_type:4 packet header hex: 10 00 00 04
    [ 513.930230] Bluetooth: [bt sdio] RX packet , packet data(without header) hex: 0e 0a 01 09 10 00 25 94 05 34 9a ec
    [ 513.940542] Bluetooth: [bt sdio hci] work thread is sleeping...
    [ 513.940602] Bluetooth: [bt sdio hci] TX from HCI received ,type=1, opcode: 0x1002 len=3 ble_enable=1
    [ 513.956291] Bluetooth: [bt sdio] TX to SDIO sdiodev done : 07 00 00 01 02 10 00 03
    [ 513.963978] Bluetooth: [bt sdio hci] work thread is sleeping...
    [ 513.964011] Bluetooth: [bt sdio] RX btti_sdio_irq_handler received
    [ 513.976425] Bluetooth: [bt sdio] RX packet_len:74 packet_type:4 packet header hex: 4a 00 00 04
    [ 513.985108] Bluetooth: [bt sdio] RX packet , packet data(without header) hex: 0e 44 01 02 10 00 20 00 80 00 00 c0 00 00 00 00 e4 00 00 00 28 22 00 00 00 00 00 00 04 00 00 f7 ff ff 7f 00 00 00 30 f0 ff ff ff e3 80 1f 00 04 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
    [ 514.009008] Bluetooth: [bt sdio hci] work thread is sleeping...
    [ 514.009087] Bluetooth: [bt sdio hci] TX from HCI received ,type=1, opcode: 0x2003 len=3 ble_enable=1
    [ 514.024771] Bluetooth: [bt sdio] TX to SDIO sdiodev done : 07 00 00 01 03 20 00 00
    [ 514.032455] Bluetooth: [bt sdio hci] work thread is sleeping...
    [ 514.032487] Bluetooth: [bt sdio] RX btti_sdio_irq_handler received
    [ 514.044670] Bluetooth: [bt sdio] RX packet_len:18 packet_type:4 packet header hex: 12 00 00 04
    [ 514.053335] Bluetooth: [bt sdio] RX packet , packet data(without header) hex: 0e 0c 01 03 20 00 ff 59 00 08 00 00 00 00 60 45
    [ 514.064684] Bluetooth: [bt sdio hci] work thread is sleeping...
    [ 514.064742] Bluetooth: [bt sdio hci] TX from HCI received ,type=1, opcode: 0x2002 len=3 ble_enable=1
    [ 514.079850] Bluetooth: [bt sdio] TX to SDIO sdiodev done : 07 00 00 01 02 20 00 00
    [ 514.087535] Bluetooth: [bt sdio hci] work thread is sleeping...
    [ 514.087576] Bluetooth: [bt sdio] RX btti_sdio_irq_handler received
    [ 514.099763] Bluetooth: [bt sdio] RX packet_len:13 packet_type:4 packet header hex: 0d 00 00 04
    [ 514.108451] Bluetooth: [bt sdio] RX packet , packet data(without header) hex: 0e 07 01 02 20 00 ff 00 0a ff 00 00
    [ 514.118766] Bluetooth: [bt sdio hci] work thread is sleeping...
    [ 514.118837] Bluetooth: [bt sdio hci] TX from HCI received ,type=1, opcode: 0x201c len=3 ble_enable=1
    [ 514.134495] Bluetooth: [bt sdio] TX to SDIO sdiodev done : 07 00 00 01 1c 20 00 00
    [ 514.142176] Bluetooth: [bt sdio hci] work thread is sleeping...
    [ 514.142202] Bluetooth: [bt sdio] RX btti_sdio_irq_handler received
    [ 514.154400] Bluetooth: [bt sdio] RX packet_len:18 packet_type:4 packet header hex: 12 00 00 04
    [ 514.163058] Bluetooth: [bt sdio] RX packet , packet data(without header) hex: 0e 0c 01 1c 20 00 ff ff ff ff ff 03 00 00 60 45
    [ 514.174404] Bluetooth: [bt sdio hci] work thread is sleeping...
    [ 514.174471] Bluetooth: [bt sdio hci] TX from HCI received ,type=1, opcode: 0xc01 len=11 ble_enable=1
    [ 514.189826] Bluetooth: [bt sdio] TX to SDIO sdiodev done : 0f 00 00 01 01 0c 08 90 e8 04 02 00 80 00 20 00
    [ 514.199593] Bluetooth: [bt sdio hci] work thread is sleeping...
    [ 514.199622] Bluetooth: [bt sdio] RX btti_sdio_irq_handler received
    [ 514.212065] Bluetooth: [bt sdio] RX packet_len:10 packet_type:4 packet header hex: 0a 00 00 04
    [ 514.220746] Bluetooth: [bt sdio] RX packet , packet data(without header) hex: 0e 04 01 01 0c 00 00 20
    [ 514.230008] Bluetooth: [bt sdio hci] work thread is sleeping...
    [ 514.230069] Bluetooth: [bt sdio hci] TX from HCI received ,type=1, opcode: 0x2001 len=11 ble_enable=1
    [ 514.245234] Bluetooth: [bt sdio] TX to SDIO sdiodev done : 0f 00 00 01 01 20 08 ff 1f 0a 00 00 00 00 00 00
    [ 514.255009] Bluetooth: [bt sdio hci] work thread is sleeping...
    [ 514.255300] Bluetooth: [bt sdio] RX btti_sdio_irq_handler received
    [ 514.267474] Bluetooth: [bt sdio] RX packet_len:10 packet_type:4 packet header hex: 0a 00 00 04
    [ 514.276415] Bluetooth: [bt sdio] RX packet , packet data(without header) hex: 0e 04 01 01 20 00 00 00
    [ 514.285809] Bluetooth: [bt sdio hci] work thread is sleeping...
    [ 514.285867] Bluetooth: [bt sdio hci] TX from HCI received ,type=1, opcode: 0x204b len=3 ble_enable=1
    [ 514.301252] Bluetooth: [bt sdio] TX to SDIO sdiodev done : 07 00 00 01 4b 20 00 90
    [ 514.308936] Bluetooth: [bt sdio hci] work thread is sleeping...
    [ 514.308965] Bluetooth: [bt sdio] RX btti_sdio_irq_handler received
    [ 514.321136] Bluetooth: [bt sdio] RX packet_len:12 packet_type:4 packet header hex: 0c 00 00 04
    [ 514.329798] Bluetooth: [bt sdio] RX packet , packet data(without header) hex: 0e 06 01 4b 20 00 00 14
    [ 514.339069] Bluetooth: [bt sdio hci] work thread is sleeping...
    [ 514.339134] Bluetooth: [bt sdio hci] TX from HCI received ,type=1, opcode: 0x200f len=3 ble_enable=1
    [ 514.354208] Bluetooth: [bt sdio] TX to SDIO sdiodev done : 07 00 00 01 0f 20 00 00
    [ 514.361896] Bluetooth: [bt sdio hci] work thread is sleeping...
    [ 514.362120] Bluetooth: [bt sdio] RX btti_sdio_irq_handler received
    [ 514.374392] Bluetooth: [bt sdio] RX packet_len:11 packet_type:4 packet header hex: 0b 00 00 04
    [ 514.383050] Bluetooth: [bt sdio] RX packet , packet data(without header) hex: 0e 05 01 0f 20 00 10 14
    [ 514.392319] Bluetooth: [bt sdio hci] work thread is sleeping...
    [ 514.393240] Bluetooth: [bt sdio hci] TX from HCI received ,type=1, opcode: 0x2010 len=3 ble_enable=1
    [ 514.407742] Bluetooth: [bt sdio] TX to SDIO sdiodev done : 07 00 00 01 10 20 00 00
    [ 514.415422] Bluetooth: [bt sdio hci] work thread is sleeping...
    [ 514.415451] Bluetooth: [bt sdio] RX btti_sdio_irq_handler received
    [ 514.427621] Bluetooth: [bt sdio] RX packet_len:10 packet_type:4 packet header hex: 0a 00 00 04
    [ 514.436457] Bluetooth: [bt sdio] RX packet , packet data(without header) hex: 0e 04 01 10 20 00 10 14
    [ 514.445720] Bluetooth: [bt sdio hci] work thread is sleeping...
    [ 514.446024] Bluetooth: [bt sdio hci] TX from HCI received ,type=1, opcode: 0x202a len=3 ble_enable=1
    [ 514.461152] Bluetooth: [bt sdio] TX to SDIO sdiodev done : 07 00 00 01 2a 20 00 b1
    [ 514.468835] Bluetooth: [bt sdio hci] work thread is sleeping...
    [ 514.468865] Bluetooth: [bt sdio] RX btti_sdio_irq_handler received
    [ 514.481309] Bluetooth: [bt sdio] RX packet_len:11 packet_type:4 packet header hex: 0b 00 00 04
    [ 514.489983] Bluetooth: [bt sdio] RX packet , packet data(without header) hex: 0e 05 01 2a 20 00 0a 14
    [ 514.499247] Bluetooth: [bt sdio hci] work thread is sleeping...
    [ 514.499821] Bluetooth: [bt sdio hci] TX from HCI received ,type=1, opcode: 0x2029 len=3 ble_enable=1
    [ 514.514718] Bluetooth: [bt sdio] TX to SDIO sdiodev done : 07 00 00 01 29 20 00 b1
    [ 514.522397] Bluetooth: [bt sdio hci] work thread is sleeping...
    [ 514.522598] Bluetooth: [bt sdio] RX btti_sdio_irq_handler received
    [ 514.534859] Bluetooth: [bt sdio] RX packet_len:10 packet_type:4 packet header hex: 0a 00 00 04
    [ 514.543534] Bluetooth: [bt sdio] RX packet , packet data(without header) hex: 0e 04 01 29 20 00 0a 14
    [ 514.552797] Bluetooth: [bt sdio hci] work thread is sleeping...
    [ 514.553088] Bluetooth: [bt sdio hci] TX from HCI received ,type=1, opcode: 0x202e len=5 ble_enable=1
    [ 514.567933] Bluetooth: [bt sdio] TX to SDIO sdiodev done : 09 00 00 01 2e 20 02 84 03 73 08 00
    [ 514.576657] Bluetooth: [bt sdio hci] work thread is sleeping...
    [ 514.576688] Bluetooth: [bt sdio] RX btti_sdio_irq_handler received
    [ 514.588851] Bluetooth: [bt sdio] RX packet_len:10 packet_type:4 packet header hex: 0a 00 00 04
    [ 514.597523] Bluetooth: [bt sdio] RX packet , packet data(without header) hex: 0e 04 01 2e 20 00 0a 14
    [ 514.606788] Bluetooth: [bt sdio hci] work thread is sleeping...
    [ 514.607122] Bluetooth: [bt sdio hci] TX from HCI received ,type=1, opcode: 0x202f len=3 ble_enable=1
    [ 514.621914] Bluetooth: [bt sdio] TX to SDIO sdiodev done : 07 00 00 01 2f 20 00 00
    [ 514.629593] Bluetooth: [bt sdio hci] work thread is sleeping...
    [ 514.629619] Bluetooth: [bt sdio] RX btti_sdio_irq_handler received
    [ 514.641787] Bluetooth: [bt sdio] RX packet_len:18 packet_type:4 packet header hex: 12 00 00 04
    [ 514.650745] Bluetooth: [bt sdio] RX packet , packet data(without header) hex: 0e 0c 01 2f 20 00 fb 00 90 42 fb 00 90 42 60 45
    [ 514.662090] Bluetooth: [bt sdio hci] work thread is sleeping...
    [ 514.662174] Bluetooth: [bt sdio hci] TX from HCI received ,type=1, opcode: 0x2023 len=3 ble_enable=1
    [ 514.677524] Bluetooth: [bt sdio] TX to SDIO sdiodev done : 07 00 00 01 23 20 00 00
    [ 514.685227] Bluetooth: [bt sdio hci] work thread is sleeping...
    [ 514.685262] Bluetooth: [bt sdio] RX btti_sdio_irq_handler received
    [ 514.697692] Bluetooth: [bt sdio] RX packet_len:14 packet_type:4 packet header hex: 0e 00 00 04
    [ 514.706371] Bluetooth: [bt sdio] RX packet , packet data(without header) hex: 0e 08 01 23 20 00 1b 00 48 01 fb 00
    [ 514.716680] Bluetooth: [bt sdio hci] work thread is sleeping...
    [ 514.716956] Bluetooth: [bt sdio hci] TX from HCI received ,type=1, opcode: 0x203b len=3 ble_enable=1
    [ 514.732109] Bluetooth: [bt sdio] TX to SDIO sdiodev done : 07 00 00 01 3b 20 00 b1
    [ 514.739826] Bluetooth: [bt sdio hci] work thread is sleeping...
    [ 514.739869] Bluetooth: [bt sdio] RX btti_sdio_irq_handler received
    [ 514.752038] Bluetooth: [bt sdio] RX packet_len:11 packet_type:4 packet header hex: 0b 00 00 04
    [ 514.760967] Bluetooth: [bt sdio] RX packet , packet data(without header) hex: 0e 05 01 3b 20 00 14 14
    [ 514.770824] Bluetooth: [bt sdio hci] work thread is sleeping...
    [ 514.770886] Bluetooth: [bt sdio hci] TX from HCI received ,type=1, opcode: 0xc63 len=11 ble_enable=1
    [ 514.786262] Bluetooth: [bt sdio] TX to SDIO sdiodev done : 0f 00 00 01 63 0c 08 00 00 80 00 00 00 00 00 3b
    [ 514.796046] Bluetooth: [bt sdio hci] work thread is sleeping...
    [ 514.796079] Bluetooth: [bt sdio] RX btti_sdio_irq_handler received
    [ 514.808530] Bluetooth: [bt sdio] RX packet_len:10 packet_type:4 packet header hex: 0a 00 00 04
    [ 514.817220] Bluetooth: [bt sdio] RX packet , packet data(without header) hex: 0e 04 01 63 0c 00 00 00
    [ 514.826510] Bluetooth: [bt sdio hci] work thread is sleeping...
    [ 514.826719] Bluetooth: [bt sdio hci] TX from HCI received ,type=1, opcode: 0x2024 len=7 ble_enable=1
    [ 514.841664] Bluetooth: [bt sdio] TX to SDIO sdiodev done : 0b 00 00 01 24 20 04 fb 00 90 42 00
    [ 514.850419] Bluetooth: [bt sdio hci] work thread is sleeping...
    [ 514.856382] Bluetooth: [bt sdio] RX btti_sdio_irq_handler received
    [ 514.862920] Bluetooth: [bt sdio] RX packet_len:10 packet_type:4 packet header hex: 0a 00 00 04
    [ 514.871588] Bluetooth: [bt sdio] RX packet , packet data(without header) hex: 0e 04 01 24 20 00 00 00
    [ 514.880850] Bluetooth: [bt sdio hci] work thread is sleeping...
    [ 514.881136] Bluetooth: [bt sdio hci] TX from HCI received ,type=1, opcode: 0x2031 len=6 ble_enable=1
    [ 514.896245] Bluetooth: [bt sdio] TX to SDIO sdiodev done : 0a 00 00 01 31 20 03 00 07 07 08 00
    [ 514.904974] Bluetooth: [bt sdio hci] work thread is sleeping...
    [ 514.905305] Bluetooth: [bt sdio] RX btti_sdio_irq_handler received
    [ 514.917444] Bluetooth: [bt sdio] RX packet_len:10 packet_type:4 packet header hex: 0a 00 00 04
    [ 514.926105] Bluetooth: [bt sdio] RX packet , packet data(without header) hex: 0e 04 01 31 20 00 00 00
    [ 514.935369] Bluetooth: [bt sdio hci] work thread is sleeping...
    [ 514.935800] Bluetooth: [bt sdio hci] TX from HCI received ,type=1, opcode: 0x2036 len=28 ble_enable=1
    [ 514.950897] Bluetooth: [bt sdio] TX to SDIO sdiodev done : 20 00 00 01 36 20 19 00 12 00 00 08 00 00 08 00 07 01 00 00 00 00 00 00 00 00 7f 01 00 01 00 00
    [ 514.964856] Bluetooth: [bt sdio hci] work thread is sleeping...
    [ 514.964989] Bluetooth: [bt sdio] RX btti_sdio_irq_handler received
    [ 514.977369] Bluetooth: [bt sdio] RX packet_len:11 packet_type:4 packet header hex: 0b 00 00 04
    [ 514.986045] Bluetooth: [bt sdio] RX packet , packet data(without header) hex: 0e 05 01 36 20 00 00 00
    [ 514.995311] Bluetooth: [bt sdio hci] work thread is sleeping...
    [ 514.995400] Bluetooth: [bt sdio hci] TX from HCI received ,type=1, opcode: 0x2005 len=9 ble_enable=1
    [ 515.011078] Bluetooth: [bt sdio] TX to SDIO sdiodev done : 0d 00 00 01 05 20 06 17 06 e2 33 93 2a 01 00 00
    [ 515.020849] Bluetooth: [bt sdio hci] work thread is sleeping...
    [ 515.020877] Bluetooth: [bt sdio] RX btti_sdio_irq_handler received
    [ 515.033341] Bluetooth: [bt sdio] RX packet_len:10 packet_type:4 packet header hex: 0a 00 00 04
    [ 515.042012] Bluetooth: [bt sdio] RX packet , packet data(without header) hex: 0e 04 01 05 20 00 00 00
    [ 515.051297] Bluetooth: [bt sdio hci] work thread is sleeping...
    [ 515.051349] Bluetooth: [bt sdio hci] TX from HCI received ,type=1, opcode: 0x2035 len=10 ble_enable=1
    [ 515.066817] Bluetooth: [bt sdio] TX to SDIO sdiodev done : 0e 00 00 01 35 20 07 00 17 06 e2 33 93 2a 20 00
    [ 515.076585] Bluetooth: [bt sdio hci] work thread is sleeping...
    [ 515.076616] Bluetooth: [bt sdio] RX btti_sdio_irq_handler received
    [ 515.089050] Bluetooth: [bt sdio] RX packet_len:10 packet_type:4 packet header hex: 0a 00 00 04
    [ 515.097717] Bluetooth: [bt sdio] RX packet , packet data(without header) hex: 0e 04 01 35 20 00 2a 00
    [ 515.107016] Bluetooth: [bt sdio hci] work thread is sleeping...
    [ 515.107109] Bluetooth: [bt sdio hci] TX from HCI received ,type=1, opcode: 0x2038 len=19 ble_enable=1
    [ 515.122558] Bluetooth: [bt sdio] TX to SDIO sdiodev done : 17 00 00 01 38 20 10 00 03 01 0c 0b 08 69 6d 78 38 6d 6d 2d 65 62 70 00
    [ 515.134403] Bluetooth: [bt sdio hci] work thread is sleeping...
    [ 515.134423] Bluetooth: [bt sdio] RX btti_sdio_irq_handler received
    [ 515.146706] Bluetooth: [bt sdio] RX packet_len:10 packet_type:4 packet header hex: 0a 00 00 04
    [ 515.155372] Bluetooth: [bt sdio] RX packet , packet data(without header) hex: 0e 04 01 38 20 00 00 14
    [ 515.164635] Bluetooth: [bt sdio hci] work thread is sleeping...
    [ 515.165231] Bluetooth: [bt sdio hci] TX from HCI received ,type=1, opcode: 0x2037 len=13 ble_enable=1
    [ 515.182768] Bluetooth: [bt sdio] TX to SDIO sdiodev done : 11 00 00 01 37 20 0a 00 03 01 06 02 01 04 02 0a 00 00 00 00
    [ 515.196385] Bluetooth: [bt sdio hci] work thread is sleeping...
    [ 515.196417] Bluetooth: [bt sdio] RX btti_sdio_irq_handler received
    [ 515.214292] Bluetooth: [bt sdio] RX packet_len:10 packet_type:4 packet header hex: 0a 00 00 04
    [ 515.223713] Bluetooth: [bt sdio] RX packet , packet data(without header) hex: 0e 04 01 37 20 00 00 14
    root@imx8mm-ebp[ 515.232998] Bluetooth: [bt sdio hci] work thread is sleeping...

    root@imx8mm-ebp001:/usr/share/cc33xx$ hciconfig hci0 name helloworld
    [ 688.107943] Bluetooth: [bt sdio hci] TX from HCI received ,type=1, opcode: 0xc13 len=251 ble_enable=1
    [ 688.117567] Bluetooth: [bt sdio] TX to SDIO sdiodev done : ff 00 00 01 13 0c f8 68 65 6c 6c 6f 77 6f 72 6c 64 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
    [ 688.139898] Bluetooth: [bt sdio hci] work thread is sleeping...
    [ 688.139926] Bluetooth: [bt sdio] RX btti_sdio_irq_handler received
    [ 688.152175] Bluetooth: [bt sdio] RX packet_len:10 packet_type:4 packet header hex: 0a 00 00 04
    [ 688.160841] Bluetooth: [bt sdio] RX packet , packet data(without header) hex: 0e 04 01 13 0c 01 00 00
    [ 688.170111] Bluetooth: [bt sdio hci] work thread is sleeping...
    [ 688.170853] Bluetooth: [bt sdio] RX btti_sdio_irq_handler received
    [ 688.182366] Bluetooth: [bt sdio] RX packet_len:10 packet_type:4 packet header hex: 0a 00 00 04
    [ 688.193788] Bluetooth: [bt sdio] RX packet , packet data(without header) hex: 0e 04 01 13 0c 01 ff ff
    [ 688.205863] Bluetooth: [bt sdio hci] work thread is sleeping...
    [ 688.206049] Bluetooth: [bt sdio] RX btti_sdio_irq_handler received
    [ 688.224056] Bluetooth: [bt sdio] RX packet_len:10 packet_type:4 packet header hex: 0a 00 00 04
    [ 688.233189] Bluetooth: [bt sdio] RX packet , packet data(without header) hex: 0e 04 01 13 0c 01 01 00
    [ 688.242459] Bluetooth: [bt sdio hci] work thread is sleeping...
    [ 688.242703] Bluetooth: [bt sdio] RX btti_sdio_irq_handler received
    [ 688.254944] Bluetooth: [bt sdio] RX packet_len:10 packet_type:4 packet header hex: 0a 00 00 04
    [ 688.263620] Bluetooth: [bt sdio] RX packet , packet data(without header) hex: 0e 04 01 13 0c 01 ff 00
    [ 688.272895] Bluetooth: [bt sdio hci] work thread is sleeping...
    [ 688.273104] Bluetooth: [bt sdio] RX btti_sdio_irq_handler received
    [ 688.291058] Bluetooth: [bt sdio] RX packet_len:10 packet_type:4 packet header hex: 0a 00 00 04
    [ 688.299752] Bluetooth: [bt sdio] RX packet , packet data(without header) hex: 0e 04 01 13 0c 01 ff 00
    [ 688.309016] Bluetooth: [bt sdio hci] work thread is sleeping...
    [ 688.309201] Bluetooth: [bt sdio] RX btti_sdio_irq_handler received
    [ 688.321524] Bluetooth: [bt sdio] RX packet_len:10 packet_type:4 packet header hex: 0a 00 00 04
    [ 688.330193] Bluetooth: [bt sdio] RX packet , packet data(without header) hex: 0e 04 01 13 0c 01 ff ff
    [ 688.339746] Bluetooth: [bt sdio hci] work thread is sleeping...
    [ 688.339846] Bluetooth: [bt sdio] RX btti_sdio_irq_handler received
    [ 688.352654] Bluetooth: [bt sdio] RX packet_len:10 packet_type:4 packet header hex: 0a 00 00 04
    [ 688.361323] Bluetooth: [bt sdio] RX packet , packet data(without header) hex: 0e 04 01 13 0c 01 ff 00
    [ 688.370586] Bluetooth: [bt sdio hci] work thread is sleeping...
    [ 688.370772] Bluetooth: [bt sdio] RX btti_sdio_irq_handler received
    [ 688.382799] Bluetooth: [bt sdio] RX packet_len:10 packet_type:4 packet header hex: 0a 00 00 04
    [ 688.391501] Bluetooth: [bt sdio] RX packet , packet data(without header) hex: 0e 04 01 13 0c 01 ff 00
    [ 688.400789] Bluetooth: [bt sdio hci] work thread is sleeping...
    [ 688.401033] Bluetooth: [bt sdio] RX btti_sdio_irq_handler received
    [ 688.413258] Bluetooth: [bt sdio] RX packet_len:10 packet_type:4 packet header hex: 0a 00 00 04
    [ 688.421936] Bluetooth: [bt sdio] RX packet , packet data(without header) hex: 0e 04 01 13 0c 01 ff 00
    [ 688.431205] Bluetooth: [bt sdio hci] work thread is sleeping...
    [ 688.431424] Bluetooth: [bt sdio] RX btti_sdio_irq_handler received
    [ 688.443708] Bluetooth: [bt sdio] RX packet_len:10 packet_type:4 packet header hex: 0a 00 00 04
    [ 688.452407] Bluetooth: [bt sdio] RX packet , packet data(without header) hex: 0e 04 01 13 0c 01 ff 00
    [ 688.461675] Bluetooth: [bt sdio hci] work thread is sleeping...
    [ 688.461851] Bluetooth: [bt sdio] RX btti_sdio_irq_handler received
    [ 688.473877] Bluetooth: [bt sdio] RX packet_len:10 packet_type:4 packet header hex: 0a 00 00 04
    [ 688.482566] Bluetooth: [bt sdio] RX packet , packet data(without header) hex: 0e 04 01 13 0c 01 ff 00
    [ 688.491834] Bluetooth: [bt sdio hci] work thread is sleeping...
    [ 688.492017] Bluetooth: [bt sdio] RX btti_sdio_irq_handler received
    [ 688.504446] Bluetooth: [bt sdio] RX packet_len:10 packet_type:4 packet header hex: 0a 00 00 04
    [ 688.513102] Bluetooth: [bt sdio] RX packet , packet data(without header) hex: 0e 04 01 13 0c 01 ff 00
    [ 688.522449] Bluetooth: [bt sdio hci] work thread is sleeping...
    [ 688.522696] Bluetooth: [bt sdio] RX btti_sdio_irq_handler received
    [ 688.534940] Bluetooth: [bt sdio] RX packet_len:10 packet_type:4 packet header hex: 0a 00 00 04
    [ 688.543624] Bluetooth: [bt sdio] RX packet , packet data(without header) hex: 0e 04 01 13 0c 01 ff 00
    [ 688.552889] Bluetooth: [bt sdio hci] work thread is sleeping...
    [ 688.553088] Bluetooth: [bt sdio] RX btti_sdio_irq_handler received
    [ 688.565382] Bluetooth: [bt sdio] RX packet_len:10 packet_type:4 packet header hex: 0a 00 00 04
    [ 688.574047] Bluetooth: [bt sdio] RX packet , packet data(without header) hex: 0e 04 01 13 0c 01 ff 00
    [ 688.583378] Bluetooth: [bt sdio hci] work thread is sleeping...
    [ 688.583504] Bluetooth: [bt sdio] RX btti_sdio_irq_handler received
    [ 688.595650] Bluetooth: [bt sdio] RX packet_len:10 packet_type:4 packet header hex: 0a 00 00 04
    [ 688.604327] Bluetooth: [bt sdio] RX packet , packet data(without header) hex: 0e 04 01 13 0c 01 ff 00
    [ 688.613601] Bluetooth: [bt sdio hci] work thread is sleeping...
    [ 688.613776] Bluetooth: [bt sdio] RX btti_sdio_irq_handler received
    [ 688.625798] Bluetooth: [bt sdio] RX packet_len:10 packet_type:4 packet header hex: 0a 00 00 04
    [ 688.634475] Bluetooth: [bt sdio] RX packet , packet data(without header) hex: 0e 04 01 13 0c 01 ff 00
    [ 688.643743] Bluetooth: [bt sdio hci] work thread is sleeping...
    [ 688.643952] Bluetooth: [bt sdio] RX btti_sdio_irq_handler received
    [ 688.656247] Bluetooth: [bt sdio] RX packet_len:10 packet_type:4 packet header hex: 0a 00 00 04
    [ 688.665115] Bluetooth: [bt sdio] RX packet , packet data(without header) hex: 0e 04 01 13 0c 01 ff 00
    [ 688.674516] Bluetooth: [bt sdio hci] work thread is sleeping...
    [ 688.675192] Bluetooth: [bt sdio] RX btti_sdio_irq_handler received
    [ 688.686774] Bluetooth: [bt sdio] RX packet_len:10 packet_type:4 packet header hex: 0a 00 00 04
    [ 688.695446] Bluetooth: [bt sdio] RX packet , packet data(without header) hex: 0e 04 01 13 0c 01 ff 00
    [ 688.704713] Bluetooth: [bt sdio hci] work thread is sleeping...
    [ 688.704892] Bluetooth: [bt sdio] RX btti_sdio_irq_handler received
    [ 688.716935] Bluetooth: [bt sdio] RX packet_len:10 packet_type:4 packet header hex: 0a 00 00 04
    [ 688.725601] Bluetooth: [bt sdio] RX packet , packet data(without header) hex: 0e 04 01 13 0c 01 ff ff
    [ 688.734869] Bluetooth: [bt sdio hci] work thread is sleeping...
    [ 688.735044] Bluetooth: [bt sdio] RX btti_sdio_irq_handler received
    [ 688.747072] Bluetooth: [bt sdio] RX packet_len:10 packet_type:4 packet header hex: 0a 00 00 04
    [ 688.755869] Bluetooth: [bt sdio] RX packet , packet data(without header) hex: 0e 04 01 13 0c 01 ff 00
    [ 688.765132] Bluetooth: [bt sdio hci] work thread is sleeping...
    [ 688.765349] Bluetooth: [bt sdio] RX btti_sdio_irq_handler received
    [ 688.777340] Bluetooth: [bt sdio] RX packet_len:10 packet_type:4 packet header hex: 0a 00 00 04
    [ 688.786007] Bluetooth: [bt sdio] RX packet , packet data(without header) hex: 0e 04 01 13 0c 01 ff 00
    [ 688.795575] Bluetooth: [bt sdio hci] work thread is sleeping...

    After setting name, trying to read it back with hciconfig, this doesn't work:

    root@imx8mm-ebp001:/usr/share/cc33xx$ hciconfig -a
    hci0: Type: Primary Bus: SDIO
    [ 1413.112203] Bluetooth: [bt sdio hci] TX from HCI received ,type=1, opcode: 0xc14 len=3 ble_enable=1
    BD Address: A4:34:F1:B2:E7:75 AC[ 1413.124217] Bluetooth: [bt sdio] TX to SDIO sdiodev done : 07 00 00 01 14 0c 00 00
    L MTU: 255:10 SCO MTU: 0:0
    UP [ 1413.134705] Bluetooth: [bt sdio hci] work thread is sleeping...
    RUNNING
    RX bytes:800 acl:0 sco[ 1413.143512] Bluetooth: [bt sdio] RX btti_sdio_irq_handler received
    :0 events:71 errors:0
    TX bytes:[ 1413.152992] Bluetooth: [bt sdio] RX packet_len:10 packet_type:4 packet header hex: 0a 00 00 04
    788 acl:0 sco:0 commands:50 error[ 1413.164031] Bluetooth: [bt sdio] RX packet , packet data(without header) hex: 0e 04 01 14 0c 01 00 14
    s:0
    Features: 0x00 0x00 0x00 0x[ 1413.176111] Bluetooth: [bt sdio hci] work thread is sleeping...
    00 0x60 0x00 0x00 0x00
    Packet t[ 1413.176462] Bluetooth: hci0: unexpected cc 0x0c14 length: 1 < 249
    ype: DM1 DH1 HV1
    Link policy:
    Link mode: PERIPHERAL ACCEPT
    Can't read local name on hci0: Input/output error (5)

    LE scanning works:

    root@imx8mm-ebp001:/usr/share/cc33xx$ hcitool lescan
    [ 1458.960724] Bluetooth: [bt sdio hci] TX from HCI received ,type=1, opcode: 0x200b len=10 ble_enable=1
    [ 1458.970058] Bluetooth: [bt sdio] TX to SDIO sdiodev done : 0e 00 00 01 0b 20 07 01 10 00 10 00 00 00 00 00
    [ 1458.972485] systemd-journald[146]: Sent WATCHDOG=1 notification.
    [ 1458.979924] Bluetooth: [bt sdio hci] work thread is sleeping...
    [ 1458.991839] Bluetooth: [bt sdio] RX btti_sdio_irq_handler received
    [ 1458.998191] Bluetooth: [bt sdio] RX packet_len:10 packet_type:4 packet header hex: 0a 00 00 04
    [ 1459.006869] Bluetooth: [bt sdio] RX packet , packet data(without header) hex: 0e 04 01 0b 20 00 00 14
    [ 1459.016143] Bluetooth: [bt sdio hci] work thread is sleeping...
    [ 1459.016277] Bluetooth: [bt sdio hci] TX from HCI received ,type=1, opcode: 0x200c len=5 ble_enable=1
    [ 1459.031575] Bluetooth: [bt sdio] TX to SDIO sdiodev done : 09 00 00 01 0c 20 02 01 01 00 00 00
    [ 1459.040310] Bluetooth: [bt sdio hci] work thread is sleeping...
    [ 1459.040335] Bluetooth: [bt sdio] RX btti_sdio_irq_handler received
    [ 1459.052513] Bluetooth: [bt sdio] RX packet_len:10 packet_type:4 packet header hex: 0a 00 00 04
    [ 1459.061188] Bluetooth: [bt sdio] RX packet , packet data(without header) hex: 0e 04 01 0c 20 00 00 14
    [ 1459.070457] Bluetooth: [bt sdio hci] work thread is sleeping...
    [ 1459.070681] Bluetooth: [bt sdio] RX btti_sdio_irq_handler received
    LE Scan ...[ 1459.082950] Bluetooth: [bt sdio] RX packet_len:39 packet_type:4 packet header hex: 27 00 00 04

    [ 1459.092206] Bluetooth: [bt sdio] RX packet , packet data(without header) hex: 3e 21 02 01 00 01 a7 98 12 46 a1 61 15 02 01 1a 02 0a 0c 0e ff 4c 00 0f 05 90 00 a2 b0 06 10 02 0d 04 9e 00
    [ 1459.108887] Bluetooth: [bt sdio hci] work thread is sleeping...
    [ 1459.109095] Bluetooth: [bt sdio] RX btti_sdio_irq_handler received
    61:A1:46:12:98:A7 (unknown)[ 1459.121111] Bluetooth: [bt sdio] RX packet_len:35 packet_type:4 packet header hex: 23 00 00 04

    [ 1459.132022] Bluetooth: [bt sdio] RX packet , packet data(without header) hex: 3e 1d 02 01 03 01 c1 6d ea 13 c2 2a 11 02 01 1a 0d ff 4c 00 13 08 0a f2 d0 25 79 85 99 00 9f 00
    [ 1459.147652] Bluetooth: [bt sdio hci] work thread is sleeping...
    [ 1459.147999] Bluetooth: [bt sdio] RX btti_sdio_irq_handler received
    2A:C2:13:EA:6D:C1 (unknown)[ 1459.160181] Bluetooth: [bt sdio] RX packet_len:35 packet_type:4 packet header hex: 23 00 00 04

    [ 1459.170788] Bluetooth: [bt sdio] RX packet , packet data(without header) hex: 3e 1d 02 01 00 01 af 8f 8b 7f a0 41 11 02 01 1a 02 0a 0c 0a ff 4c 00 10 05 7f 1c 1f 0b fc a7 00
    [ 1459.186689] Bluetooth: [bt sdio hci] work thread is sleeping...
    [ 1459.186791] Bluetooth: [bt sdio] RX btti_sdio_irq_handler received
    41:A0:7F:8B:8F:AF (unknown)[ 1459.198926] Bluetooth: [bt sdio] RX packet_len:49 packet_type:4 packet header hex: 31 00 00 04

    [ 1459.209826] Bluetooth: [bt sdio] RX packet , packet data(without header) hex: 3e 2b 02 01 03 01 3e 0f 8a 25 19 07 1f 1e ff 06 00 01 09 20 22 48 a0 54 f6 18 0f 42 df 1a f3 b7 35 28 25 4e dc 13 25 d6 e6 86 a8 b8 c8 00 00 00
    [ 1459.229625] Bluetooth: [bt sdio hci] work thread is sleeping...
    [ 1459.230162] Bluetooth: [bt sdio] RX btti_sdio_irq_handler received
    07:19:25:8A:0F:3E (unknown)[ 1459.241849] Bluetooth: [bt sdio] RX packet_len:36 packet_type:4 packet header hex: 24 00 00 04

    [ 1459.252764] Bluetooth: [bt sdio] RX packet , packet data(without header) hex: 3e 1e 02 01 00 00 5e 06 46 3f 22 ca 12 0a ff c3 03 ca 22 3f 46 06 5e 0a 03 02 4d fe 02 01 06 9f
    [ 1459.268394] Bluetooth: [bt sdio hci] work thread is sleeping...
    CA:22:3F:46:06:5E (unknown)
    [ 1459.268915] Bluetooth: [bt sdio] RX btti_sdio_irq_handler received
    [ 1459.283119] Bluetooth: [bt sdio] RX packet_len:49 packet_type:4 packet header hex: 31 00 00 04
    [ 1459.291784] Bluetooth: [bt sdio] RX packet , packet data(without header) hex: 3e 2b 02 01 00 01 cd 15 7e b3 33 f3 1f 02 01 04 03 03 07 fe 14 ff a7 05 06 00 12 00 25 00 ca 00 00 10 00 00 00 00 00 00 00 02 0a 00 a1 00 00 00
    [ 1459.311480] Bluetooth: [bt sdio hci] work thread is sleeping...
    [ 1459.317458] Bluetooth: [bt sdio] RX btti_sdio_irq_handler received
    F3:33:B3:7E:15:CD (unknown)[ 1459.323746] Bluetooth: [bt sdio] RX packet_len:49 packet_type:4 packet header hex: 31 00 00 04

    [ 1459.334945] Bluetooth: [bt sdio] RX packet , packet data(without header) hex: 3e 2b 02 01 03 01 b1 40 98 6e a2 35 1f 1e ff 06 00 01 09 20 02 4e 06 f2 1a 8d 61 82 ed 87 af a4 ef f8 9c f9 99 9f cf fd d4 f0 ff 13 a1 a1 ff ff
    [ 1459.354767] Bluetooth: [bt sdio hci] work thread is sleeping...
    [ 1459.354951] Bluetooth: [bt sdio] RX btti_sdio_irq_handler received
    35:A2:6E:98:40:B1 (unknown)[ 1459.366991] Bluetooth: [bt sdio] RX packet_len:35 packet_type:4 packet header hex: 23 00 00 04

    [ 1459.377920] Bluetooth: [bt sdio] RX packet , packet data(without header) hex: 3e 1d 02 01 03 01 eb ad 81 18 24 00 11 02 01 1a 0d ff 4c 00 13 08 0a ff 01 73 44 72 ea 00 a6 ef
    [ 1459.393535] Bluetooth: [bt sdio hci] work thread is sleeping...
    [ 1459.393795] Bluetooth: [bt sdio] RX btti_sdio_irq_handler received
    00:24:18:81:AD:EB (unknown)[ 1459.406017] Bluetooth: [bt sdio] RX packet_len:45 packet_type:4 packet header hex: 2d 00 00 04

    [ 1459.416684] Bluetooth: [bt sdio] RX packet , packet data(without header) hex: 3e 27 02 01 00 01 1a d3 04 39 b6 e6 1b 1a ff 4c 00 12 02 2e 01 07 11 06 e6 32 83 76 b8 d6 15 ef aa d3 76 74 e4 ac 9d 0d 9c 00 a6 ef
    [ 1459.435434] Bluetooth: [bt sdio hci] work thread is sleeping...
    [ 1459.435631] Bluetooth: [bt sdio] RX btti_sdio_irq_handler received
    E6:B6:39:04:D3:1A (unknown)[ 1459.447677] Bluetooth: [bt sdio] RX packet_len:37 packet_type:4 packet header hex: 25 00 00 04

    [ 1459.458568] Bluetooth: [bt sdio] RX packet , packet data(without header) hex: 3e 1f 02 01 00 01 37 45 fe 86 d8 45 13 02 01 1a 02 0a 0c 0c ff 4c 00 10 07 70 1f 83 26 6b a4 48 a4 00 ff 00
    [ 1459.475242] Bluetooth: [bt sdio hci] work thread is sleeping...
    45:D8:86:FE:45:37 (unknown)[ 1459.475472] Bluetooth: [bt sdio] RX btti_sdio_irq_handler received

    [ 1459.490069] Bluetooth: [bt sdio] RX packet_len:49 packet_type:4 packet header hex: 31 00 00 04
    [ 1459.498749] Bluetooth: [bt sdio] RX packet , packet data(without header) hex: 3e 2b 02 01 03 01 6c ad 40 dc f1 31 1f 1e ff 06 00 01 09 20 22 aa 2a a7 35 25 2e e3 91 50 3e 81 ac 1d 84 a9 06 2f a1 d3 4c 91 e5 32 a9 00 ff 00
    [ 1459.518432] Bluetooth: [bt sdio hci] work thread is sleeping...
    [ 1459.518621] Bluetooth: [bt sdio] RX btti_sdio_irq_handler received
    31:F1:DC:40:AD:6C (unknown)[ 1459.530651] Bluetooth: [bt sdio] RX packet_len:39 packet_type:4 packet header hex: 27 00 00 04

    [ 1459.541565] Bluetooth: [bt sdio] RX packet , packet data(without header) hex: 3e 21 02 01 00 00 08 e8 35 57 0f 54 15 02 01 04 11 07 ef a0 d8 2f 71 d0 57 be 2d 41 a8 ec ca 8e e3 a4 a4 ff
    [ 1459.558233] Bluetooth: [bt sdio hci] work thread is sleeping...
    [ 1459.558674] Bluetooth: [bt sdio] RX btti_sdio_irq_handler received
    54:0F:57:35:E8:08 (unknown)[ 1459.570464] Bluetooth: [bt sdio] RX packet_len:35 packet_type:4 packet header hex: 23 00 00 04

    [ 1459.581387] Bluetooth: [bt sdio] RX packet , packet data(without header) hex: 3e 1d 02 01 00 00 db 62 65 60 70 49 11 09 ff c3 03 49 70 60 65 62 db 03 02 4d fe 02 01 06 ac ff
    [ 1459.597009] Bluetooth: [bt sdio hci] work thread is sleeping...
    [ 1459.597190] Bluetooth: [bt sdio] RX btti_sdio_irq_handler received
    49:70:60:65:62:DB (unknown)[ 1459.609248] Bluetooth: [bt sdio] RX packet_len:35 packet_type:4 packet header hex: 23 00 00 04

    [ 1459.620399] Bluetooth: [bt sdio] RX packet , packet data(without header) hex: 3e 1d 02 01 03 01 e1 6a 05 65 bd 41 11 02 01 1a 0d ff 4c 00 16 08 00 1f ad 56 fe 52 df a1 a9 ff
    [ 1459.636079] Bluetooth: [bt sdio hci] work thread is sleeping...
    41:BD:65:05:6A:E1 (unknown)
    [ 1459.636265] Bluetooth: [bt sdio] RX btti_sdio_irq_handler received
    [ 1459.651121] Bluetooth: [bt sdio] RX packet_len:35 packet_type:4 packet header hex: 23 00 00 04
    [ 1459.660361] Bluetooth: [bt sdio] RX packet , packet data(without header) hex: 3e 1d 02 01 00 01 a7 c2 76 0e 1f 6e 11 02 01 1a 0a ff 4c 00 10 05 0b 98 69 1b 99 02 0a 00 a3 ff
    [ 1459.676103] Bluetooth: [bt sdio hci] work thread is sleeping...
    [ 1459.676122] Bluetooth: [bt sdio] RX btti_sdio_irq_handler received
    6E:1F:0E:76:C2:A7 (unknown)[ 1459.688325] Bluetooth: [bt sdio] RX packet_len:26 packet_type:4 packet header hex: 1a 00 00 04

    [ 1459.699232] Bluetooth: [bt sdio] RX packet , packet data(without header) hex: 3e 14 02 01 03 01 18 67 64 fb cb ce 08 07 ff 4c 00 12 02 00 03 ab 60 45
    [ 1459.712775] Bluetooth: [bt sdio hci] work thread is sleeping...
    CE:CB:FB:64:67:18 (unknown)

    What commands are available?

    root@imx8mm-ebp001:/usr/share/cc33xx$ hciconfig hci0 commands
    [ 2887.931230] Bluetooth: [bt sdio hci] TX from HCI received ,type=1, opcode: 0x1002 len=3 ble_enable=1
    [ 2887.940490] Bluetooth: [bt sdio] TX to SDIO sdiodev done : 07 00 00 01 02 10 00 00
    [ 2887.948206] Bluetooth: [bt sdio hci] work thread is sleeping...
    [ 2887.954184] Bluetooth: [bt sdio] RX btti_sdio_irq_handler received
    [ 2887.960457] Bluetooth: [bt sdio] RX packet_len:74 packet_type:4 packet header hex: 4a 00 00 04
    [ 2887.969155] Bluetooth: [bt sdio] RX packet , packet data(without header) hex: 0e 44 01 02 10 00 20 00 80 00 00 c0 00 00 00 00 e4 00 00 00 28 22 00 00 00 00 00 00 04 00 00 f7 ff ff 7f 00 00 00 30 f0 ff ff ff e3 80 1f 00 04 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
    [ 2887.993021] Bluetooth: [bt sdio hci] work thread is sleeping...
    hci0: Type: Primary Bus: SDIO
    BD Address: A4:34:F1:B2:E7:75 ACL MTU: 255:10 SCO MTU: 0:0
    Commands: Octet 0 = 0x20 (Bit 5)
    Octet 2 = 0x80 (Bit 7)
    Octet 5 = 0xc0 (Bit 6 7)
    Octet 10 = 0xe4 (Bit 2 5 6 7)
    Octet 14 = 0x28 (Bit 3 5)
    Octet 15 = 0x22 (Bit 1 5)
    Octet 22 = 0x04 (Bit 2)
    Octet 25 = 0xf7 (Bit 0 1 2 4 5 6 7)
    Octet 26 = 0xff (Bit 0 1 2 3 4 5 6 7)
    Octet 27 = 0xff (Bit 0 1 2 3 4 5 6 7)
    Octet 28 = 0x7f (Bit 0 1 2 3 4 5 6)
    Octet 32 = 0x30 (Bit 4 5)
    Octet 33 = 0xf0 (Bit 4 5 6 7)
    Octet 34 = 0xff (Bit 0 1 2 3 4 5 6 7)
    Octet 35 = 0xff (Bit 0 1 2 3 4 5 6 7)
    Octet 36 = 0xff (Bit 0 1 2 3 4 5 6 7)
    Octet 37 = 0xe3 (Bit 0 1 5 6 7)
    Octet 38 = 0x80 (Bit 7)
    Octet 39 = 0x1f (Bit 0 1 2 3 4)
    Octet 41 = 0x04 (Bit 2)
    'Disconnect' 'Read Remote Version Information' 'Set Event Mask'
    'Reset' 'Read Transmit Power Level'
    'Set Host Controller To Host Flow Control' 'Host Buffer Size'
    'Host Number Of Completed Packets' 'Read Local Version Information'
    'Read Local Supported Features' 'Read BD ADDR' 'Read RSSI'
    'Set Event Mask Page 2' 'LE Set Event Mask' 'LE Read Buffer Size'
    'LE Read Local Supported Features' 'LE Set Random Address'
    'LE Set Advertising Parameters' 'LE Read Advertising Channel TX Power'
    'LE Set Advertising Data' 'LE Set Scan Response Data'
    'LE Set Advertise Enable' 'LE Set Scan Parameters'
    'LE Set Scan Enable' 'LE Create Connection'
    'LE Create Connection Cancel' 'LE Read Accept List Size'
    'LE Clear Accept List' 'LE Add Device To Accept List'
    'LE Remove Device From Accept List' 'LE Connection Update'
    'LE Set Host Channel Classification' 'LE Read Channel Map'
    'LE Read Remote Used Features' 'LE Encrypt' 'LE Rand'
    'LE Start Encryption' 'LE Long Term Key Request Reply'
    'LE Long Term Key Request Negative Reply' 'LE Read Supported States'
    'LE Receiver Test' 'LE Transmitter Test' 'LE Test End'

    root@imx8mm-ebp001:/usr/share/cc33xx$ hciconfig hci0 features
    hci0: Type: Primary Bus: SDIO
    BD Address: A4:34:F1:B2:E7:75 ACL MTU: 255:10 SCO MTU: 0:0
    Features: 0x00 0x00 0x00 0x00 0x60 0x00 0x00 0x00
    <BR/EDR not supp.> <LE support>

    root@imx8mm-ebp001:/usr/share/cc33xx$ hciconfig hci0 version
    [ 3597.380652] Bluetooth: [bt sdio hci] TX from HCI received ,type=1, opcode: 0x1001 len=3 ble_enable=1
    [ 3597.389884] Bluetooth: [bt sdio] TX to SDIO sdiodev done : 07 00 00 01 01 10 00 00
    [ 3597.397624] Bluetooth: [bt sdio hci] work thread is sleeping...
    [ 3597.403621] Bluetooth: [bt sdio] RX btti_sdio_irq_handler received
    [ 3597.409956] Bluetooth: [bt sdio] RX packet_len:18 packet_type:4 packet header hex: 12 00 00 04
    [ 3597.418643] Bluetooth: [bt sdio] RX packet , packet data(without header) hex: 0e 0c 01 01 10 00 0c 28 02 0c 0d 00 28 02 60 45
    [ 3597.430009] Bluetooth: [bt sdio hci] work thread is sleeping...
    hci0: Type: Primary Bus: SDIO
    BD Address: A4:34:F1:B2:E7:75 ACL MTU: 255:10 SCO MTU: 0:0
    HCI Version: 5.3 (0xc) Revision: 0x228
    LMP Version: 5.3 (0xc) Subversion: 0x228
    Manufacturer: Texas Instruments Inc. (13)

    root@imx8mm-ebp001:/usr/share/cc33xx$ hciconfig hci0 revision
    [ 3600.988907] Bluetooth: [bt sdio hci] TX from HCI received ,type=1, opcode: 0x1001 len=3 ble_enable=1
    [ 3600.998455] Bluetooth: [bt sdio] TX to SDIO sdiodev done : 07 00 00 01 01 10 00 00
    [ 3601.006163] Bluetooth: [bt sdio hci] work thread is sleeping...
    [ 3601.006202] Bluetooth: [bt sdio] RX btti_sdio_irq_handler received
    [ 3601.018379] Bluetooth: [bt sdio] RX packet_len:18 packet_type:4 packet header hex: 12 00 00 04
    [ 3601.027069] Bluetooth: [bt sdio] RX packet , packet data(without header) hex: 0e 0c 01 01 10 00 0c 28 02 0c 0d 00 28 02 60 45
    [ 3601.038427] Bluetooth: [bt sdio hci] work thread is sleeping...
    hci0: Type: Primary Bus: SDIO
    BD Address: A4:34:F1:B2:E7:75 ACL MTU: 255:10 SCO MTU: 0:0
    Unsupported manufacturer

    root@imx8mm-ebp001:/usr/share/cc33xx$ hciconfig hci0 lestates
    [ 304.003290] Bluetooth: [bt sdio hci] TX from HCI received ,type=1, opcode: 0x201c len=3 ble_enable=1
    [ 304.012565] Bluetooth: [bt sdio] TX to SDIO sdiodev done : 07 00 00 01 1c 20 00 00
    [ 304.020353] Bluetooth: [bt sdio hci] work thread is sleeping...
    [ 304.026339] Bluetooth: [bt sdio] RX btti_sdio_irq_handler received
    [ 304.032612] Bluetooth: [bt sdio] RX packet_len:18 packet_type:4 packet header hex: 12 00 00 04
    [ 304.041293] Bluetooth: [bt sdio] RX packet , packet data(without header) hex: 0e 0c 01 1c 20 00 ff ff ff ff ff 03 00 00 60 45
    [ 304.052646] Bluetooth: [bt sdio hci] work thread is sleeping...
    Supported link layer states:
    YES Non-connectable Advertising State
    YES Scannable Advertising State
    YES Connectable Advertising State
    YES Directed Advertising State
    YES Passive Scanning State
    YES Active Scanning State
    YES Initiating State/Connection State in Central Role
    YES Connection State in the Peripheral Role
    YES Non-connectable Advertising State and Passive Scanning State combination
    YES Scannable Advertising State and Passive Scanning State combination
    YES Connectable Advertising State and Passive Scanning State combination
    YES Directed Advertising State and Passive Scanning State combination
    YES Non-connectable Advertising State and Active Scanning State combination
    YES Scannable Advertising State and Active Scanning State combination
    YES Connectable Advertising State and Active Scanning State combination
    YES Directed Advertising State and Active Scanning State combination
    YES Non-connectable Advertising State and Initiating State combination
    YES Scannable Advertising State and Initiating State combination
    YES Non-connectable Advertising State and Central Role combination
    YES Scannable Advertising State and Central Role combination
    YES Non-connectable Advertising State and Peripheral Role combination
    YES Scannable Advertising State and Peripheral Role combination
    YES Passive Scanning State and Initiating State combination
    YES Active Scanning State and Initiating State combination
    YES Passive Scanning State and Central Role combination
    YES Active Scanning State and Central Role combination
    YES Passive Scanning State and Peripheral Role combination
    YES Active Scanning State and Peripheral Role combination
    YES Initiating State and Central Role combination/Central Role and Central Role combination

    root@imx8mm-ebp001:/usr/share/cc33xx$ hciconfig hci0 noauth
    Can't set auth on hci0: Operation not supported (95)

    root@imx8mm-ebp001:/usr/share/cc33xx$ hciconfig hci0 noencrypt
    Can't set encrypt on hci0: Operation not supported (95)

    root@imx8mm-ebp001:/usr/share/cc33xx$ hciconfig hci0 piscan
    Can't set scan mode on hci0: Operation not supported (95)

    Causing crashes:

    root@imx8mm-ebp001:/usr/share/cc33xx$ hciconfig hci0 leadv 0
    [ 3689.307638] Bluetooth: [bt sdio hci] TX from HCI received ,type=1, opcode: 0x2006 len=18 ble_enable=1
    [ 3689.317133] Bluetooth: [bt sdio] TX to SDIO sdiodev done : 16 00 00 01 06 20 0f 00 08 00 08 00 00 00 00 00 00 00 00 00 07 00 6e 66
    [ 3689.329047] Bluetooth: [bt sdio hci] work thread is sleeping...
    [ 3689.329087] Bluetooth: [bt sdio] RX btti_sdio_irq_handler received
    [ 3689.341267] Bluetooth: [bt sdio] RX packet_len:10 packet_type:4 packet header hex: 0a 00 00 04
    [ 3689.350207] Bluetooth: [bt sdio] RX packet , packet data(without header) hex: 0e 04 01 06 20 0c 00 ff
    [ 3689.359482] Bluetooth: [bt sdio hci] work thread is sleeping...
    [ 3689.359648] Bluetooth: [bt sdio hci] TX from HCI received ,type=1, opcode: 0x200a len=4 ble_enable=1
    [ 3689.374965] Bluetooth: [bt sdio] TX to SDIO sdiodev done : 08 00 00 01 0a 20 01 01
    [ 3689.382674] Bluetooth: [bt sdio hci] work thread is sleeping...
    Can't set advertise mode on hci0: Connection timed out (110)
    root@imx8mm-ebp001:/usr/share/cc33xx$ [ 3691.400213] Bluetooth: hci0: command tx timeout

    root@imx8mm-ebp001:/usr/share/cc33xx$ [ 3699.623754] mmc0: Timeout waiting for hardware interrupt.
    [ 3699.629170] mmc0: sdhci: ============ SDHCI REGISTER DUMP ===========
    [ 3699.635611] mmc0: sdhci: Sys addr: 0x4e3b3710 | Version: 0x00000002
    [ 3699.642053] mmc0: sdhci: Blk size: 0x00000080 | Blk cnt: 0x00000000
    [ 3699.648494] mmc0: sdhci: Argument: 0x2d7ff802 | Trn mode: 0x00000033
    [ 3699.654935] mmc0: sdhci: Present: 0x01f88a0a | Host ctl: 0x00000013
    [ 3699.661377] mmc0: sdhci: Power: 0x00000002 | Blk gap: 0x00000080
    [ 3699.667817] mmc0: sdhci: Wake-up: 0x00000008 | Clock: 0x0000003f
    [ 3699.674257] mmc0: sdhci: Timeout: 0x0000008f | Int stat: 0x00000000
    [ 3699.680697] mmc0: sdhci: Int enab: 0x117f100b | Sig enab: 0x117f100b
    [ 3699.687137] mmc0: sdhci: ACmd stat: 0x00000000 | Slot int: 0x00000502
    [ 3699.693578] mmc0: sdhci: Caps: 0x07eb0000 | Caps_1: 0x0000b400
    [ 3699.700018] mmc0: sdhci: Cmd: 0x0000353a | Max curr: 0x00ffffff
    [ 3699.706458] mmc0: sdhci: Resp[0]: 0x00001000 | Resp[1]: 0x00000000
    [ 3699.712900] mmc0: sdhci: Resp[2]: 0x00000000 | Resp[3]: 0x00000000
    [ 3699.719340] mmc0: sdhci: Host ctl2: 0x00000000
    [ 3699.723782] mmc0: sdhci: ADMA Err: 0x00000007 | ADMA Ptr: 0x4694e200
    [ 3699.724093] Goodix-TS 1-0014: Error reading 10 bytes from 0x814e: -110
    [ 3699.730222] mmc0: sdhci-esdhc-imx: ========= ESDHC IMX DEBUG STATUS DUMP =========
    [ 3699.730225] mmc0: sdhci-esdhc-imx: cmd debug status: 0x3100
    [ 3699.730230] mmc0: sdhci-esdhc-imx: data debug status: 0x3200
    [ 3699.730234] mmc0: sdhci-esdhc-imx: trans debug status: 0x3300
    [ 3699.742377] systemd-journald[146]: Sent WATCHDOG=1 notification.
    [ 3699.744321] mmc0: sdhci-esdhc-imx: dma debug status: 0x3400
    [ 3699.744326] mmc0: sdhci-esdhc-imx: adma debug status: 0x35b4
    [ 3699.744330] mmc0: sdhci-esdhc-imx: fifo debug status: 0x3610
    [ 3699.744334] mmc0: sdhci-esdhc-imx: async fifo debug status: 0x3751
    [ 3699.744339] mmc0: sdhci: ============================================
    [ 3699.744783] ------------[ cut here ]------------
    [ 3699.802021] WARNING: CPU: 0 PID: 545 at /drivers/net/wireless/ti/cc33xx/sdio.c:94 cc33xx_sdio_raw_read+0xf0/0x170 [cc33xx_sdio]
    [ 3699.813522] Modules linked in: algif_hash algif_skcipher af_alg cc33xx fsl_jr_uio caam_jr caamkeyblob_desc caamhash_desc caamalg_desc crypto_engine authenc libdes crct10dif_ce polyval_ce polyval_generic btti_sdio btti cc33xx_sdio at24 caam secvio error imx_rpmsg_tty rpmsg_char g_ether fuse
    [ 3699.839227] CPU: 0 PID: 545 Comm: kworker/0:0 Not tainted 6.6.23-lts-next-g492cca1df98c #1
    [ 3699.847494] Hardware name: Testo EBP001 (DT)
    [ 3699.851764] Workqueue: events sdio_irq_work
    [ 3699.855961] pstate: 20000005 (nzCv daif -PAN -UAO -TCO -DIT -SSBS BTYPE=--)
    [ 3699.856410] Goodix-TS 1-0014: Error writing 1 bytes to 0x814e: -110
    [ 3699.862924] pc : cc33xx_sdio_raw_read+0xf0/0x170 [cc33xx_sdio]
    [ 3699.875025] lr : cc33xx_sdio_raw_read+0x8c/0x170 [cc33xx_sdio]
    [ 3699.880869] sp : ffff800084703c70
    [ 3699.884183] x29: ffff800084703c80 x28: 0000000000000000 x27: 0000000000000000
    [ 3699.891326] x26: 0000000000000000 x25: ffff7b3f0e6e0f40 x24: 0000000000000000
    [ 3699.898469] x23: 0000000000000100 x22: ffff7b3f07238410 x21: ffff7b3f0f3cb000
    [ 3699.905611] x20: 000000000000bffc x19: ffff7b3f0620bc00 x18: 0000000000000000
    [ 3699.912752] x17: 0000000000000000 x16: ffffa0c8c46c5eac x15: 0000000000000000
    [ 3699.919894] x14: 0000000000000000 x13: 0000000000000003 x12: 0000000000000002
    [ 3699.927035] x11: 0000000000000000 x10: 0000000000000a60 x9 : ffff800084703850
    [ 3699.934177] x8 : ffff7b3f0e23d480 x7 : ffff7b3f3fd70f80 x6 : 00000000c0000000
    [ 3699.941318] x5 : ffff7b3f06433380 x4 : 0000000000000000 x3 : 0000000000000001
    [ 3699.948459] x2 : 0000000000000002 x1 : ffff7b3f0e23c9c0 x0 : 00000000ffffff92
    [ 3699.952105] cpu cpu0: _set_opp_voltage: failed to set voltage (950000 950000 950000 mV): -110
    [ 3699.955601] Call trace:
    [ 3699.955605] cc33xx_sdio_raw_read+0xf0/0x170 [cc33xx_sdio]
    [ 3699.964139] cpu cpu0: Failed to set regulator voltages: -110
    [ 3699.966567] wlcore_raw_read+0x48/0xa8 [cc33xx]
    [ 3699.972080] cpufreq: __target_index: Failed to change cpu frequency: -110
    [ 3699.977708] wlcore_irq+0xe0/0x204 [cc33xx]
    [ 3699.993218] irq_wrapper+0x28/0x5c [cc33xx]
    [ 3699.997448] inband_irq_handler+0x24/0x34 [cc33xx_sdio]
    [ 3700.002686] process_sdio_pending_irqs+0xf8/0x1b8
    [ 3700.007402] sdio_irq_work+0x4c/0x80
    [ 3700.010982] process_one_work+0x138/0x248
    [ 3700.014998] worker_thread+0x320/0x438
    [ 3700.018750] kthread+0x110/0x114
    [ 3700.021981] ret_from_fork+0x10/0x20
    [ 3700.025562] ---[ end trace 0000000000000000 ]---
    [ 3700.030244] cc33xx_sdio mmc0:0001:2: sdio read failed (-110)
    [ 3700.035965] wlcore: ERROR IO error during core status read
    [ 3700.041791] wlcore: Recovery work
    [ 3700.045148] wlcore: down
    [ 3700.883357] IBI_WA: Read core status
    [ 3700.883606] IBI_WA: Core status processed
    [ 3702.888036] wlcore: ERROR boot IRQ timeout
    [ 3702.897609] ieee80211 phy0: Hardware restart was requested
    [ 3702.905060] ------------[ cut here ]------------
    [ 3702.909693] WARNING: CPU: 3 PID: 460 at /drivers/net/wireless/ti/cc33xx/sdio.c:140 cc33xx_sdio_raw_write+0xec/0x180 [cc33xx_sdio]
    [ 3702.921360] Modules linked in: algif_hash algif_skcipher af_alg cc33xx fsl_jr_uio caam_jr caamkeyblob_desc caamhash_desc caamalg_desc crypto_engine authenc libdes crct10dif_ce polyval_ce polyval_generic btti_sdio btti cc33xx_sdio at24 caam secvio error imx_rpmsg_tty rpmsg_char g_ether fuse
    [ 3702.947044] CPU: 3 PID: 460 Comm: kworker/3:1 Tainted: G W 6.6.23-lts-next-g492cca1df98c #1
    [ 3702.956785] Hardware name: Testo EBP001 (DT)
    [ 3702.961056] Workqueue: events_freezable ieee80211_restart_work
    [ 3702.966898] pstate: 20000005 (nzCv daif -PAN -UAO -TCO -DIT -SSBS BTYPE=--)
    [ 3702.973859] pc : cc33xx_sdio_raw_write+0xec/0x180 [cc33xx_sdio]
    [ 3702.979785] lr : cc33xx_sdio_raw_write+0xe4/0x180 [cc33xx_sdio]
    [ 3702.985708] sp : ffff80008390ba70
    [ 3702.989020] x29: ffff80008390ba80 x28: 0000000000000000 x27: 0000000000000000
    [ 3702.996159] x26: ffff7b3f0e92bac0 x25: 0000000000000001 x24: 0000000000000001
    [ 3703.003298] x23: ffff7b3f0e92bae4 x22: ffff7b3f07238410 x21: 0000000000000400
    [ 3703.010437] x20: 000000000000bff0 x19: ffff7b3f0620bc00 x18: ffffffffffffffff
    [ 3703.017575] x17: 000000040044ffff x16: ffffa0c8c46c5eac x15: 0000000000000000
    [ 3703.024713] x14: ffff7b3f0617ac40 x13: 000000000000037d x12: 0000000000000002
    [ 3703.031851] x11: 0000000000000000 x10: 0000000000000a60 x9 : ffff80008390b650
    [ 3703.038989] x8 : ffff7b3f0f436340 x7 : ffff7b3f3fdb2f80 x6 : 00000006e8f04852
    [ 3703.046127] x5 : 00ffffffffffffff x4 : ffff7b3f06390dc0 x3 : 0000000000000000
    [ 3703.053266] x2 : 0000000000000001 x1 : ffff7b3f06390c10 x0 : 00000000ffffffac
    [ 3703.060405] Call trace:
    [ 3703.062849] cc33xx_sdio_raw_write+0xec/0x180 [cc33xx_sdio]
    [ 3703.068426] wlcore_write+0x48/0xa8 [cc33xx]
    [ 3703.072740] __wlcore_cmd_send+0xe4/0x23c [cc33xx]
    [ 3703.077559] wlcore_cmd_send_failsafe+0x30/0xcc [cc33xx]
    [ 3703.082897] cc33xx_cmd_role_enable+0xc8/0x1dc [cc33xx]
    [ 3703.088150] cc33xx_op_add_interface+0x690/0x7c8 [cc33xx]
    [ 3703.093576] drv_add_interface+0x3c/0x84
    [ 3703.097505] ieee80211_reconfig+0x1b8/0xf98
    [ 3703.101691] ieee80211_restart_work+0x100/0x16c
    [ 3703.106224] process_one_work+0x138/0x248
    [ 3703.110236] worker_thread+0x320/0x438
    [ 3703.113987] kthread+0x110/0x114
    [ 3703.117216] ret_from_fork+0x10/0x20
    [ 3703.120794] ---[ end trace 0000000000000000 ]---
    [ 3703.125494] cc33xx_sdio mmc0:0001:2: sdio write failed (-84)
    [ 3703.131181] wlcore: ERROR failed to initiate cmd role enable
    [ 3703.136945] ------------[ cut here ]------------
    [ 3703.141565] WARNING: CPU: 3 PID: 460 at /net/mac80211/util.c:2596 ieee80211_reconfig+0x1c0/0xf98
    [ 3703.150363] Modules linked in: algif_hash algif_skcipher af_alg cc33xx fsl_jr_uio caam_jr caamkeyblob_desc caamhash_desc caamalg_desc crypto_engine authenc libdes crct10dif_ce polyval_ce polyval_generic btti_sdio btti cc33xx_sdio at24 caam secvio error imx_rpmsg_tty rpmsg_char g_ether fuse
    [ 3703.176047] CPU: 3 PID: 460 Comm: kworker/3:1 Tainted: G W 6.6.23-lts-next-g492cca1df98c #1
    [ 3703.185787] Hardware name: Testo EBP001 (DT)
    [ 3703.190057] Workqueue: events_freezable ieee80211_restart_work
    [ 3703.195895] pstate: 60000005 (nZCv daif -PAN -UAO -TCO -DIT -SSBS BTYPE=--)
    [ 3703.202858] pc : ieee80211_reconfig+0x1c0/0xf98
    [ 3703.207389] lr : ieee80211_reconfig+0x1b8/0xf98
    [ 3703.211919] sp : ffff80008390bc60
    [ 3703.215232] x29: ffff80008390bd20 x28: 0000000000000000 x27: 00000000ffffffac
    [ 3703.222371] x26: 0000000000000000 x25: ffff7b3f0f4ba940 x24: ffff7b3f06012805
    [ 3703.229511] x23: ffff7b3f0e929ad0 x22: ffff7b3f0e929f28 x21: ffff7b3f0e928900
    [ 3703.236652] x20: ffff7b3f0f700980 x19: ffff7b3f0e928900 x18: 0000000000000006
    [ 3703.243790] x17: 000000040044ffff x16: ffffa0c8c4c876dc x15: ffff80008390b5a0
    [ 3703.250928] x14: 0000000000000000 x13: ffffa0c8c5871030 x12: 0000000000001686
    [ 3703.258068] x11: 0000000000000782 x10: ffffa0c8c58c9030 x9 : ffffa0c8c5871030
    [ 3703.265207] x8 : 00000000ffffefff x7 : ffffa0c8c58c9030 x6 : c0000000fffff000
    [ 3703.272346] x5 : ffff7b3f0f435880 x4 : 0000000000000000 x3 : 0000000000000000
    [ 3703.279484] x2 : 0000000000000000 x1 : 0000000000000000 x0 : 00000000ffffffac
    [ 3703.286624] Call trace:
    [ 3703.289069] ieee80211_reconfig+0x1c0/0xf98
    [ 3703.293253] ieee80211_restart_work+0x100/0x16c
    [ 3703.297785] process_one_work+0x138/0x248
    [ 3703.301798] worker_thread+0x320/0x438
    [ 3703.305550] kthread+0x110/0x114
    [ 3703.308778] ret_from_fork+0x10/0x20
    [ 3703.312356] ---[ end trace 0000000000000000 ]---
    [ 3703.317074] wlan1: failed to remove key (1, ff:ff:ff:ff:ff:ff) from hardware (-5)
    [ 3703.324609] wlan1: failed to remove key (4, ff:ff:ff:ff:ff:ff) from hardware (-5)
    [ 3703.332356] ------------[ cut here ]------------
    [ 3703.336980] WARNING: CPU: 3 PID: 460 at /net/mac80211/driver-ops.h:926 ieee80211_del_chanctx+0xec/0xf4
    [ 3703.346298] Modules linked in: algif_hash algif_skcipher af_alg cc33xx fsl_jr_uio caam_jr caamkeyblob_desc caamhash_desc caamalg_desc crypto_engine authenc libdes crct10dif_ce polyval_ce polyval_generic btti_sdio btti cc33xx_sdio at24 caam secvio error imx_rpmsg_tty rpmsg_char g_ether fuse
    [ 3703.371983] CPU: 3 PID: 460 Comm: kworker/3:1 Tainted: G W 6.6.23-lts-next-g492cca1df98c #1
    [ 3703.381724] Hardware name: Testo EBP001 (DT)
    [ 3703.385993] Workqueue: events_freezable ieee80211_restart_work
    [ 3703.391832] pstate: 60000005 (nZCv daif -PAN -UAO -TCO -DIT -SSBS BTYPE=--)
    [ 3703.398793] pc : ieee80211_del_chanctx+0xec/0xf4
    [ 3703.403412] lr : ieee80211_free_chanctx+0x98/0xd4
    [ 3703.408119] sp : ffff80008390b9c0
    [ 3703.411431] x29: ffff80008390b9c0 x28: 0000000000000000 x27: 0000000000000000
    [ 3703.418569] x26: ffff7b3f0f700980 x25: ffff7b3f0e928900 x24: ffff7b3f0e929b30
    [ 3703.425708] x23: ffff7b3f0e928900 x22: ffff7b3f0f7018b0 x21: ffff7b3f0e928900
    [ 3703.432848] x20: ffff7b3f0e280f00 x19: ffff7b3f0e928900 x18: 0000000000000006
    [ 3703.439988] x17: 6572617764726168 x16: 206d6f7266202966 x15: 663a66663a66663a
    [ 3703.447127] x14: 00000012c98fcd1c x13: 0000000000000080 x12: 0000000000000002
    [ 3703.454265] x11: 0000000000000000 x10: 0000000000000a60 x9 : 0000000000000000
    [ 3703.461404] x8 : ffff80008390b970 x7 : ffff7b3f0e280f30 x6 : ffff7b3f0e280f20
    [ 3703.468543] x5 : ffff7b3f0e280f10 x4 : dead000000000122 x3 : ffff7b3f0e929c90
    [ 3703.475681] x2 : ffff7b3f0e929c90 x1 : 0000000000000000 x0 : ffff7b3f0e928900
    [ 3703.482819] Call trace:
    [ 3703.485265] ieee80211_del_chanctx+0xec/0xf4
    [ 3703.489540] ieee80211_free_chanctx+0x98/0xd4
    [ 3703.493898] __ieee80211_link_release_channel+0x120/0x158
    [ 3703.499299] ieee80211_link_release_channel+0x3c/0x5c
    [ 3703.504352] ieee80211_stop_ap+0x200/0x340
    [ 3703.508450] ___cfg80211_stop_ap+0x6c/0x118
    [ 3703.512635] __cfg80211_stop_ap+0x58/0xcc
    [ 3703.516644] __cfg80211_leave+0x178/0x1ac
    [ 3703.520654] cfg80211_netdev_notifier_call+0x140/0x368
    [ 3703.525792] raw_notifier_call_chain+0x54/0x74
    [ 3703.530239] call_netdevice_notifiers_info+0x58/0xa4
    [ 3703.535207] __dev_close_many+0x58/0x150
    [ 3703.539131] dev_close_many+0x8c/0x13c
    [ 3703.542882] dev_close+0x70/0x84
    [ 3703.546111] cfg80211_shutdown_all_interfaces+0x44/0xfc
    [ 3703.551337] ieee80211_restart_work+0x134/0x16c
    [ 3703.555869] process_one_work+0x138/0x248
    [ 3703.559880] worker_thread+0x320/0x438
    [ 3703.563632] kthread+0x110/0x114
    [ 3703.566860] ret_from_fork+0x10/0x20
    [ 3703.570439] ---[ end trace 0000000000000000 ]---
    wlan1: INTERFACE-DISABLED

    root@imx8mm-ebp001:/usr/share/cc33xx$ hciconfig hci0 noleadv
    [ 396.326440] Bluetooth: [bt sdio hci] TX from HCI received ,type=1, opcode: 0x200a len=4 ble_enable=1
    [ 396.335991] Bluetooth: [bt sdio] TX to SDIO sdiodev done : 08 00 00 01 0a 20 01 00
    [ 396.343714] Bluetooth: [bt sdio hci] work thread is sleeping...
    Can't set advertise mode on hci0: Connection timed out (110)
    root@imx8mm-ebp001:/usr/share/cc33xx$ [ 398.363346] Bluetooth: hci0: command tx timeout
    [ 406.490955] mmc0: Timeout waiting for hardware interrupt.
    [ 406.496373] mmc0: sdhci: ============ SDHCI REGISTER DUMP ===========
    [ 406.502814] mmc0: sdhci: Sys addr: 0x4e383710 | Version: 0x00000002
    [ 406.509254] mmc0: sdhci: Blk size: 0x00000080 | Blk cnt: 0x00000000
    [ 406.515695] mmc0: sdhci: Argument: 0x2d7ff802 | Trn mode: 0x00000033
    [ 406.522135] mmc0: sdhci: Present: 0x01f88a0a | Host ctl: 0x00000013
    [ 406.528575] mmc0: sdhci: Power: 0x00000002 | Blk gap: 0x00000080
    [ 406.535016] mmc0: sdhci: Wake-up: 0x00000008 | Clock: 0x0000003f
    [ 406.541456] mmc0: sdhci: Timeout: 0x0000008f | Int stat: 0x00000000
    [ 406.547896] mmc0: sdhci: Int enab: 0x117f100b | Sig enab: 0x117f100b
    [ 406.554335] mmc0: sdhci: ACmd stat: 0x00000000 | Slot int: 0x00000502
    [ 406.560776] mmc0: sdhci: Caps: 0x07eb0000 | Caps_1: 0x0000b400
    [ 406.567215] mmc0: sdhci: Cmd: 0x0000353a | Max curr: 0x00ffffff
    [ 406.573656] mmc0: sdhci: Resp[0]: 0x00001000 | Resp[1]: 0x00000000
    [ 406.580096] mmc0: sdhci: Resp[2]: 0x00000000 | Resp[3]: 0x00000000
    [ 406.586536] mmc0: sdhci: Host ctl2: 0x00000000
    [ 406.590978] mmc0: sdhci: ADMA Err: 0x00000007 | ADMA Ptr: 0x46738200
    [ 406.597419] mmc0: sdhci-esdhc-imx: ========= ESDHC IMX DEBUG STATUS DUMP =========
    [ 406.604987] mmc0: sdhci-esdhc-imx: cmd debug status: 0x3100
    [ 406.610645] mmc0: sdhci-esdhc-imx: data debug status: 0x3200
    [ 406.616391] mmc0: sdhci-esdhc-imx: trans debug status: 0x3300
    [ 406.622223] mmc0: sdhci-esdhc-imx: dma debug status: 0x3400
    [ 406.627882] mmc0: sdhci-esdhc-imx: adma debug status: 0x35b4
    [ 406.633628] mmc0: sdhci-esdhc-imx: fifo debug status: 0x3610
    [ 406.639373] mmc0: sdhci-esdhc-imx: async fifo debug status: 0x3751
    [ 406.645640] mmc0: sdhci: ============================================
    [ 406.652538] ------------[ cut here ]------------
    [ 406.657164] WARNING: CPU: 0 PID: 152 at /drivers/net/wireless/ti/cc33xx/sdio.c:94 cc33xx_sdio_raw_read+0xf0/0x170 [cc33xx_sdio]
    [ 406.668661] Modules linked in: algif_hash algif_skcipher af_alg fsl_jr_uio cc33xx caam_jr caamkeyblob_desc caamhash_desc caamalg_desc crypto_engine authenc libdes crct10dif_ce polyval_ce polyval_generic btti_sdio btti cc33xx_sdio at24 caam secvio error imx_rpmsg_tty rpmsg_char g_ether fuse
    [ 406.694363] CPU: 0 PID: 152 Comm: kworker/0:3 Not tainted 6.6.23-lts-next-g492cca1df98c #1
    [ 406.702630] Hardware name: Testo EBP001 (DT)
    [ 406.706900] Workqueue: events sdio_irq_work
    [ 406.711094] pstate: 20000005 (nzCv daif -PAN -UAO -TCO -DIT -SSBS BTYPE=--)
    [ 406.718058] pc : cc33xx_sdio_raw_read+0xf0/0x170 [cc33xx_sdio]
    [ 406.723900] lr : cc33xx_sdio_raw_read+0x8c/0x170 [cc33xx_sdio]
    [ 406.729742] sp : ffff80008058bc70
    [ 406.733055] x29: ffff80008058bc80 x28: 0000000000000000 x27: 0000000000000000
    [ 406.740197] x26: 0000000000000000 x25: ffff44f847d30b80 x24: 0000000000000000
    [ 406.747341] x23: 0000000000000100 x22: ffff44f84767a010 x21: ffff44f84e6cdb00
    [ 406.754485] x20: 000000000000bffc x19: ffff44f846999800 x18: 0000000000000000
    [ 406.761627] x17: 0000000000000000 x16: ffffd6af4bec5eac x15: 0000000000000000
    [ 406.768770] x14: 0000000000000000 x13: ffff44f84f2a1035 x12: 0000000000000002
    [ 406.775912] x11: fffffffe96fc1800 x10: 0000000000000a60 x9 : ffff80008058b850
    [ 406.783055] x8 : ffff44f846f7c5c0 x7 : ffff44f87fd70f80 x6 : 00000000c0000000
    [ 406.790196] x5 : ffff44f846398c40 x4 : 0000000000000000 x3 : 0000000000000001
    [ 406.797338] x2 : 0000000000000002 x1 : ffff44f846f7bb00 x0 : 00000000ffffff92
    [ 406.804480] Call trace:
    [ 406.806926] cc33xx_sdio_raw_read+0xf0/0x170 [cc33xx_sdio]
    [ 406.812421] wlcore_raw_read+0x48/0xa8 [cc33xx]
    [ 406.817002] wlcore_irq+0xe0/0x204 [cc33xx]
    [ 406.821227] irq_wrapper+0x28/0x5c [cc33xx]
    [ 406.825460] inband_irq_handler+0x24/0x34 [cc33xx_sdio]
    [ 406.830697] process_sdio_pending_irqs+0xf8/0x1b8
    [ 406.835413] sdio_irq_work+0x4c/0x80
    [ 406.838994] process_one_work+0x138/0x248
    [ 406.843010] worker_thread+0x320/0x438
    [ 406.846764] kthread+0x110/0x114
    [ 406.849996] ret_from_fork+0x10/0x20
    [ 406.853577] ---[ end trace 0000000000000000 ]---
    [ 406.858258] cc33xx_sdio mmc0:0001:2: sdio read failed (-110)
    [ 406.863973] wlcore: ERROR IO error during core status read
    [ 406.869804] wlcore: Recovery work
    [ 406.873176] wlcore: down
    [ 407.094952] Goodix-TS 1-0014: Error reading 10 bytes from 0x814e: -110
    [ 407.602945] Goodix-TS 1-0014: Error writing 1 bytes to 0x814e: -6
    [ 407.671122] IBI_WA: Read core status
    [ 407.671181] IBI_WA: Core status processed
    [ 409.690950] wlcore: ERROR boot IRQ timeout
    [ 409.699433] ieee80211 phy0: Hardware restart was requested
    [ 409.706396] ------------[ cut here ]------------
    [ 409.711022] WARNING: CPU: 3 PID: 67 at /drivers/net/wireless/ti/cc33xx/sdio.c:140 cc33xx_sdio_raw_write+0xec/0x180 [cc33xx_sdio]
    [ 409.722602] Modules linked in: algif_hash algif_skcipher af_alg fsl_jr_uio cc33xx caam_jr caamkeyblob_desc caamhash_desc caamalg_desc crypto_engine authenc libdes crct10dif_ce polyval_ce polyval_generic btti_sdio btti cc33xx_sdio at24 caam secvio error imx_rpmsg_tty rpmsg_char g_ether fuse
    [ 409.748285] CPU: 3 PID: 67 Comm: kworker/3:1 Tainted: G W 6.6.23-lts-next-g492cca1df98c #1
    [ 409.757939] Hardware name: Testo EBP001 (DT)
    [ 409.762207] Workqueue: events_freezable ieee80211_restart_work
    [ 409.768048] pstate: 20000005 (nzCv daif -PAN -UAO -TCO -DIT -SSBS BTYPE=--)
    [ 409.775010] pc : cc33xx_sdio_raw_write+0xec/0x180 [cc33xx_sdio]
    [ 409.780934] lr : cc33xx_sdio_raw_write+0xe4/0x180 [cc33xx_sdio]
    [ 409.786860] sp : ffff8000804cba70
    [ 409.790171] x29: ffff8000804cba80 x28: 0000000000000000 x27: 0000000000000000
    [ 409.797310] x26: ffff44f84f1f3ac0 x25: 0000000000000001 x24: 0000000000000001
    [ 409.804448] x23: ffff44f84f1f3ae4 x22: ffff44f84767a010 x21: 0000000000000400
    [ 409.811586] x20: 000000000000bff0 x19: ffff44f846999800 x18: ffffffffffffffff
    [ 409.818726] x17: 000000040044ffff x16: ffffd6af4bec5eac x15: 000036f3f3b3a210
    [ 409.825864] x14: 0000000000000000 x13: 0000000000000002 x12: 0000000000000002
    [ 409.833002] x11: 0000000000000000 x10: 0000000000000a60 x9 : ffff8000804cb650
    [ 409.840140] x8 : ffff44f8462045c0 x7 : ffff44f87fdb2f80 x6 : 00000000c69ae59f
    [ 409.847278] x5 : 00ffffffffffffff x4 : ffff44f8461149c0 x3 : 0000000000000000
    [ 409.854415] x2 : 0000000000000001 x1 : ffff44f846114810 x0 : 00000000ffffffac
    [ 409.861554] Call trace:
    [ 409.863999] cc33xx_sdio_raw_write+0xec/0x180 [cc33xx_sdio]
    [ 409.869576] wlcore_write+0x48/0xa8 [cc33xx]
    [ 409.873886] __wlcore_cmd_send+0xe4/0x23c [cc33xx]
    [ 409.878705] wlcore_cmd_send_failsafe+0x30/0xcc [cc33xx]
    [ 409.884045] cc33xx_cmd_role_enable+0xc8/0x1dc [cc33xx]
    [ 409.889301] cc33xx_op_add_interface+0x690/0x7c8 [cc33xx]
    [ 409.894728] drv_add_interface+0x3c/0x84
    [ 409.898656] ieee80211_reconfig+0x1b8/0xf98
    [ 409.902841] ieee80211_restart_work+0x100/0x16c
    [ 409.907375] process_one_work+0x138/0x248
    [ 409.911389] worker_thread+0x320/0x438
    [ 409.915140] kthread+0x110/0x114
    [ 409.918369] ret_from_fork+0x10/0x20
    [ 409.921946] ---[ end trace 0000000000000000 ]---
    [ 409.926609] cc33xx_sdio mmc0:0001:2: sdio write failed (-84)
    [ 409.932297] wlcore: ERROR failed to initiate cmd role enable
    [ 409.938056] ------------[ cut here ]------------
    [ 409.942675] WARNING: CPU: 3 PID: 67 at /net/mac80211/util.c:2596 ieee80211_reconfig+0x1c0/0xf98
    [ 409.951382] Modules linked in: algif_hash algif_skcipher af_alg fsl_jr_uio cc33xx caam_jr caamkeyblob_desc caamhash_desc caamalg_desc crypto_engine authenc libdes crct10dif_ce polyval_ce polyval_generic btti_sdio btti cc33xx_sdio at24 caam secvio error imx_rpmsg_tty rpmsg_char g_ether fuse
    [ 409.977066] CPU: 3 PID: 67 Comm: kworker/3:1 Tainted: G W 6.6.23-lts-next-g492cca1df98c #1
    [ 409.986719] Hardware name: Testo EBP001 (DT)
    [ 409.990988] Workqueue: events_freezable ieee80211_restart_work
    [ 409.996828] pstate: 60000005 (nZCv daif -PAN -UAO -TCO -DIT -SSBS BTYPE=--)
    [ 410.003791] pc : ieee80211_reconfig+0x1c0/0xf98
    [ 410.008324] lr : ieee80211_reconfig+0x1b8/0xf98
    [ 410.012856] sp : ffff8000804cbc60
    [ 410.016168] x29: ffff8000804cbd20 x28: 0000000000000000 x27: 00000000ffffffac
    [ 410.023306] x26: 0000000000000000 x25: ffff44f8464321c0 x24: ffff44f846012805
    [ 410.030445] x23: ffff44f84f1f1ad0 x22: ffff44f84f1f1f28 x21: ffff44f84f1f0900
    [ 410.037585] x20: ffff44f84f284980 x19: ffff44f84f1f0900 x18: 0000000000000006
    [ 410.044723] x17: 000000040044ffff x16: ffffd6af4c4876dc x15: ffff8000804cb5a0
    [ 410.051861] x14: 0000000000000000 x13: ffffd6af4d071030 x12: 0000000000001293
    [ 410.058999] x11: 0000000000000631 x10: ffffd6af4d0c9030 x9 : ffffd6af4d071030
    [ 410.066137] x8 : 00000000ffffefff x7 : ffffd6af4d0c9030 x6 : 80000000fffff000
    [ 410.073275] x5 : ffff44f846203b00 x4 : 0000000000000000 x3 : 0000000000000000
    [ 410.080412] x2 : 0000000000000000 x1 : 0000000000000000 x0 : 00000000ffffffac
    [ 410.087550] Call trace:
    [ 410.089995] ieee80211_reconfig+0x1c0/0xf98
    [ 410.094182] ieee80211_restart_work+0x100/0x16c
    [ 410.098716] process_one_work+0x138/0x248
    [ 410.102729] worker_thread+0x320/0x438
    [ 410.106479] kthread+0x110/0x114
    [ 410.109708] ret_from_fork+0x10/0x20
    [ 410.113285] ---[ end trace 0000000000000000 ]---
    [ 410.118002] wlan1: failed to remove key (1, ff:ff:ff:ff:ff:ff) from hardware (-5)
    [ 410.125536] wlan1: failed to remove key (4, ff:ff:ff:ff:ff:ff) from hardware (-5)
    [ 410.133282] ------------[ cut here ]------------
    [ 410.137904] WARNING: CPU: 3 PID: 67 at /net/mac80211/driver-ops.h:926 ieee80211_del_chanctx+0xec/0xf4
    [ 410.147135] Modules linked in: algif_hash algif_skcipher af_alg fsl_jr_uio cc33xx caam_jr caamkeyblob_desc caamhash_desc caamalg_desc crypto_engine authenc libdes crct10dif_ce polyval_ce polyval_generic btti_sdio btti cc33xx_sdio at24 caam secvio error imx_rpmsg_tty rpmsg_char g_ether fuse
    [ 410.172821] CPU: 3 PID: 67 Comm: kworker/3:1 Tainted: G W 6.6.23-lts-next-g492cca1df98c #1
    [ 410.182474] Hardware name: Testo EBP001 (DT)
    [ 410.186742] Workqueue: events_freezable ieee80211_restart_work
    [ 410.192581] pstate: 60000005 (nZCv daif -PAN -UAO -TCO -DIT -SSBS BTYPE=--)
    [ 410.199543] pc : ieee80211_del_chanctx+0xec/0xf4
    [ 410.204161] lr : ieee80211_free_chanctx+0x98/0xd4
    [ 410.208866] sp : ffff8000804cb9c0
    [ 410.212177] x29: ffff8000804cb9c0 x28: 0000000000000000 x27: 0000000000000000
    [ 410.219316] x26: ffff44f84f284980 x25: ffff44f84f1f0900 x24: ffff44f84f1f1b30
    [ 410.226454] x23: ffff44f84f1f0900 x22: ffff44f84f2858b0 x21: ffff44f84f1f0900
    [ 410.233593] x20: ffff44f84e666840 x19: ffff44f84f1f0900 x18: 0000000000000006
    [ 410.240731] x17: 6572617764726168 x16: 206d6f7266202966 x15: 663a66663a66663a
    [ 410.247871] x14: 00000013efe941aa x13: 00000000000001be x12: 0000000000000002
    [ 410.255012] x11: 0000000000000001 x10: 0000000000000a60 x9 : 0000000000000000
    [ 410.262150] x8 : ffff8000804cb970 x7 : ffff44f84e666870 x6 : ffff44f84e666860
    [ 410.269289] x5 : ffff44f84e666850 x4 : dead000000000122 x3 : ffff44f84f1f1c90
    [ 410.276427] x2 : ffff44f84f1f1c90 x1 : 0000000000000000 x0 : ffff44f84f1f0900
    [ 410.283567] Call trace:
    [ 410.286012] ieee80211_del_chanctx+0xec/0xf4
    [ 410.290285] ieee80211_free_chanctx+0x98/0xd4
    [ 410.294643] __ieee80211_link_release_channel+0x120/0x158
    [ 410.300044] ieee80211_link_release_channel+0x3c/0x5c
    [ 410.305097] ieee80211_stop_ap+0x200/0x340
    [ 410.309195] ___cfg80211_stop_ap+0x6c/0x118
    [ 410.313379] __cfg80211_stop_ap+0x58/0xcc
    [ 410.317388] __cfg80211_leave+0x178/0x1ac
    [ 410.321399] cfg80211_netdev_notifier_call+0x140/0x368
    [ 410.326538] raw_notifier_call_chain+0x54/0x74
    [ 410.330985] call_netdevice_notifiers_info+0x58/0xa4
    [ 410.335953] __dev_close_many+0x58/0x150
    [ 410.339878] dev_close_many+0x8c/0x13c
    [ 410.343628] dev_close+0x70/0x84
    [ 410.346858] cfg80211_shutdown_all_interfaces+0x44/0xfc
    [ 410.352083] ieee80211_restart_work+0x134/0x16c
    [ 410.356616] process_one_work+0x138/0x248
    [ 410.360627] worker_thread+0x320/0x438
    [ 410.364377] kthread+0x110/0x114
    [ 410.367606] ret_from_fork+0x10/0x20
    [ 410.371185] ---[ end trace 0000000000000000 ]---
    wlan1: INTERFACE-DISABLED

    Try to restart AP:

    root@imx8mm-ebp001:/usr/share/cc33xx$ ./ap_stop.sh
    Terminating DHCP
    Terminating hostapd
    wlan1: interface state ENABLED->DISABLED
    wlan1: AP-DISABLED
    wlan1: CTRL-EVENT-TERMINATING
    nl80211: deinit ifname=wlan1 disabled_11b_rates=0

    root@imx8mm-ebp001:/usr/share/cc33xx$ ./ap_start.sh
    adding wlan1 interface
    rfkill: Cannot open RFKILL contro[ 4014.159616] wlcore: ERROR failed to initiate cmd role enable
    l device
    Could not set interface wlan1 flags (UP): Input/output error
    nl80211: Could not set interface 'wlan1' UP
    nl80211: deinit ifname=wlan1 disabled_11b_rates=0
    nl80211 driver initialization failed.
    wlan1: interface state UNINITIALIZED->DISABLED
    wlan1: AP-DISABLED
    wlan1: CTRL-EVENT-TERMINATING
    hostapd_free_hapd_data: Interface wlan1 wasn't started
    [ 4015.156633] wlcore: ERROR failed to initiate cmd role enable
    ifconfig: SIOCSIFFLAGS: Input/output error

    Remove and reinstall kernel module:

    root@imx8mm-ebp001:/usr/share/cc33xx$ rmmod cc33xx
    root@imx8mm-ebp001:/usr/share/cc33xx$ rmmod cc33xx_sdio
    root@imx8mm-ebp001:/usr/share/cc33xx$ modprobe cc33xx
    root@imx8mm-ebp001:/usr/share/cc33xx$ lsmod
    Module Size Used by
    cc33xx 266240 0
    algif_hash 12288 1
    algif_skcipher 12288 1
    af_alg 28672 6 algif_hash,algif_skcipher
    fsl_jr_uio 12288 0
    caam_jr 159744 2
    caamkeyblob_desc 12288 1 caam_jr
    caamhash_desc 12288 1 caam_jr
    caamalg_desc 36864 1 caam_jr
    crypto_engine 24576 1 caam_jr
    authenc 12288 1 caam_jr
    libdes 20480 1 caam_jr
    crct10dif_ce 12288 1
    polyval_ce 12288 0
    polyval_generic 12288 1 polyval_ce
    btti_sdio 16384 0
    btti 12288 1 btti_sdio
    at24 16384 0
    caam 24576 1 caam_jr
    secvio 16384 0
    error 20480 7 caamalg_desc,secvio,caamkeyblob_desc,caamhash_desc,caam,caam_jr,fsl_jr_uio
    imx_rpmsg_tty 12288 0
    rpmsg_char 20480 0
    g_ether 16384 0
    fuse 135168 1
    root@imx8mm-ebp001:/usr/share/cc33xx$ modprobe cc33xx_sdio
    [ 4115.365757] cc33xx_sdio mmc0:0001:2: Using SDIO in-band IRQ
    [ 4115.373807] cc33xx_driver cc33xx.1.auto: Direct firmware load for ti-connectivity/cc33xx-nvs.bin failed with error -2
    [ 4115.384515] cc33xx_driver cc33xx.1.auto: Falling back to sysfs fallback for: ti-connectivity/cc33xx-nvs.bin

    This doesn't work.

    The firmware on the chip is crashed and the following messages repeat forever.

    [ 4177.084555] IBI_WA: Read core status
    [ 4177.084623] IBI_WA: Core status processed
    [ 4177.084946] wlcore: WARNING illegal id in tx completion: 0
    [ 4177.097736] fwInfo local:00000000: 0000006b 80800000 80008080 80000000
    [ 4177.104277] fwInfo local:00000010: 00808000 80000080 00000080 80808000
    [ 4177.110822] fwInfo local:00000020: 80008000 00008080 00808080 00008080
    [ 4177.117359] fwInfo local:00000030: 81808080 80800080 80008080 00800000
    [ 4177.123897] fwInfo local:00000040: 00808000 80808000 80808000 00800000
    [ 4177.130434] fwInfo local:00000050: 00808000 80808080 00008080 00808080
    [ 4177.136972] fwInfo local:00000060: 00000080 80800000 00000080 00808000
    [ 4177.143508] fwInfo local:00000070: 00000000 ffffffff fff9ffff 04030204
    [ 4177.150045] fwInfo local:00000080: 00800a0a
    [ 4177.154238] wlcore: WARNING illegal id in tx completion: 0
    [ 4177.159736] fwInfo local:00000000: 0000006b 80800000 80008080 80000000
    [ 4177.166272] fwInfo local:00000010: 00808000 80000080 00000080 80808000
    [ 4177.172810] fwInfo local:00000020: 80008000 00008080 00808080 00008080
    [ 4177.179348] fwInfo local:00000030: 81808080 80800080 80008080 00800000
    [ 4177.185885] fwInfo local:00000040: 00808000 80808000 80808000 00800000
    [ 4177.192425] fwInfo local:00000050: 00808000 80808080 00008080 00808080
    [ 4177.198965] fwInfo local:00000060: 00000080 80800000 00000080 00808000
    [ 4177.205507] fwInfo local:00000070: 00000000 ffffffff fff9ffff 04030204
    [ 4177.212054] fwInfo local:00000080: 00800a0a
    ...

    What happens if I reboot? Reboot is ok, it reloads the firmware and seems to restart the CC3351.

  • Hi,

    So yes the bluetooth UART drivers are not included for k6.6. We are working to address this. However, I am glad you were able to get the BT working over SDIO. 

    As for the FW crash, could you try using our 1.0.0.6 release on the Beaglebone Black or AM62x hardware? This would atleast tell me if we have already resolved this issue. There have been many fixes on the BT side since the 1.0.0.4 release. 

  • Can you give a date when the BT UART drivers are planned to be available?
    Thank you very much!

  • Hi Phillipp, 

    We do have BT UART drivers available, they are just in the CC33xx SDK here: https://www.ti.com/tool/download/CC33XX-LINUX-MPU 

    I'm also providing a patch that enables bluetooth based off the commits you cherry picked 0001-bluetooth-add-cc33xx-ble-driver-and-debugfs.patch

  • Hi Sabeeh,

    Hmm, I've tried using the Bluetooth patch, but it doesn't seem to react as expected.

    When using it via SDIO, I see that it initializes when the kernel is booting

    [   12.432608] cc33xx_sdio mmc0:0001:2: Using SDIO in-band IRQ
    [   12.461824] Bluetooth: [bt sdio] BLE SDIO init module
    [   12.534436] Bluetooth: [bt sdio] PROBE vendor=0x97, device=0x4077, class=255, fn=1 0xffff153346922000
    [   12.565592] Bluetooth: [bt sdio hci] btti_hci_add_sdio_dev
    [   12.572170] Bluetooth: [bt sdio hci] Starting work thread...
    [   12.584035] Bluetooth: [bt sdio hci] work thread is started
    [   12.593048] Bluetooth: [bt sdio] TI cc33xx BLE-over-SDIO driver is up and running!
    [   12.605874] Bluetooth: [bt sdio hci] work thread is sleeping...
    but after running ap_start.sh and ble_enable.sh I don't see the expected messages in dmesg like the ones I see with the 1.0.0.4 driver.
    i.e. I don't see this for BLE:
    root@imx8mm-ebp001:/usr/share/cc33xx$ ./ble_enable.sh
    root@imx8mm-ebp001:/usr/share/cc33xx$ [  298.805707] Bluetooth: [bt sdio] RX btti_sdio_irq_handler received
    [  298.812272] Bluetooth: [bt sdio] RX packet_len:10 packet_type:255 packet header hex: 0a 00 00 ff
    [  298.816046] systemd-journald[148]: Sent WATCHDOG=1 notification.
    [  298.821140] Bluetooth: [bt sdio] RX packet , packet data(without header) hex: ff 02 04 2a 00 00 ef ef
    [  298.836331] Bluetooth: [bt sdio] vendor packet received
    [  298.841570] Bluetooth: [bt sdio] vendor packet- ble is up
    I'm using the following nodes to attach it to the USDHC controller on our i.MX8M Mini.
    btti: btti@1 {
    compatible = "ti,cc33xxbt"; // Use with TI sources from upstream 6.6 port
    reg = <1>;
    };

    wlcore: wlcore@2 {
    // compatible = "ti,cc33xx"; // Use with 1.0.0.4 - 1.0.0.6 drivers
    compatible = "ti,cc3351"; // Use with TI sources from upstream 6.6 port
    reg = <2>;
    };
    The WiFi still works fine via SDIO, but somehow the BLE thread doesn't wake up when ble_enable.sh is run?
    I tried attaching the driver to the UART with 
    &uart1 { /* cc33xx bluetooth */
    pinctrl-names = "default";
    pinctrl-0 = <&pinctrl_uart1>;

    // rts-gpios = <&gpio4 23 GPIO_ACTIVE_LOW>;
    // cts-gpios = <&gpio4 24 GPIO_ACTIVE_LOW>;
    uart-has-rtscts;
    // fsl,dte-mode;

    status = "okay";

    bluetooth {
    compatible = "ti,cc33xx-bt";
    cc33xx-supply = <&reg_wlan_en>;
    max-speed = <115200>;
    };
    };
    But that also didn't work.