M2-CC3351: CC33XX kernel patch for lf-6.12.y

Part Number: M2-CC3351
Other Parts Discussed in Thread: CC3351

Tool/software:

Hi,

The patch in ti/cc33xx_linux_package_1_0_2_10/cc33xx/patches/cc33xx_kernel.patch was created against lf-6.1.y.
I can only partialy apply it, some files changed between lf-6.1.y and lf-6.12.y and causes the patch to fail on them.

Could you provide us with an updated patch for 6.12?
thx,
Robbin
rdamm@PC-G502T14:~/Documents/projects/linux-imx (lf-6.12.y)$ patch -p0 < ../../../ti/cc33xx_linux_package_1_0_2_10/cc33xx/patches/cc33xx_kernel.patch 
patching file drivers/net/wireless/ti/Kconfig
patching file drivers/net/wireless/ti/Makefile
Hunk #1 FAILED at 3.
1 out of 1 hunk FAILED -- saving rejects to file drivers/net/wireless/ti/Makefile.rej
patching file drivers/net/wireless/ti/cc33xx/Kconfig
patching file drivers/net/wireless/ti/cc33xx/Makefile
patching file drivers/net/wireless/ti/cc33xx/acx.c
patching file drivers/net/wireless/ti/cc33xx/acx.h
patching file drivers/net/wireless/ti/cc33xx/boot.c
patching file drivers/net/wireless/ti/cc33xx/boot.h
patching file drivers/net/wireless/ti/cc33xx/cc33xx_80211.h
patching file drivers/net/wireless/ti/cc33xx/cmd.c
patching file drivers/net/wireless/ti/cc33xx/cmd.h
patching file drivers/net/wireless/ti/cc33xx/conf_cc33xx.h
patching file drivers/net/wireless/ti/cc33xx/debug.h
patching file drivers/net/wireless/ti/cc33xx/debugfs.c
patching file drivers/net/wireless/ti/cc33xx/debugfs.h
patching file drivers/net/wireless/ti/cc33xx/event.c
patching file drivers/net/wireless/ti/cc33xx/event.h
patching file drivers/net/wireless/ti/cc33xx/init.c
patching file drivers/net/wireless/ti/cc33xx/init.h
patching file drivers/net/wireless/ti/cc33xx/io.c
patching file drivers/net/wireless/ti/cc33xx/io.h
patching file drivers/net/wireless/ti/cc33xx/main.c
patching file drivers/net/wireless/ti/cc33xx/ps.c
patching file drivers/net/wireless/ti/cc33xx/ps.h
patching file drivers/net/wireless/ti/cc33xx/rx.c
patching file drivers/net/wireless/ti/cc33xx/rx.h
patching file drivers/net/wireless/ti/cc33xx/scan.c
patching file drivers/net/wireless/ti/cc33xx/scan.h
patching file drivers/net/wireless/ti/cc33xx/sdio.c
patching file drivers/net/wireless/ti/cc33xx/spi.c
patching file drivers/net/wireless/ti/cc33xx/sysfs.c
patching file drivers/net/wireless/ti/cc33xx/sysfs.h
patching file drivers/net/wireless/ti/cc33xx/testmode.c
patching file drivers/net/wireless/ti/cc33xx/testmode.h
patching file drivers/net/wireless/ti/cc33xx/tx.c
patching file drivers/net/wireless/ti/cc33xx/tx.h
patching file drivers/net/wireless/ti/cc33xx/wlcore.h
patching file drivers/net/wireless/ti/cc33xx/wlcore_i.h
patching file drivers/bluetooth/Kconfig
Hunk #1 succeeded at 383 (offset 37 lines).
patching file drivers/bluetooth/Makefile
Hunk #1 succeeded at 19 with fuzz 2 (offset 2 lines).
Hunk #2 succeeded at 39 (offset 3 lines).
patching file drivers/bluetooth/btti_debugfs.c
patching file drivers/bluetooth/btti_drv.h
patching file drivers/bluetooth/btti_main.c
patching file drivers/bluetooth/btti_sdio.c
patching file drivers/bluetooth/btti_sdio.h
patching file drivers/bluetooth/btti_uart.c
patching file drivers/tty/serial/8250/8250_omap.c
Reversed (or previously applied) patch detected!  Assume -R? [n] n
Apply anyway? [n] n
Skipping patch.
1 out of 1 hunk ignored -- saving rejects to file drivers/tty/serial/8250/8250_omap.c.rej
patching file net/mac80211/mlme.c
Hunk #1 FAILED at 235.
Hunk #2 succeeded at 1447 (offset 475 lines).
Hunk #3 succeeded at 1558 with fuzz 2 (offset 476 lines).
Hunk #4 succeeded at 1853 (offset 463 lines).
Hunk #5 FAILED at 4638.
Hunk #6 FAILED at 4769.
Hunk #7 FAILED at 4779.
4 out of 7 hunks FAILED -- saving rejects to file net/mac80211/mlme.c.rej
patching file net/mac80211/util.c
Hunk #1 succeeded at 1202 with fuzz 2 (offset -641 lines).
Hunk #2 FAILED at 1966.
1 out of 2 hunks FAILED -- saving rejects to file net/mac80211/util.c.rej
patching file net/mac80211/wpa.c
Hunk #1 succeeded at 547 with fuzz 2 (offset 9 lines).
Hunk #2 succeeded at 576 with fuzz 2 (offset 10 lines).
Hunk #3 succeeded at 746 with fuzz 2 (offset 12 lines).
Hunk #4 succeeded at 776 with fuzz 2 (offset 13 lines).
rdamm@PC-G502T14:~/Documents/projects/linux-imx (lf-6.12.y)$ git st
On branch lf-6.12.y
Your branch is up to date with 'origin/lf-6.12.y'.

Changes not staged for commit:
  (use "git add <file>..." to update what will be committed)
  (use "git restore <file>..." to discard changes in working directory)
	modified:   drivers/bluetooth/Kconfig
	modified:   drivers/bluetooth/Makefile
	modified:   drivers/net/wireless/ti/Kconfig
	modified:   net/mac80211/mlme.c
	modified:   net/mac80211/util.c
	modified:   net/mac80211/wpa.c

Untracked files:
  (use "git add <file>..." to include in what will be committed)
	drivers/bluetooth/Kconfig.orig
	drivers/bluetooth/Makefile.orig
	drivers/bluetooth/btti_debugfs.c
	drivers/bluetooth/btti_drv.h
	drivers/bluetooth/btti_main.c
	drivers/bluetooth/btti_sdio.c
	drivers/bluetooth/btti_sdio.h
	drivers/bluetooth/btti_uart.c
	drivers/net/wireless/ti/Makefile.orig
	drivers/net/wireless/ti/Makefile.rej
	drivers/net/wireless/ti/cc33xx/
	drivers/tty/serial/8250/8250_omap.c.rej
	net/mac80211/mlme.c.orig
	net/mac80211/mlme.c.rej
	net/mac80211/util.c.orig
	net/mac80211/util.c.rej
	net/mac80211/wpa.c.orig

  • Hi Robin,

    What you are seeing is the expected output.

    Steps are:

    1. Apply the patch from the cc33xx SDK, which yes it is based on kernel 6.1 and will cause errors. 

    2. Then apply the forward patch for 6.12.y, which should correct any errors. (patch -p1 < ...https://github.com/TexasInstruments-Sandbox/cc33xx-linux-mpu-ports/blob/main/6.12.y/0001-drivers-cc33xx-forward-port-cc33xx-1.0.2.10-SDK-to-6.patch)

    So, please continue by applying the 6.12.y patch and let me know if you continue to experience issues.

  • Hi,

    Ok i proceeded like you described.

    After applying the second patch to correct the errors of the first one on 6.12.y, still had compilation errors.
    I had to create a 3th patch to get it to build (added it as attachment).

    After that, I was able to build.

    The i changed our device-tree based on the device-tree patch in the 6.1.y folder.
    Added the yocto recipe to fetch the latest firmware-files.

    Now we have a wlan0 interface.

    My next question now is a bit: 
    How to enable concurrent mode AP and STA?
    I expected 2 interfaces here, but i need to configure it somewhere?

    From 37151b636dcc070ac615b7b42c1596dd628ed204 Mon Sep 17 00:00:00 2001
    From: Robbin Van Damme <robbin.vandamme@renson.be>
    Date: Fri, 10 Oct 2025 13:41:17 +0000
    Subject: [PATCH] fixes to get cc33xx to build
    
    Upstream-Status: Inappropriate [embedded specific]
    Signed-off-by: Robbin Van Damme <robbin.vandamme@renson.be>
    
    ---
     drivers/net/wireless/ti/cc33xx/debugfs.c | 6 +++---
     drivers/net/wireless/ti/cc33xx/debugfs.h | 1 +
     drivers/net/wireless/ti/cc33xx/spi.c     | 4 ++--
     drivers/net/wireless/ti/wlcore/tx.c      | 6 +++---
     4 files changed, 9 insertions(+), 8 deletions(-)
    
    diff --git a/drivers/net/wireless/ti/cc33xx/debugfs.c b/drivers/net/wireless/ti/cc33xx/debugfs.c
    index a250e91532ec..d475ac369ad4 100644
    --- a/drivers/net/wireless/ti/cc33xx/debugfs.c
    +++ b/drivers/net/wireless/ti/cc33xx/debugfs.c
    @@ -251,12 +251,12 @@ static const struct file_operations radar_debug_mode_ops = {
     	.llseek = default_llseek,
     };
     
    -static void cc33xx_debugfs_add_files_helper(struct dentry *moddir)
    +void cc33xx_debugfs_add_files_helper(struct cc33xx *wl, struct dentry *moddir)
     {
     	DEBUGFS_ADD(radar_debug_mode, moddir);
     }
     #else
    -static void cc33xx_debugfs_add_files_helper(struct dentry *moddir) {}
    +static void cc33xx_debugfs_add_files_helper(struct cc33xx *wl, struct dentry *moddir) {}
     #endif /* CFG80211_CERTIFICATION_ONUS */
     
     
    @@ -1998,7 +1998,7 @@ static int cc33xx_debugfs_add_files(struct cc33xx *wl,
     
     	DEBUGFS_ADD(conf, moddir);
     	DEBUGFS_ADD(radar_detection, moddir);
    -	cc33xx_debugfs_add_files_helper(moddir);
    +	cc33xx_debugfs_add_files_helper(wl, moddir);
     	DEBUGFS_ADD(dynamic_fw_traces, moddir);
     
     	return 0;
    diff --git a/drivers/net/wireless/ti/cc33xx/debugfs.h b/drivers/net/wireless/ti/cc33xx/debugfs.h
    index fb413a260922..0242c770707d 100644
    --- a/drivers/net/wireless/ti/cc33xx/debugfs.h
    +++ b/drivers/net/wireless/ti/cc33xx/debugfs.h
    @@ -19,6 +19,7 @@ int cc33xx_debugfs_init(struct cc33xx *wl);
     void cc33xx_debugfs_exit(struct cc33xx *wl);
     void cc33xx_debugfs_reset(struct cc33xx *wl);
     void cc33xx_debugfs_update_stats(struct cc33xx *wl);
    +void cc33xx_debugfs_add_files_helper(struct cc33xx *wl, struct dentry *moddir);
     
     #define DEBUGFS_FORMAT_BUFFER_SIZE 256
     
    diff --git a/drivers/net/wireless/ti/cc33xx/spi.c b/drivers/net/wireless/ti/cc33xx/spi.c
    index 691970355df7..9e46feeeaad7 100644
    --- a/drivers/net/wireless/ti/cc33xx/spi.c
    +++ b/drivers/net/wireless/ti/cc33xx/spi.c
    @@ -74,7 +74,7 @@ static void __cc33xx_spi_lock(struct cc33xx_spi_glue *glue)
     {
     	if (glue->locking_pid != current->pid)
     	{
    -		spi_bus_lock(to_spi_device(glue->dev)->master);
    +		spi_bus_lock(to_spi_device(glue->dev)->controller);
     		glue->locking_pid = current->pid;
     		glue->lock_count = 1;
     	} else {
    @@ -90,7 +90,7 @@ static void __cc33xx_spi_unlock(struct cc33xx_spi_glue *glue)
     	glue->lock_count--;
     	if (!glue->lock_count){
     		glue->locking_pid = 0;
    -		spi_bus_unlock(to_spi_device(glue->dev)->master);
    +		spi_bus_unlock(to_spi_device(glue->dev)->controller);
     	}
     }
     
    diff --git a/drivers/net/wireless/ti/wlcore/tx.c b/drivers/net/wireless/ti/wlcore/tx.c
    index 464587d16ab2..21714121de64 100644
    --- a/drivers/net/wireless/ti/wlcore/tx.c
    +++ b/drivers/net/wireless/ti/wlcore/tx.c
    @@ -173,7 +173,7 @@ u8 wl12xx_tx_get_hlid(struct wl1271 *wl, struct wl12xx_vif *wlvif,
     	return wlvif->sta.hlid;
     }
     
    -unsigned int wlcore_calc_packet_alignment(struct wl1271 *wl,
    +unsigned int cc33xx_calc_packet_alignment(struct wl1271 *wl,
     					  unsigned int packet_length)
     {
     	if ((wl->quirks & WLCORE_QUIRK_TX_PAD_LAST_FRAME) ||
    @@ -182,7 +182,7 @@ unsigned int wlcore_calc_packet_alignment(struct wl1271 *wl,
     	else
     		return ALIGN(packet_length, WL12XX_BUS_BLOCK_SIZE);
     }
    -EXPORT_SYMBOL(wlcore_calc_packet_alignment);
    +EXPORT_SYMBOL(cc33xx_calc_packet_alignment);
     
     static int wl1271_tx_allocate(struct wl1271 *wl, struct wl12xx_vif *wlvif,
     			      struct sk_buff *skb, u32 extra, u32 buf_offset,
    @@ -421,7 +421,7 @@ static int wl1271_prepare_tx_frame(struct wl1271 *wl, struct wl12xx_vif *wlvif,
     	 * In special cases, we want to align to a specific block size
     	 * (eg. for wl128x with SDIO we align to 256).
     	 */
    -	total_len = wlcore_calc_packet_alignment(wl, skb->len);
    +	total_len = cc33xx_calc_packet_alignment(wl, skb->len);
     
     	memcpy(wl->aggr_buf + buf_offset, skb->data, skb->len);
     	memset(wl->aggr_buf + buf_offset + skb->len, 0, total_len - skb->len);
    -- 
    2.43.0
    
    
    


    Kind regards,

    Robbin

  • Hello Robbin,

    Good to hear you were able to get the patch working. 

    By default the linux driver will create a wlan0 interface, but it will not create a wlan1. You can create a wlan1 for the AP by starting hostapd, and then the wlan0 interface can be used for your STA interface in conjunction with wpa_supplicant. 

    We have an example script in our SDK called 'ap_start.sh' that demonstrates how to create the wlan1 interface. See cc33xx_rootfs/usr/share/cc33xx/ap_start.sh.

  • Hi,

    1. I was able to bring the AP wlan1 interface up manually with:
    /usr/sbin/iw phy $(ls /sys/class/ieee80211/) interface add wlan1 type managed
    We do this before starting our user-space wiif-app. But is there no way to like bring it up automatically when de firmware/driver gets loaded?

    2. Second thing, creating an AP without security, looks like it works. I could connect to it also.
    However, when i create an AP with security WPA2, de driver goes a bit crazy. I also can't connect to it.
    The logs are in attachment.

    [   32.819013] wlcore: ERROR FW is stuck, triggering recovery
    [   34.846685] wlcore: ERROR Could not add or replace key
    [   34.852279] wlan1: failed to set key (1, ff:ff:ff:ff:ff:ff) to hardware (-5)
    [   45.022579] mmc2: Timeout waiting for hardware interrupt.
    [   45.027992] mmc2: sdhci: ============ SDHCI REGISTER DUMP ===========
    [   45.034419] mmc2: sdhci: Sys addr:  0xfd600000 | Version:  0x00000002
    [   45.040848] mmc2: sdhci: Blk size:  0x00000008 | Blk cnt:  0x00000001
    [   45.047279] mmc2: sdhci: Argument:  0x25a6f008 | Trn mode: 0x00000013
    [   45.053710] mmc2: sdhci: Present:   0x01fd820e | Host ctl: 0x00000012
    [   45.060140] mmc2: sdhci: Power:     0x00000002 | Blk gap:  0x00000080
    [   45.066571] mmc2: sdhci: Wake-up:   0x00000008 | Clock:    0x000001df
    [   45.073001] mmc2: sdhci: Timeout:   0x0000008b | Int stat: 0x00000000
    [   45.079423] mmc2: sdhci: Int enab:  0x117f100b | Sig enab: 0x117f100b
    [   45.085854] mmc2: sdhci: ACmd stat: 0x00000000 | Slot int: 0x00000502
    [   45.092285] mmc2: sdhci: Caps:      0x07eb0000 | Caps_1:   0x0000b400
    [   45.098715] mmc2: sdhci: Cmd:       0x0000353a | Max curr: 0x00ffffff
    [   45.105137] mmc2: sdhci: Resp[0]:   0x00001100 | Resp[1]:  0x00000000
    [   45.111559] mmc2: sdhci: Resp[2]:   0x00000000 | Resp[3]:  0x00000000
    [   45.117979] mmc2: sdhci: Host ctl2: 0x00000000
    [   45.122410] mmc2: sdhci: ADMA Err:  0x00000003 | ADMA Ptr: 0x85793204
    [   45.128841] mmc2: sdhci-esdhc-imx: ========= ESDHC IMX DEBUG STATUS DUMP =========
    [   45.136398] mmc2: sdhci-esdhc-imx: cmd debug status:  0x3100
    [   45.142049] mmc2: sdhci-esdhc-imx: data debug status:  0x32a0
    [   45.147775] mmc2: sdhci-esdhc-imx: trans debug status:  0x33a0
    [   45.153599] mmc2: sdhci-esdhc-imx: dma debug status:  0x3400
    [   45.159241] mmc2: sdhci-esdhc-imx: adma debug status:  0x35b4
    [   45.164970] mmc2: sdhci-esdhc-imx: fifo debug status:  0x3680
    [   45.170707] mmc2: sdhci-esdhc-imx: async fifo debug status:  0x3750
    [   45.176958] mmc2: sdhci: ============================================
    [   45.183972] cc33xx_sdio mmc2:0001:2: sdio read failed (-110)
    [   45.290681] wlan1: failed to set key (4, ff:ff:ff:ff:ff:ff) to hardware (-11)
    [   48.250915] wlcore: ERROR FW is stuck, triggering recovery
    [   50.270617] wlcore: ERROR Could not add or replace key
    [   50.275836] wlan1: failed to set key (1, ff:ff:ff:ff:ff:ff) to hardware (-5)
    [   60.382643] mmc2: Timeout waiting for hardware interrupt.
    [   60.388054] mmc2: sdhci: ============ SDHCI REGISTER DUMP ===========
    [   60.394482] mmc2: sdhci: Sys addr:  0xfd600800 | Version:  0x00000002
    [   60.400911] mmc2: sdhci: Blk size:  0x00000008 | Blk cnt:  0x00000001
    [   60.407334] mmc2: sdhci: Argument:  0x25a6f008 | Trn mode: 0x00000013
    [   60.413765] mmc2: sdhci: Present:   0x01fd820e | Host ctl: 0x00000012
    [   60.420195] mmc2: sdhci: Power:     0x00000002 | Blk gap:  0x00000080
    [   60.426625] mmc2: sdhci: Wake-up:   0x00000008 | Clock:    0x000001df
    [   60.433047] mmc2: sdhci: Timeout:   0x0000008b | Int stat: 0x00000000
    [   60.439469] mmc2: sdhci: Int enab:  0x117f100b | Sig enab: 0x117f100b
    [   60.445900] mmc2: sdhci: ACmd stat: 0x00000000 | Slot int: 0x00000502
    [   60.452322] mmc2: sdhci: Caps:      0x07eb0000 | Caps_1:   0x0000b400
    [   60.458753] mmc2: sdhci: Cmd:       0x0000353a | Max curr: 0x00ffffff
    [   60.465183] mmc2: sdhci: Resp[0]:   0x00001100 | Resp[1]:  0x00000000
    [   60.471605] mmc2: sdhci: Resp[2]:   0x00000000 | Resp[3]:  0x00000000
    [   60.478036] mmc2: sdhci: Host ctl2: 0x00000000
    [   60.482465] mmc2: sdhci: ADMA Err:  0x00000003 | ADMA Ptr: 0x85793204
    [   60.488896] mmc2: sdhci-esdhc-imx: ========= ESDHC IMX DEBUG STATUS DUMP =========
    [   60.496453] mmc2: sdhci-esdhc-imx: cmd debug status:  0x3100
    [   60.502101] mmc2: sdhci-esdhc-imx: data debug status:  0x32a0
    [   60.507832] mmc2: sdhci-esdhc-imx: trans debug status:  0x33a2
    [   60.513645] mmc2: sdhci-esdhc-imx: dma debug status:  0x3400
    [   60.519287] mmc2: sdhci-esdhc-imx: adma debug status:  0x35b4
    [   60.525016] mmc2: sdhci-esdhc-imx: fifo debug status:  0x3680
    [   60.530744] mmc2: sdhci-esdhc-imx: async fifo debug status:  0x3750
    [   60.536995] mmc2: sdhci: ============================================
    [   60.543941] cc33xx_sdio mmc2:0001:2: sdio read failed (-110)
    [   60.656412] wlan1: failed to set key (4, ff:ff:ff:ff:ff:ff) to hardware (-11)
    [   63.605968] wlcore: ERROR FW is stuck, triggering recovery
    [   65.630696] wlcore: ERROR Could not add or replace key
    [   65.635919] wlan1: failed to set key (1, ff:ff:ff:ff:ff:ff) to hardware (-5)
    [   75.742593] mmc2: Timeout waiting for hardware interrupt.
    [   75.748005] mmc2: sdhci: ============ SDHCI REGISTER DUMP ===========
    [   75.754432] mmc2: sdhci: Sys addr:  0xfd601000 | Version:  0x00000002
    [   75.760862] mmc2: sdhci: Blk size:  0x00000008 | Blk cnt:  0x00000001
    [   75.767293] mmc2: sdhci: Argument:  0x25a6f008 | Trn mode: 0x00000013
    [   75.773724] mmc2: sdhci: Present:   0x01fd820e | Host ctl: 0x00000012
    [   75.780154] mmc2: sdhci: Power:     0x00000002 | Blk gap:  0x00000080
    [   75.786584] mmc2: sdhci: Wake-up:   0x00000008 | Clock:    0x000001df
    [   75.793007] mmc2: sdhci: Timeout:   0x0000008b | Int stat: 0x00000000
    [   75.799429] mmc2: sdhci: Int enab:  0x117f100b | Sig enab: 0x117f100b
    [   75.805851] mmc2: sdhci: ACmd stat: 0x00000000 | Slot int: 0x00000502
    [   75.812273] mmc2: sdhci: Caps:      0x07eb0000 | Caps_1:   0x0000b400
    [   75.818703] mmc2: sdhci: Cmd:       0x0000353a | Max curr: 0x00ffffff
    [   75.825134] mmc2: sdhci: Resp[0]:   0x00001100 | Resp[1]:  0x00000000
    [   75.831553] mmc2: sdhci: Resp[2]:   0x00000000 | Resp[3]:  0x00000000
    [   75.837978] mmc2: sdhci: Host ctl2: 0x00000000
    [   75.842407] mmc2: sdhci: ADMA Err:  0x00000003 | ADMA Ptr: 0x85793204
    [   75.848838] mmc2: sdhci-esdhc-imx: ========= ESDHC IMX DEBUG STATUS DUMP =========
    [   75.856395] mmc2: sdhci-esdhc-imx: cmd debug status:  0x3100
    [   75.862045] mmc2: sdhci-esdhc-imx: data debug status:  0x32a0
    [   75.867772] mmc2: sdhci-esdhc-imx: trans debug status:  0x33a2
    [   75.873596] mmc2: sdhci-esdhc-imx: dma debug status:  0x3400
    [   75.879238] mmc2: sdhci-esdhc-imx: adma debug status:  0x35b4
    [   75.884966] mmc2: sdhci-esdhc-imx: fifo debug status:  0x3680
    [   75.890704] mmc2: sdhci-esdhc-imx: async fifo debug status:  0x3750
    [   75.896955] mmc2: sdhci: ============================================
    [   75.903980] cc33xx_sdio mmc2:0001:2: sdio read failed (-110)
    [   76.010708] wlan1: failed to set key (4, ff:ff:ff:ff:ff:ff) to hardware (-11)
    



    kinds regards,

    Robbin


  • Hello Robbin,

    But is there no way to like bring it up automatically when de firmware/driver gets loaded?

    No, we currently do not have such ability as not every user desires this behavior. 

    However, when i create an AP with security WPA2, de driver goes a bit crazy. I also can't connect to it.

    Could you please share the hostapd.conf file associated with this? I would like to replicate your issue.

  • Hi,

    Well, could you provide use a working hostapd.conf? 
    We are not using hostapd but as a test I could give it a try.

    In the end, we need to get it to work with NetworkManager. Our user-space application communicates over DBUS with NetworkManager.
    That one uses wpa-supplicant.

    I could also reproduce the issue creating the connection with "nmcli":


    The command:

    nmcli conn add con-name wlan1_ap ifname wlan1 type wifi ssid MyAP mode ap wifi.band bg \
    ipv4.method manual ipv6.method disabled connection.autoconnect yes ipv4.addresses 192.168.99.1/24 \
    802-11-wireless-security.key-mgmt wpa-psk 802-11-wireless-security.psk "MySecretPass"

    When creating the connection, it immediately goes wrong.
    Then i remove the connection agai, we get a lot of:
    [ 346.793817] wlcore: ERROR IO error during core status read

     
    I added the complete logfile in attachment.

    kind regards,
    Robbin
    EVK93--250918D0001:~# nmcli conn add con-name wlan1_ap ifname wlan1 type wifi ssid MyAP mode ap wifi.band bg \
    connect yes ipv4.addresses 192.168.99.1/24 \
      802-11-wireless-security.key-mgmt wpa-psk 802-11-wireless-security.psk "MySecretPass">   ipv4.method manual ipv6.method disabled connection.autoconnect yes ipv4.addresses 192.168.99.1/24 \
    >   802-11-wireless-security.key-mgmt wpa-psk 802-11-wireless-security.psk "MySecretPass"
    Connection 'wlan1_ap' (91fb2fe5-1b86-433e-9348-40669d304ef2) successfully added.
    EVK93--250918D0001:~# [  268.891061] wlcore: ERROR FW is stuck, triggering recovery
    [  270.914713] wlcore: ERROR Could not add or replace key
    [  270.919912] wlan1: failed to set key (1, ff:ff:ff:ff:ff:ff) to hardware (-5)
    [  281.058693] mmc2: Timeout waiting for hardware interrupt.
    [  281.064103] mmc2: sdhci: ============ SDHCI REGISTER DUMP ===========
    [  281.070531] mmc2: sdhci: Sys addr:  0xfd700000 | Version:  0x00000002
    [  281.076960] mmc2: sdhci: Blk size:  0x00000008 | Blk cnt:  0x00000001
    [  281.083382] mmc2: sdhci: Argument:  0x25a6f008 | Trn mode: 0x00000013
    [  281.089813] mmc2: sdhci: Present:   0x01fd820e | Host ctl: 0x00000012
    [  281.096243] mmc2: sdhci: Power:     0x00000002 | Blk gap:  0x00000080
    [  281.102665] mmc2: sdhci: Wake-up:   0x00000008 | Clock:    0x000001df
    [  281.109096] mmc2: sdhci: Timeout:   0x0000008b | Int stat: 0x00000000
    [  281.115527] mmc2: sdhci: Int enab:  0x117f100b | Sig enab: 0x117f100b
    [  281.121958] mmc2: sdhci: ACmd stat: 0x00000000 | Slot int: 0x00000502
    [  281.128388] mmc2: sdhci: Caps:      0x07eb0000 | Caps_1:   0x0000b400
    [  281.134819] mmc2: sdhci: Cmd:       0x0000353a | Max curr: 0x00ffffff
    [  281.141249] mmc2: sdhci: Resp[0]:   0x00001100 | Resp[1]:  0x00000000
    [  281.147671] mmc2: sdhci: Resp[2]:   0x00000000 | Resp[3]:  0x00000000
    [  281.154093] mmc2: sdhci: Host ctl2: 0x00000000
    [  281.158522] mmc2: sdhci: ADMA Err:  0x00000003 | ADMA Ptr: 0x84b2e204
    [  281.164953] mmc2: sdhci-esdhc-imx: ========= ESDHC IMX DEBUG STATUS DUMP =========
    [  281.172510] mmc2: sdhci-esdhc-imx: cmd debug status:  0x3100
    [  281.178160] mmc2: sdhci-esdhc-imx: data debug status:  0x32a0
    [  281.183887] mmc2: sdhci-esdhc-imx: trans debug status:  0x33a2
    [  281.189711] mmc2: sdhci-esdhc-imx: dma debug status:  0x3400
    [  281.195353] mmc2: sdhci-esdhc-imx: adma debug status:  0x35b4
    [  281.201082] mmc2: sdhci-esdhc-imx: fifo debug status:  0x3680
    [  281.206819] mmc2: sdhci-esdhc-imx: async fifo debug status:  0x3750
    [  281.213070] mmc2: sdhci: ============================================
    [  281.220021] cc33xx_sdio mmc2:0001:2: sdio read failed (-110)
    [  281.332473] wlan1: failed to set key (4, ff:ff:ff:ff:ff:ff) to hardware (-11)
    [  284.281888] wlcore: ERROR FW is stuck, triggering recovery
    [  286.306720] wlcore: ERROR Could not add or replace key
    [  286.312268] wlan1: failed to set key (1, ff:ff:ff:ff:ff:ff) to hardware (-5)
    [  296.418642] mmc2: Timeout waiting for hardware interrupt.
    [  296.424054] mmc2: sdhci: ============ SDHCI REGISTER DUMP ===========
    [  296.430482] mmc2: sdhci: Sys addr:  0xfd700800 | Version:  0x00000002
    [  296.436908] mmc2: sdhci: Blk size:  0x00000008 | Blk cnt:  0x00000001
    [  296.443341] mmc2: sdhci: Argument:  0x25a6f008 | Trn mode: 0x00000013
    [  296.449772] mmc2: sdhci: Present:   0x01fd820e | Host ctl: 0x00000012
    [  296.456203] mmc2: sdhci: Power:     0x00000002 | Blk gap:  0x00000080
    [  296.462633] mmc2: sdhci: Wake-up:   0x00000008 | Clock:    0x000001df
    [  296.469055] mmc2: sdhci: Timeout:   0x0000008b | Int stat: 0x00000000
    [  296.475478] mmc2: sdhci: Int enab:  0x117f100b | Sig enab: 0x117f100b
    [  296.481908] mmc2: sdhci: ACmd stat: 0x00000000 | Slot int: 0x00000502
    [  296.488330] mmc2: sdhci: Caps:      0x07eb0000 | Caps_1:   0x0000b400
    [  296.494760] mmc2: sdhci: Cmd:       0x0000353a | Max curr: 0x00ffffff
    [  296.501182] mmc2: sdhci: Resp[0]:   0x00001100 | Resp[1]:  0x00000000
    [  296.507602] mmc2: sdhci: Resp[2]:   0x00000000 | Resp[3]:  0x00000000
    [  296.514027] mmc2: sdhci: Host ctl2: 0x00000000
    [  296.518456] mmc2: sdhci: ADMA Err:  0x00000003 | ADMA Ptr: 0x84b2e204
    [  296.524886] mmc2: sdhci-esdhc-imx: ========= ESDHC IMX DEBUG STATUS DUMP =========
    [  296.532444] mmc2: sdhci-esdhc-imx: cmd debug status:  0x3100
    [  296.538092] mmc2: sdhci-esdhc-imx: data debug status:  0x32a0
    [  296.543823] mmc2: sdhci-esdhc-imx: trans debug status:  0x33a2
    [  296.549644] mmc2: sdhci-esdhc-imx: dma debug status:  0x3400
    [  296.555286] mmc2: sdhci-esdhc-imx: adma debug status:  0x35b4
    [  296.561023] mmc2: sdhci-esdhc-imx: fifo debug status:  0x3680
    [  296.566761] mmc2: sdhci-esdhc-imx: async fifo debug status:  0x3750
    [  296.573020] mmc2: sdhci: ============================================
    [  296.580140] cc33xx_sdio mmc2:0001:2: sdio read failed (-110)
    [  296.692444] wlan1: failed to set key (4, ff:ff:ff:ff:ff:ff) to hardware (-11)
    [  299.641471] wlcore: ERROR FW is stuck, triggering recovery
    [  301.666685] wlcore: ERROR Could not add or replace key
    [  301.672216] wlan1: failed to set key (1, ff:ff:ff:ff:ff:ff) to hardware (-5)
    
    EVK93--250918D0001:~# 
    EVK93--250918D0001:~# 
    EVK93--250918D0001:~# 
    EVK93--250918D0001:~# 
    EVK93--250918D0001:~# 
    EVK93--250918D0001:~# 
    EVK93--250918D0001:~# 
    EVK93--250918D0001:~# 
    EVK93--250918D0001:~# 
    EVK93--250918D0001:~# 
    EVK93--250918D0001:~# 
    EVK93--250918D0001:~# 
    EVK93--250918D0001:~# 
    EVK93--250918D0001:~# [  311.778634] mmc2: Timeout waiting for hardware interrupt.
    [  311.784048] mmc2: sdhci: ============ SDHCI REGISTER DUMP ===========
    [  311.790475] mmc2: sdhci: Sys addr:  0xfd701000 | Version:  0x00000002
    [  311.796904] mmc2: sdhci: Blk size:  0x00000008 | Blk cnt:  0x00000001
    [  311.803336] mmc2: sdhci: Argument:  0x25a6f008 | Trn mode: 0x00000013
    [  311.809766] mmc2: sdhci: Present:   0x01fd820e | Host ctl: 0x00000012
    [  311.816197] mmc2: sdhci: Power:     0x00000002 | Blk gap:  0x00000080
    [  311.822625] mmc2: sdhci: Wake-up:   0x00000008 | Clock:    0x000001df
    [  311.829058] mmc2: sdhci: Timeout:   0x0000008b | Int stat: 0x00000000
    [  311.835489] mmc2: sdhci: Int enab:  0x117f100b | Sig enab: 0x117f100b
    [  311.841917] mmc2: sdhci: ACmd stat: 0x00000000 | Slot int: 0x00000502
    [  311.848342] mmc2: sdhci: Caps:      0x07eb0000 | Caps_1:   0x0000b400
    [  311.854772] mmc2: sdhci: Cmd:       0x0000353a | Max curr: 0x00ffffff
    [  311.861202] mmc2: sdhci: Resp[0]:   0x00001100 | Resp[1]:  0x00000000
    [  311.867624] mmc2: sdhci: Resp[2]:   0x00000000 | Resp[3]:  0x00000000
    [  311.874047] mmc2: sdhci: Host ctl2: 0x00000000
    [  311.878476] mmc2: sdhci: ADMA Err:  0x00000003 | ADMA Ptr: 0x84b2e204
    [  311.884906] mmc2: sdhci-esdhc-imx: ========= ESDHC IMX DEBUG STATUS DUMP =========
    [  311.892464] mmc2: sdhci-esdhc-imx: cmd debug status:  0x3100
    [  311.898114] mmc2: sdhci-esdhc-imx: data debug status:  0x32a0
    [  311.903840] mmc2: sdhci-esdhc-imx: trans debug status:  0x33a2
    [  311.909664] mmc2: sdhci-esdhc-imx: dma debug status:  0x3400
    [  311.915306] mmc2: sdhci-esdhc-imx: adma debug status:  0x35b4
    [  311.921035] mmc2: sdhci-esdhc-imx: fifo debug status:  0x3680
    [  311.926772] mmc2: sdhci-esdhc-imx: async fifo debug status:  0x3750
    [  311.933023] mmc2: sdhci: ============================================
    [  311.939940] cc33xx_sdio mmc2:0001:2: sdio read failed (-110)
    [  312.052558] wlan1: failed to set key (4, ff:ff:ff:ff:ff:ff) to hardware (-11)
    
    EVK93--250918D0001:~# 
    EVK93--250918D0001:~# 
    EVK93--250918D0001:~# 
    EVK93--250918D0001:~# nmcli [  314.976998] wlcore: ERROR FW is stuck, triggering recovery
    c de[  316.994668] wlcore: ERROR Could not add or replace key
    [  317.000221] wlan1: failed to set key (1, ff:ff:ff:ff:ff:ff) to hardware (-5)
    ^C 
    EVK93--250918D0001:~# nm[  327.138631] mmc2: Timeout waiting for hardware interrupt.
    [  327.144042] mmc2: sdhci: ============ SDHCI REGISTER DUMP ===========
    [  327.150470] mmc2: sdhci: Sys addr:  0xfd600000 | Version:  0x00000002
    [  327.156898] mmc2: sdhci: Blk size:  0x00000008 | Blk cnt:  0x00000001
    [  327.163329] mmc2: sdhci: Argument:  0x25a6f008 | Trn mode: 0x00000013
    [  327.169760] mmc2: sdhci: Present:   0x01fd820e | Host ctl: 0x00000012
    [  327.176191] mmc2: sdhci: Power:     0x00000002 | Blk gap:  0x00000080
    [  327.182621] mmc2: sdhci: Wake-up:   0x00000008 | Clock:    0x000001df
    [  327.189052] mmc2: sdhci: Timeout:   0x0000008b | Int stat: 0x00000000
    [  327.195482] mmc2: sdhci: Int enab:  0x117f100b | Sig enab: 0x117f100b
    [  327.201913] mmc2: sdhci: ACmd stat: 0x00000000 | Slot int: 0x00000502
    [  327.208336] mmc2: sdhci: Caps:      0x07eb0000 | Caps_1:   0x0000b400
    [  327.214766] mmc2: sdhci: Cmd:       0x0000353a | Max curr: 0x00ffffff
    [  327.221188] mmc2: sdhci: Resp[0]:   0x00001100 | Resp[1]:  0x00000000
    [  327.227610] mmc2: sdhci: Resp[2]:   0x00000000 | Resp[3]:  0x00000000
    [  327.234032] mmc2: sdhci: Host ctl2: 0x00000000
    [  327.238461] mmc2: sdhci: ADMA Err:  0x00000003 | ADMA Ptr: 0x84b2e204
    [  327.244892] mmc2: sdhci-esdhc-imx: ========= ESDHC IMX DEBUG STATUS DUMP =========
    [  327.252449] mmc2: sdhci-esdhc-imx: cmd debug status:  0x3100
    [  327.258099] mmc2: sdhci-esdhc-imx: data debug status:  0x32a0
    [  327.263825] mmc2: sdhci-esdhc-imx: trans debug status:  0x33a0
    [  327.269649] mmc2: sdhci-esdhc-imx: dma debug status:  0x3400
    [  327.275291] mmc2: sdhci-esdhc-imx: adma debug status:  0x35b4
    [  327.281020] mmc2: sdhci-esdhc-imx: fifo debug status:  0x3680
    [  327.286757] mmc2: sdhci-esdhc-imx: async fifo debug status:  0x3750
    [  327.293008] mmc2: sdhci: ============================================
    [  327.300012] cc33xx_sdio mmc2:0001:2: sdio read failed (-110)
    [  327.406732] wlan1: failed to set key (4, ff:ff:ff:ff:ff:ff) to hardware (-11)
    nmc[  330.361167] wlcore: ERROR FW is stuck, triggering recovery
    li c
    NAME                UUID                                  TYPE      DEVICE 
    Wired connection 2  fab74711-a28b-3228-abe7-17f9af7c367d  ethernet  eth1   
    wlan1_ap            91fb2fe5-1b86-433e-9348-40669d304ef2  wifi      wlan1  
    lo                  3b03f436-6ac9-4b8a-ad96-a6e9ff1b85e6  loopback  lo     
    IoTWifi             e42fc8ee-934a-4254-8ff1-a8173b773e59  wifi      --     
    Wired connection 1  ab727606-3bf5-3dd6-8abc-d358f61212a2  ethernet  --     
    EVK93--250918D0001:~# [  332.386767] wlcore: ERROR Could not add or replace key
    [  332.392382] wlan1: failed to set key (1, ff:ff:ff:ff:ff:ff) to hardware (-5)
    nmcli c del wlan1_ap
    Connection 'wlan1_ap' (91fb2fe5-1b86-433e-9348-40669d304ef2) successfully deleted.
    EVK93--250918D0001:~# [  342.498642] mmc2: Timeout waiting for hardware interrupt.
    [  342.504053] mmc2: sdhci: ============ SDHCI REGISTER DUMP ===========
    [  342.510480] mmc2: sdhci: Sys addr:  0xfd701800 | Version:  0x00000002
    [  342.516910] mmc2: sdhci: Blk size:  0x00000008 | Blk cnt:  0x00000001
    [  342.523341] mmc2: sdhci: Argument:  0x25a6f008 | Trn mode: 0x00000013
    [  342.529772] mmc2: sdhci: Present:   0x01fd820e | Host ctl: 0x00000012
    [  342.536202] mmc2: sdhci: Power:     0x00000002 | Blk gap:  0x00000080
    [  342.542632] mmc2: sdhci: Wake-up:   0x00000008 | Clock:    0x000001df
    [  342.549054] mmc2: sdhci: Timeout:   0x0000008b | Int stat: 0x00000000
    [  342.555476] mmc2: sdhci: Int enab:  0x117f100b | Sig enab: 0x117f100b
    [  342.561907] mmc2: sdhci: ACmd stat: 0x00000000 | Slot int: 0x00000502
    [  342.568329] mmc2: sdhci: Caps:      0x07eb0000 | Caps_1:   0x0000b400
    [  342.574759] mmc2: sdhci: Cmd:       0x0000353a | Max curr: 0x00ffffff
    [  342.581182] mmc2: sdhci: Resp[0]:   0x00001100 | Resp[1]:  0x00000000
    [  342.587610] mmc2: sdhci: Resp[2]:   0x00000000 | Resp[3]:  0x00000000
    [  342.594043] mmc2: sdhci: Host ctl2: 0x00000000
    [  342.598472] mmc2: sdhci: ADMA Err:  0x00000003 | ADMA Ptr: 0x84b2e204
    [  342.604903] mmc2: sdhci-esdhc-imx: ========= ESDHC IMX DEBUG STATUS DUMP =========
    [  342.612459] mmc2: sdhci-esdhc-imx: cmd debug status:  0x3100
    [  342.618099] mmc2: sdhci-esdhc-imx: data debug status:  0x32a0
    [  342.623828] mmc2: sdhci-esdhc-imx: trans debug status:  0x33a2
    [  342.629652] mmc2: sdhci-esdhc-imx: dma debug status:  0x3400
    [  342.635294] mmc2: sdhci-esdhc-imx: adma debug status:  0x35b4
    [  342.641025] mmc2: sdhci-esdhc-imx: fifo debug status:  0x3680
    [  342.646751] mmc2: sdhci-esdhc-imx: async fifo debug status:  0x3750
    [  342.653002] mmc2: sdhci: ============================================
    [  342.659950] cc33xx_sdio mmc2:0001:2: sdio read failed (-110)
    [  342.772513] wlan1: failed to set key (4, ff:ff:ff:ff:ff:ff) to hardware (-11)
    [  342.803465] cc33xx_sdio mmc2:0001:2: sdio write failed (-110)
    [  342.809243] wlcore: ERROR failed to initiate cmd role enable
    [  342.843684] wlcore: ERROR failed to initiate cmd role enable
    [  343.593748] wlcore: ERROR IO error during core status read
    [  343.599282] wlcore: ERROR IO error during core status read
    [  343.604798] wlcore: ERROR IO error during core status read
    [  343.610296] wlcore: ERROR IO error during core status read
    [  343.615794] wlcore: ERROR IO error during core status read
    [  343.621289] wlcore: ERROR IO error during core status read
    [  343.626778] wlcore: ERROR IO error during core status read
    [  343.632265] wlcore: ERROR IO error during core status read
    [  343.637749] wlcore: ERROR IO error during core status read
    [  343.643240] wlcore: ERROR IO error during core status read
    [  343.648735] wlcore: ERROR IO error during core status read
    [  343.654238] wlcore: ERROR IO error during core status read
    [  343.659730] wlcore: ERROR IO error during core status read
    [  343.665631] wlcore: ERROR IO error during core status read
    [  343.671147] wlcore: ERROR IO error during core status read
    [  343.676663] wlcore: ERROR IO error during core status read
    [  343.682153] wlcore: ERROR IO error during core status read
    [  343.687672] wlcore: ERROR IO error during core status read
    [  343.693168] wlcore: ERROR IO error during core status read
    [  343.698666] wlcore: ERROR IO error during core status read
    [  343.704155] wlcore: ERROR IO error during core status read
    [  343.709648] wlcore: ERROR IO error during core status read
    [  343.715138] wlcore: ERROR IO error during core status read
    [  343.720634] wlcore: ERROR IO error during core status read
    [  343.726127] wlcore: ERROR IO error during core status read
    [  343.731629] wlcore: ERROR IO error during core status read
    [  343.737130] wlcore: ERROR IO error during core status read
    [  343.742629] wlcore: ERROR IO error during core status read
    [  343.748120] wlcore: ERROR IO error during core status read
    [  343.753608] wlcore: ERROR IO error during core status read
    [  343.759099] wlcore: ERROR IO error during core status read
    [  343.764589] wlcore: ERROR IO error during core status read
    [  343.770098] wlcore: ERROR IO error during core status read
    [  343.775595] wlcore: ERROR IO error during core status read
    [  343.781105] wlcore: ERROR IO error during core status read
    [  343.786597] wlcore: ERROR IO error during core status read
    [  343.792089] wlcore: ERROR IO error during core status read
    [  343.797650] wlcore: ERROR IO error during core status read
    [  343.803142] wlcore: ERROR IO error during core status read
    [  343.808636] wlcore: ERROR IO error during core status read
    [  343.814128] wlcore: ERROR IO error during core status read
    [  343.819624] wlcore: ERROR IO error during core status read
    [  343.825116] wlcore: ERROR IO error during core status read
    [  343.830606] wlcore: ERROR IO error during core status read
    [  343.836098] wlcore: ERROR IO error during core status read
    [  343.841726] wlcore: ERROR IO error during core status read
    [  343.847243] wlcore: ERROR IO error during core status read
    [  343.852747] wlcore: ERROR IO error during core status read
    [  343.858246] wlcore: ERROR IO error during core status read
    [  343.863740] wlcore: ERROR IO error during core status read
    [  343.869231] wlcore: ERROR IO error during core status read
    [  343.874743] wlcore: ERROR IO error during core status read
    [  343.880236] wlcore: ERROR IO error during core status read
    [  343.885724] wlcore: ERROR IO error during core status read
    [  343.891220] wlcore: ERROR IO error during core status read
    [  343.896716] wlcore: ERROR IO error during core status read
    [  343.902206] wlcore: ERROR IO error during core status read
    [  343.907698] wlcore: ERROR IO error during core status read
    [  343.913186] wlcore: ERROR IO error during core status read
    [  343.918678] wlcore: ERROR IO error during core status read
    [  343.924255] wlcore: ERROR IO error during core status read
    [  343.929759] wlcore: ERROR IO error during core status read
    [  343.935253] wlcore: ERROR IO error during core status read
    [  343.940753] wlcore: ERROR IO error during core status read
    [  343.946244] wlcore: ERROR IO error during core status read
    [  343.951741] wlcore: ERROR IO error during core status read
    [  343.957239] wlcore: ERROR IO error during core status read
    [  343.962736] wlcore: ERROR IO error during core status read
    [  343.968230] wlcore: ERROR IO error during core status read
    [  343.973736] wlcore: ERROR IO error during core status read
    [  343.979237] wlcore: ERROR IO error during core status read
    [  343.984734] wlcore: ERROR IO error during core status read
    [  343.990226] wlcore: ERROR IO error during core status read
    [  343.995789] wlcore: ERROR IO error during core status read
    [  344.001288] wlcore: ERROR IO error during core status read
    [  344.006782] wlcore: ERROR IO error during core status read
    [  344.012274] wlcore: ERROR IO error during core status read
    [  344.017771] wlcore: ERROR IO error during core status read
    [  344.023264] wlcore: ERROR IO error during core status read
    [  344.028761] wlcore: ERROR IO error during core status read
    [  344.034251] wlcore: ERROR IO error during core status read
    [  344.039751] wlcore: ERROR IO error during core status read
    [  344.045241] wlcore: ERROR IO error during core status read
    [  344.050730] wlcore: ERROR IO error during core status read
    [  344.056222] wlcore: ERROR IO error during core status read
    [  344.061722] wlcore: ERROR IO error during core status read
    [  344.067220] wlcore: ERROR IO error during core status read
    [  344.072736] wlcore: ERROR IO error during core status read
    [  344.078228] wlcore: ERROR IO error during core status read
    [  344.083727] wlcore: ERROR IO error during core status read
    [  344.089214] wlcore: ERROR IO error during core status read
    [  344.094711] wlcore: ERROR IO error during core status read
    [  344.100215] wlcore: ERROR IO error during core status read
    [  344.105713] wlcore: ERROR IO error during core status read
    [  344.111205] wlcore: ERROR IO error during core status read
    [  344.116702] wlcore: ERROR IO error during core status read
    [  344.122193] wlcore: ERROR IO error during core status read
    [  344.127693] wlcore: ERROR IO error during core status read
    [  344.133181] wlcore: ERROR IO error during core status read
    [  344.138668] wlcore: ERROR IO error during core status read
    [  344.144161] wlcore: ERROR IO error during core status read
    [  344.149653] wlcore: ERROR IO error during core status read
    [  344.155143] wlcore: ERROR IO error during core status read
    [  344.160642] wlcore: ERROR IO error during core status read
    [  344.166134] wlcore: ERROR IO error during core status read
    [  344.171634] wlcore: ERROR IO error during core status read
    [  344.177141] wlcore: ERROR IO error during core status read
    [  344.182648] wlcore: ERROR IO error during core status read
    [  344.188139] wlcore: ERROR IO error during core status read
    [  344.193633] wlcore: ERROR IO error during core status read
    [  344.199136] wlcore: ERROR IO error during core status read
    [  344.204637] wlcore: ERROR IO error during core status read
    [  344.210124] wlcore: ERROR IO error during core status read
    [  344.215614] wlcore: ERROR IO error during core status read
    [  344.221113] wlcore: ERROR IO error during core status read
    [  344.226606] wlcore: ERROR IO error during core status read
    [  344.232095] wlcore: ERROR IO error during core status read
    [  344.237594] wlcore: ERROR IO error during core status read
    [  344.243084] wlcore: ERROR IO error during core status read
    [  344.248583] wlcore: ERROR IO error during core status read
    [  344.254074] wlcore: ERROR IO error during core status read
    [  344.259566] wlcore: ERROR IO error during core status read
    [  344.265052] wlcore: ERROR IO error during core status read
    [  344.270660] wlcore: ERROR IO error during core status read
    [  344.276297] wlcore: ERROR IO error during core status read
    [  344.281910] wlcore: ERROR IO error during core status read
    [  344.287423] wlcore: ERROR IO error during core status read
    [  344.292925] wlcore: ERROR IO error during core status read
    [  344.298554] wlcore: ERROR IO error during core status read
    [  344.304094] wlcore: ERROR IO error during core status read
    [  344.309584] wlcore: ERROR IO error during core status read
    [  344.315083] wlcore: ERROR IO error during core status read
    [  344.320571] wlcore: ERROR IO error during core status read
    [  344.326065] wlcore: ERROR IO error during core status read
    [  344.331555] wlcore: ERROR IO error during core status read
    [  344.337052] wlcore: ERROR IO error during core status read
    [  344.342549] wlcore: ERROR IO error during core status read
    [  344.348046] wlcore: ERROR IO error during core status read
    [  344.353539] wlcore: ERROR IO error during core status read
    [  344.359030] wlcore: ERROR IO error during core status read
    [  344.364520] wlcore: ERROR IO error during core status read
    [  344.370010] wlcore: ERROR IO error during core status read
    [  344.375507] wlcore: ERROR IO error during core status read
    [  344.381186] wlcore: ERROR IO error during core status read
    [  344.386697] wlcore: ERROR IO error during core status read
    [  344.392194] wlcore: ERROR IO error during core status read
    [  344.397708] wlcore: ERROR IO error during core status read
    [  344.403216] wlcore: ERROR IO error during core status read
    [  344.408711] wlcore: ERROR IO error during core status read
    [  344.414199] wlcore: ERROR IO error during core status read
    [  344.419689] wlcore: ERROR IO error during core status read
    [  344.425179] wlcore: ERROR IO error during core status read
    [  344.430667] wlcore: ERROR IO error during core status read
    [  344.436159] wlcore: ERROR IO error during core status read
    [  344.441653] wlcore: ERROR IO error during core status read
    [  344.447140] wlcore: ERROR IO error during core status read
    [  344.452629] wlcore: ERROR IO error during core status read
    [  344.458121] wlcore: ERROR IO error during core status read
    [  344.463624] wlcore: ERROR IO error during core status read
    [  344.469109] wlcore: ERROR IO error during core status read
    [  344.474609] wlcore: ERROR IO error during core status read
    [  344.480103] wlcore: ERROR IO error during core status read
    [  344.485601] wlcore: ERROR IO error during core status read
    [  344.491089] wlcore: ERROR IO error during core status read
    [  344.496581] wlcore: ERROR IO error during core status read
    [  344.502068] wlcore: ERROR IO error during core status read
    [  344.507571] wlcore: ERROR IO error during core status read
    [  344.513062] wlcore: ERROR IO error during core status read
    [  344.518557] wlcore: ERROR IO error during core status read
    [  344.524063] wlcore: ERROR IO error during core status read
    [  344.529560] wlcore: ERROR IO error during core status read
    [  344.535044] wlcore: ERROR IO error during core status read
    [  344.540536] wlcore: ERROR IO error during core status read
    [  344.546027] wlcore: ERROR IO error during core status read
    [  344.551520] wlcore: ERROR IO error during core status read
    [  344.557005] wlcore: ERROR IO error during core status read
    [  344.562500] wlcore: ERROR IO error during core status read
    [  344.567989] wlcore: ERROR IO error during core status read
    [  344.573479] wlcore: ERROR IO error during core status read
    [  344.578975] wlcore: ERROR IO error during core status read
    [  344.584473] wlcore: ERROR IO error during core status read
    [  344.589967] wlcore: ERROR IO error during core status read
    [  344.595458] wlcore: ERROR IO error during core status read
    [  344.600949] wlcore: ERROR IO error during core status read
    [  344.606448] wlcore: ERROR IO error during core status read
    [  344.611938] wlcore: ERROR IO error during core status read
    [  344.617499] wlcore: ERROR IO error during core status read
    [  344.623000] wlcore: ERROR IO error during core status read
    [  344.628495] wlcore: ERROR IO error during core status read
    [  344.633985] wlcore: ERROR IO error during core status read
    [  344.639476] wlcore: ERROR IO error during core status read
    [  344.644971] wlcore: ERROR IO error during core status read
    [  344.650465] wlcore: ERROR IO error during core status read
    [  344.655953] wlcore: ERROR IO error during core status read
    [  344.661446] wlcore: ERROR IO error during core status read
    [  344.666937] wlcore: ERROR IO error during core status read
    [  344.672435] wlcore: ERROR IO error during core status read
    [  344.677932] wlcore: ERROR IO error during core status read
    [  344.683429] wlcore: ERROR IO error during core status read
    [  344.688922] wlcore: ERROR IO error during core status read
    [  344.694417] wlcore: ERROR IO error during core status read
    [  344.699902] wlcore: ERROR IO error during core status read
    [  344.705404] wlcore: ERROR IO error during core status read
    [  344.710892] wlcore: ERROR IO error during core status read
    [  344.716385] wlcore: ERROR IO error during core status read
    [  344.721875] wlcore: ERROR IO error during core status read
    [  344.727382] wlcore: ERROR IO error during core status read
    [  344.732874] wlcore: ERROR IO error during core status read
    [  344.738371] wlcore: ERROR IO error during core status read
    [  344.743861] wlcore: ERROR IO error during core status read
    [  344.749350] wlcore: ERROR IO error during core status read
    [  344.754842] wlcore: ERROR IO error during core status read
    [  344.760331] wlcore: ERROR IO error during core status read
    [  344.765825] wlcore: ERROR IO error during core status read
    [  344.771326] wlcore: ERROR IO error during core status read
    [  344.776817] wlcore: ERROR IO error during core status read
    [  344.782312] wlcore: ERROR IO error during core status read
    [  344.787804] wlcore: ERROR IO error during core status read
    [  344.793300] wlcore: ERROR IO error during core status read
    [  344.798843] wlcore: ERROR IO error during core status read
    [  344.804358] wlcore: ERROR IO error during core status read
    [  344.809850] wlcore: ERROR IO error during core status read
    [  344.815347] wlcore: ERROR IO error during core status read
    [  344.820836] wlcore: ERROR IO error during core status read
    [  344.826338] wlcore: ERROR IO error during core status read
    [  344.831830] wlcore: ERROR IO error during core status read
    [  344.837345] wlcore: ERROR IO error during core status read
    [  344.842907] wlcore: ERROR IO error during core status read
    [  344.848425] wlcore: ERROR IO error during core status read
    [  344.853926] wlcore: ERROR IO error during core status read
    [  344.859416] wlcore: ERROR IO error during core status read
    [  344.864910] wlcore: ERROR IO error during core status read
    [  344.870406] wlcore: ERROR IO error during core status read
    [  344.875901] wlcore: ERROR IO error during core status read
    [  344.881399] wlcore: ERROR IO error during core status read
    [  344.886885] wlcore: ERROR IO error during core status read
    [  344.892372] wlcore: ERROR IO error during core status read
    [  344.897856] wlcore: ERROR IO error during core status read
    [  344.903351] wlcore: ERROR IO error during core status read
    [  344.908837] wlcore: ERROR IO error during core status read
    [  344.914326] wlcore: ERROR IO error during core status read
    [  344.919809] wlcore: ERROR IO error during core status read
    [  344.925302] wlcore: ERROR IO error during core status read
    [  344.930790] wlcore: ERROR IO error during core status read
    [  344.936281] wlcore: ERROR IO error during core status read
    [  344.941770] wlcore: ERROR IO error during core status read
    [  344.947257] wlcore: ERROR IO error during core status read
    [  344.952745] wlcore: ERROR IO error during core status read
    [  344.958241] wlcore: ERROR IO error during core status read
    [  344.963736] wlcore: ERROR IO error during core status read
    [  344.969228] wlcore: ERROR IO error during core status read
    [  344.974710] wlcore: ERROR IO error during core status read
    [  344.980204] wlcore: ERROR IO error during core status read
    [  344.985699] wlcore: ERROR IO error during core status read
    [  344.991190] wlcore: ERROR IO error during core status read
    [  344.996674] wlcore: ERROR IO error during core status read
    [  345.002161] wlcore: ERROR IO error during core status read
    [  345.007645] wlcore: ERROR IO error during core status read
    [  345.013132] wlcore: ERROR IO error during core status read
    [  345.018702] wlcore: ERROR IO error during core status read
    [  345.024201] wlcore: ERROR IO error during core status read
    [  345.029687] wlcore: ERROR IO error during core status read
    [  345.035171] wlcore: ERROR IO error during core status read
    [  345.040659] wlcore: ERROR IO error during core status read
    [  345.046148] wlcore: ERROR IO error during core status read
    [  345.051641] wlcore: ERROR IO error during core status read
    [  345.057132] wlcore: ERROR IO error during core status read
    [  345.062640] wlcore: ERROR IO error during core status read
    [  345.068129] wlcore: ERROR IO error during core status read
    [  345.073616] wlcore: ERROR IO error during core status read
    [  345.079109] wlcore: ERROR IO error during core status read
    [  345.084599] wlcore: ERROR IO error during core status read
    [  345.090085] wlcore: ERROR IO error during core status read
    [  345.095570] wlcore: ERROR IO error during core status read
    [  345.101060] wlcore: ERROR IO error during core status read
    [  345.106555] wlcore: ERROR IO error during core status read
    [  345.112048] wlcore: ERROR IO error during core status read
    [  345.117538] wlcore: ERROR IO error during core status read
    [  345.123027] wlcore: ERROR IO error during core status read
    [  345.128510] wlcore: ERROR IO error during core status read
    [  345.133999] wlcore: ERROR IO error during core status read
    [  345.139484] wlcore: ERROR IO error during core status read
    [  345.144970] wlcore: ERROR IO error during core status read
    [  345.150458] wlcore: ERROR IO error during core status read
    [  345.155952] wlcore: ERROR IO error during core status read
    [  345.161440] wlcore: ERROR IO error during core status read
    [  345.166936] wlcore: ERROR IO error during core status read
    [  345.172444] wlcore: ERROR IO error during core status read
    [  345.177954] wlcore: ERROR IO error during core status read
    [  345.183446] wlcore: ERROR IO error during core status read
    [  345.188933] wlcore: ERROR IO error during core status read
    [  345.194425] wlcore: ERROR IO error during core status read
    [  345.199916] wlcore: ERROR IO error during core status read
    [  345.205405] wlcore: ERROR IO error during core status read
    [  345.210895] wlcore: ERROR IO error during core status read
    [  345.216387] wlcore: ERROR IO error during core status read
    [  345.221876] wlcore: ERROR IO error during core status read
    [  345.227372] wlcore: ERROR IO error during core status read
    [  345.232859] wlcore: ERROR IO error during core status read
    [  345.238346] wlcore: ERROR IO error during core status read
    [  345.243839] wlcore: ERROR IO error during core status read
    [  345.249327] wlcore: ERROR IO error during core status read
    [  345.254810] wlcore: ERROR IO error during core status read
    [  345.260300] wlcore: ERROR IO error during core status read
    [  345.265789] wlcore: ERROR IO error during core status read
    [  345.271280] wlcore: ERROR IO error during core status read
    [  345.276774] wlcore: ERROR IO error during core status read
    [  345.282276] wlcore: ERROR IO error during core status read
    [  345.287780] wlcore: ERROR IO error during core status read
    [  345.293318] wlcore: ERROR IO error during core status read
    [  345.298805] wlcore: ERROR IO error during core status read
    [  345.304293] wlcore: ERROR IO error during core status read
    [  345.309783] wlcore: ERROR IO error during core status read
    [  345.315272] wlcore: ERROR IO error during core status read
    [  345.320767] wlcore: ERROR IO error during core status read
    [  345.326261] wlcore: ERROR IO error during core status read
    [  345.331746] wlcore: ERROR IO error during core status read
    [  345.337233] wlcore: ERROR IO error during core status read
    [  345.342715] wlcore: ERROR IO error during core status read
    [  345.348210] wlcore: ERROR IO error during core status read
    [  345.353697] wlcore: ERROR IO error during core status read
    [  345.359187] wlcore: ERROR IO error during core status read
    [  345.364678] wlcore: ERROR IO error during core status read
    [  345.370167] wlcore: ERROR IO error during core status read
    [  345.375660] wlcore: ERROR IO error during core status read
    [  345.381170] wlcore: ERROR IO error during core status read
    [  345.386667] wlcore: ERROR IO error during core status read
    [  345.392166] wlcore: ERROR IO error during core status read
    [  345.397659] wlcore: ERROR IO error during core status read
    [  345.403153] wlcore: ERROR IO error during core status read
    [  345.408649] wlcore: ERROR IO error during core status read
    [  345.414144] wlcore: ERROR IO error during core status read
    [  345.419635] wlcore: ERROR IO error during core status read
    [  345.425122] wlcore: ERROR IO error during core status read
    [  345.430613] wlcore: ERROR IO error during core status read
    [  345.436105] wlcore: ERROR IO error during core status read
    [  345.441595] wlcore: ERROR IO error during core status read
    [  345.447083] wlcore: ERROR IO error during core status read
    [  345.452577] wlcore: ERROR IO error during core status read
    [  345.458063] wlcore: ERROR IO error during core status read
    [  345.463545] wlcore: ERROR IO error during core status read
    [  345.469043] wlcore: ERROR IO error during core status read
    [  345.474528] wlcore: ERROR IO error during core status read
    [  345.480021] wlcore: ERROR IO error during core status read
    [  345.485513] wlcore: ERROR IO error during core status read
    [  345.491006] wlcore: ERROR IO error during core status read
    [  345.496499] wlcore: ERROR IO error during core status read
    [  345.501998] wlcore: ERROR IO error during core status read
    [  345.507490] wlcore: ERROR IO error during core status read
    [  345.512976] wlcore: ERROR IO error during core status read
    [  345.518470] wlcore: ERROR IO error during core status read
    [  345.523956] wlcore: ERROR IO error during core status read
    [  345.529446] wlcore: ERROR IO error during core status read
    [  345.534940] wlcore: ERROR IO error during core status read
    [  345.540430] wlcore: ERROR IO error during core status read
    [  345.545919] wlcore: ERROR IO error during core status read
    [  345.551409] wlcore: ERROR IO error during core status read
    [  345.556898] wlcore: ERROR IO error during core status read
    [  345.562381] wlcore: ERROR IO error during core status read
    [  345.567870] wlcore: ERROR IO error during core status read
    [  345.573355] wlcore: ERROR IO error during core status read
    [  345.578843] wlcore: ERROR IO error during core status read
    [  345.584338] wlcore: ERROR IO error during core status read
    [  345.589839] wlcore: ERROR IO error during core status read
    [  345.595326] wlcore: ERROR IO error during core status read
    [  345.600815] wlcore: ERROR IO error during core status read
    [  345.606307] wlcore: ERROR IO error during core status read
    [  345.611805] wlcore: ERROR IO error during core status read
    [  345.617297] wlcore: ERROR IO error during core status read
    [  345.622793] wlcore: ERROR IO error during core status read
    [  345.628282] wlcore: ERROR IO error during core status read
    [  345.633774] wlcore: ERROR IO error during core status read
    [  345.639266] wlcore: ERROR IO error during core status read
    [  345.644753] wlcore: ERROR IO error during core status read
    [  345.650243] wlcore: ERROR IO error during core status read
    [  345.655736] wlcore: ERROR IO error during core status read
    [  345.661228] wlcore: ERROR IO error during core status read
    [  345.666786] wlcore: ERROR IO error during core status read
    [  345.672279] wlcore: ERROR IO error during core status read
    [  345.677776] wlcore: ERROR IO error during core status read
    [  345.683270] wlcore: ERROR IO error during core status read
    [  345.688826] wlcore: ERROR IO error during core status read
    [  345.694318] wlcore: ERROR IO error during core status read
    [  345.699813] wlcore: ERROR IO error during core status read
    [  345.705305] wlcore: ERROR IO error during core status read
    [  345.710800] wlcore: ERROR IO error during core status read
    [  345.716286] wlcore: ERROR IO error during core status read
    [  345.721788] wlcore: ERROR IO error during core status read
    [  345.727280] wlcore: ERROR IO error during core status read
    [  345.732772] wlcore: ERROR IO error during core status read
    [  345.738264] wlcore: ERROR IO error during core status read
    [  345.743753] wlcore: ERROR IO error during core status read
    [  345.749246] wlcore: ERROR IO error during core status read
    [  345.754733] wlcore: ERROR IO error during core status read
    [  345.760226] wlcore: ERROR IO error during core status read
    [  345.765716] wlcore: ERROR IO error during core status read
    [  345.771213] wlcore: ERROR IO error during core status read
    [  345.776704] wlcore: ERROR IO error during core status read
    [  345.782201] wlcore: ERROR IO error during core status read
    [  345.787692] wlcore: ERROR IO error during core status read
    [  345.793187] wlcore: ERROR IO error during core status read
    [  345.798675] wlcore: ERROR IO error during core status read
    [  345.804211] wlcore: ERROR IO error during core status read
    [  345.809709] wlcore: ERROR IO error during core status read
    [  345.815201] wlcore: ERROR IO error during core status read
    [  345.820689] wlcore: ERROR IO error during core status read
    [  345.826182] wlcore: ERROR IO error during core status read
    [  345.831822] wlcore: ERROR IO error during core status read
    [  345.837423] wlcore: ERROR IO error during core status read
    [  345.842972] wlcore: ERROR IO error during core status read
    [  345.848495] wlcore: ERROR IO error during core status read
    [  345.854043] wlcore: ERROR IO error during core status read
    [  345.859569] wlcore: ERROR IO error during core status read
    [  345.865130] wlcore: ERROR IO error during core status read
    [  345.870680] wlcore: ERROR IO error during core status read
    [  345.876202] wlcore: ERROR IO error during core status read
    [  345.881771] wlcore: ERROR IO error during core status read
    [  345.887279] wlcore: ERROR IO error during core status read
    [  345.892775] wlcore: ERROR IO error during core status read
    [  345.898272] wlcore: ERROR IO error during core status read
    [  345.903762] wlcore: ERROR IO error during core status read
    [  345.909253] wlcore: ERROR IO error during core status read
    [  345.914745] wlcore: ERROR IO error during core status read
    [  345.920242] wlcore: ERROR IO error during core status read
    [  345.925741] wlcore: ERROR IO error during core status read
    [  345.931232] wlcore: ERROR IO error during core status read
    [  345.936722] wlcore: ERROR IO error during core status read
    [  345.942209] wlcore: ERROR IO error during core status read
    [  345.947695] wlcore: ERROR IO error during core status read
    [  345.953190] wlcore: ERROR IO error during core status read
    [  345.958673] wlcore: ERROR IO error during core status read
    [  345.964165] wlcore: ERROR IO error during core status read
    [  345.969657] wlcore: ERROR IO error during core status read
    [  345.975140] wlcore: ERROR IO error during core status read
    [  345.980631] wlcore: ERROR IO error during core status read
    [  345.986128] wlcore: ERROR IO error during core status read
    [  345.991621] wlcore: ERROR IO error during core status read
    [  345.997120] wlcore: ERROR IO error during core status read
    [  346.002614] wlcore: ERROR IO error during core status read
    [  346.008126] wlcore: ERROR IO error during core status read
    [  346.013619] wlcore: ERROR IO error during core status read
    [  346.019113] wlcore: ERROR IO error during core status read
    [  346.024602] wlcore: ERROR IO error during core status read
    [  346.030090] wlcore: ERROR IO error during core status read
    [  346.035583] wlcore: ERROR IO error during core status read
    [  346.041156] wlcore: ERROR IO error during core status read
    [  346.046644] wlcore: ERROR IO error during core status read
    [  346.052141] wlcore: ERROR IO error during core status read
    [  346.057629] wlcore: ERROR IO error during core status read
    [  346.063121] wlcore: ERROR IO error during core status read
    [  346.068609] wlcore: ERROR IO error during core status read
    [  346.074108] wlcore: ERROR IO error during core status read
    [  346.079602] wlcore: ERROR IO error during core status read
    [  346.085094] wlcore: ERROR IO error during core status read
    [  346.090586] wlcore: ERROR IO error during core status read
    [  346.096079] wlcore: ERROR IO error during core status read
    [  346.101573] wlcore: ERROR IO error during core status read
    [  346.107080] wlcore: ERROR IO error during core status read
    [  346.112570] wlcore: ERROR IO error during core status read
    [  346.118059] wlcore: ERROR IO error during core status read
    [  346.123549] wlcore: ERROR IO error during core status read
    [  346.129036] wlcore: ERROR IO error during core status read
    [  346.134527] wlcore: ERROR IO error during core status read
    [  346.140019] wlcore: ERROR IO error during core status read
    [  346.145510] wlcore: ERROR IO error during core status read
    [  346.151000] wlcore: ERROR IO error during core status read
    [  346.156492] wlcore: ERROR IO error during core status read
    [  346.161979] wlcore: ERROR IO error during core status read
    [  346.167474] wlcore: ERROR IO error during core status read
    [  346.172960] wlcore: ERROR IO error during core status read
    [  346.178444] wlcore: ERROR IO error during core status read
    [  346.183991] wlcore: ERROR IO error during core status read
    [  346.189489] wlcore: ERROR IO error during core status read
    [  346.194988] wlcore: ERROR IO error during core status read
    [  346.200476] wlcore: ERROR IO error during core status read
    [  346.205962] wlcore: ERROR IO error during core status read
    [  346.211447] wlcore: ERROR IO error during core status read
    [  346.216947] wlcore: ERROR IO error during core status read
    [  346.222439] wlcore: ERROR IO error during core status read
    [  346.227934] wlcore: ERROR IO error during core status read
    [  346.233426] wlcore: ERROR IO error during core status read
    [  346.238914] wlcore: ERROR IO error during core status read
    [  346.244406] wlcore: ERROR IO error during core status read
    [  346.249896] wlcore: ERROR IO error during core status read
    [  346.255393] wlcore: ERROR IO error during core status read
    [  346.260886] wlcore: ERROR IO error during core status read
    [  346.266376] wlcore: ERROR IO error during core status read
    [  346.271864] wlcore: ERROR IO error during core status read
    [  346.277347] wlcore: ERROR IO error during core status read
    [  346.282849] wlcore: ERROR IO error during core status read
    [  346.288343] wlcore: ERROR IO error during core status read
    [  346.293834] wlcore: ERROR IO error during core status read
    [  346.299379] wlcore: ERROR IO error during core status read
    [  346.304867] wlcore: ERROR IO error during core status read
    [  346.310366] wlcore: ERROR IO error during core status read
    [  346.315861] wlcore: ERROR IO error during core status read
    [  346.321354] wlcore: ERROR IO error during core status read
    [  346.326852] wlcore: ERROR IO error during core status read
    [  346.332345] wlcore: ERROR IO error during core status read
    [  346.337832] wlcore: ERROR IO error during core status read
    [  346.343323] wlcore: ERROR IO error during core status read
    [  346.348811] wlcore: ERROR IO error during core status read
    [  346.354301] wlcore: ERROR IO error during core status read
    [  346.359793] wlcore: ERROR IO error during core status read
    [  346.365284] wlcore: ERROR IO error during core status read
    [  346.370774] wlcore: ERROR IO error during core status read
    [  346.376270] wlcore: ERROR IO error during core status read
    [  346.381756] wlcore: ERROR IO error during core status read
    [  346.387250] wlcore: ERROR IO error during core status read
    [  346.392749] wlcore: ERROR IO error during core status read
    [  346.398238] wlcore: ERROR IO error during core status read
    [  346.403728] wlcore: ERROR IO error during core status read
    [  346.409220] wlcore: ERROR IO error during core status read
    [  346.414707] wlcore: ERROR IO error during core status read
    [  346.420194] wlcore: ERROR IO error during core status read
    [  346.425681] wlcore: ERROR IO error during core status read
    [  346.431173] wlcore: ERROR IO error during core status read
    [  346.436678] wlcore: ERROR IO error during core status read
    [  346.442175] wlcore: ERROR IO error during core status read
    [  346.447669] wlcore: ERROR IO error during core status read
    [  346.453159] wlcore: ERROR IO error during core status read
    [  346.458649] wlcore: ERROR IO error during core status read
    [  346.464144] wlcore: ERROR IO error during core status read
    [  346.469635] wlcore: ERROR IO error during core status read
    [  346.475126] wlcore: ERROR IO error during core status read
    [  346.480615] wlcore: ERROR IO error during core status read
    [  346.486111] wlcore: ERROR IO error during core status read
    [  346.491608] wlcore: ERROR IO error during core status read
    [  346.497100] wlcore: ERROR IO error during core status read
    [  346.502586] wlcore: ERROR IO error during core status read
    [  346.508076] wlcore: ERROR IO error during core status read
    [  346.513568] wlcore: ERROR IO error during core status read
    [  346.519056] wlcore: ERROR IO error during core status read
    [  346.524546] wlcore: ERROR IO error during core status read
    [  346.530039] wlcore: ERROR IO error during core status read
    [  346.535531] wlcore: ERROR IO error during core status read
    [  346.541027] wlcore: ERROR IO error during core status read
    [  346.546526] wlcore: ERROR IO error during core status read
    [  346.552019] wlcore: ERROR IO error during core status read
    [  346.557512] wlcore: ERROR IO error during core status read
    [  346.563006] wlcore: ERROR IO error during core status read
    [  346.568494] wlcore: ERROR IO error during core status read
    [  346.573985] wlcore: ERROR IO error during core status read
    [  346.579478] wlcore: ERROR IO error during core status read
    [  346.584972] wlcore: ERROR IO error during core status read
    [  346.590469] wlcore: ERROR IO error during core status read
    [  346.595976] wlcore: ERROR IO error during core status read
    [  346.601466] wlcore: ERROR IO error during core status read
    [  346.606953] wlcore: ERROR IO error during core status read
    [  346.612498] wlcore: ERROR IO error during core status read
    [  346.617996] wlcore: ERROR IO error during core status read
    [  346.623491] wlcore: ERROR IO error during core status read
    [  346.628981] wlcore: ERROR IO error during core status read
    [  346.634468] wlcore: ERROR IO error during core status read
    [  346.639964] wlcore: ERROR IO error during core status read
    [  346.645458] wlcore: ERROR IO error during core status read
    [  346.650953] wlcore: ERROR IO error during core status read
    [  346.656459] wlcore: ERROR IO error during core status read
    [  346.661952] wlcore: ERROR IO error during core status read
    [  346.667446] wlcore: ERROR IO error during core status read
    [  346.672937] wlcore: ERROR IO error during core status read
    [  346.678432] wlcore: ERROR IO error during core status read
    [  346.683920] wlcore: ERROR IO error during core status read
    [  346.689410] wlcore: ERROR IO error during core status read
    [  346.694904] wlcore: ERROR IO error during core status read
    [  346.700397] wlcore: ERROR IO error during core status read
    [  346.705888] wlcore: ERROR IO error during core status read
    [  346.711378] wlcore: ERROR IO error during core status read
    [  346.716870] wlcore: ERROR IO error during core status read
    [  346.722358] wlcore: ERROR IO error during core status read
    [  346.727849] wlcore: ERROR IO error during core status read
    [  346.733341] wlcore: ERROR IO error during core status read
    [  346.738837] wlcore: ERROR IO error during core status read
    [  346.744330] wlcore: ERROR IO error during core status read
    [  346.749820] wlcore: ERROR IO error during core status read
    [  346.755310] wlcore: ERROR IO error during core status read
    [  346.760802] wlcore: ERROR IO error during core status read
    [  346.766301] wlcore: ERROR IO error during core status read
    [  346.771795] wlcore: ERROR IO error during core status read
    [  346.777288] wlcore: ERROR IO error during core status read
    [  346.782782] wlcore: ERROR IO error during core status read
    [  346.788281] wlcore: ERROR IO error during core status read
    [  346.793817] wlcore: ERROR IO error during core status read
    [  346.799320] wlcore: ERROR IO error during core status read
    [  346.804814] wlcore: ERROR IO error during core status read
    [  346.810320] wlcore: ERROR IO error during core status read
    [  346.815808] wlcore: ERROR IO error during core status read
    [  346.821298] wlcore: ERROR IO error during core status read
    [  346.826788] wlcore: ERROR IO error during core status read
    [  346.832276] wlcore: ERROR IO error during core status read
    [  346.837759] wlcore: ERROR IO error during core status read
    [  346.843252] wlcore: ERROR IO error during core status read
    [  346.848741] wlcore: ERROR IO error during core status read
    [  346.850683] wlcore: ERROR boot IRQ timeout
    [  346.854245] wlcore: ERROR IO error during core status read
    [  346.864207] wlcore: ERROR failed to initiate cmd role enable
    
  • My theory is that WPA1 security type is getting sent to the FW and thus causing the FW to crash. Let me try to see if I can reproduce this issue.

    Just for your notes, here is an example hostapd.conf:

    # SSID to be used in IEEE 802.11 management frames
    ssid=CC33xxAP
    # Channel number (IEEE 802.11)
    channel=6
    # ieee80211n: Whether IEEE 802.11n (HT) is enabled
    # 0 = disabled (default)
    # 1 = enabled
    # Note: You will also need to enable WMM for full HT functionality.
    ieee80211n=1
    # ht_capab: HT capabilities (list of flags)
    ht_capab=[SHORT-GI-20]
    ##### WPA/IEEE 802.11i configuration ##########################################
    wpa=2
    wpa_passphrase=yourpasswordhere
    # Operation mode (a = IEEE 802.11a, b = IEEE 802.11b, g = IEEE 802.11g,
    # Default: IEEE 802.11b
    hw_mode=g
    # Pairwise cipher for WPA (v1) (default: TKIP)
    wpa_pairwise=CCMP
    # Pairwise cipher for RSN/WPA2 (default: use wpa_pairwise value)
    rsn_pairwise=CCMP

  • The problem is cc3351 firmware doesn't support TKIP in AP mode. If it is specified, the firmware will crash.

    The supplicant (the underlying daemon used with NetworkManager even for AP mode) defaults encryption to both TKIP and CCMP, so if you don't explicitly restrict it in the configuration you will get an AP configuration that the firmware can't support.

    I've asked TI to fix the crash several times specifically because of the likely hood of encountering this "default" behavior. It doesn't need to support TKIP in AP mode, just don't crash. So far to no avail...

  • Hi Dean,

    Do you know the correct command from nmcli to force WPA2?

  • Try adding the following to the profile :

    wifi-sec.pairwise ccmp wifi-sec.proto rsn

    (wifi-sec is an alias for wireless-security)

  • Hi Dean,

    Tried to force it with "wifi-sec.pairwise ccmp wifi-sec.proto rsn"


    nmcli conn add con-name wlan1_ap ifname wlan1 type wifi ssid MyAP mode ap wifi.band bg ipv4.method manual ipv6.method disabled connection.autoconnect yes ipv4.addresses 192.168.99.1/24 802-11-wireless-security.key-mgmt wpa-psk 802-11-wireless-security.psk "MySecretPass" wifi-sec.pairwise ccmp wifi-sec.proto rsn

    [65843.841669] wlcore: ERROR failed to initiate cmd role enable
    [65843.853329] wlcore: ERROR failed to initiate cmd role enable
    [65843.872798] wlcore: ERROR failed to initiate cmd role enable
    [65843.884462] wlcore: ERROR failed to initiate cmd role enable
    [65843.904330] wlcore: ERROR failed to initiate cmd role enable

  • Same issue when i try to start the AP with WPA3

    "802-11-wireless-security.key-mgmt sae "

    nmcli conn add con-name wlan1_ap ifname wlan1 type wifi ssid MyAP mode ap wifi.band bg \
    ipv4.method manual ipv6.method disabled connection.autoconnect yes ipv4.addresses 192.168.99.1/24 \
    802-11-wireless-security.key-mgmt sae 802-11-wireless-security.psk "MySecretPass" 802-11-wireless-security.proto rsn

    [71517.531685] wlcore: ERROR failed to initiate cmd role enable
    [71517.543915] wlcore: ERROR failed to initiate cmd role enable
    [71517.563703] wlcore: ERROR failed to initiate cmd role enable

  • Hi Robbin,

    Again i'm not too familiar with the nmcli. It would be best if you can test the same through the hostapd as this is what we use in our SDKs.

  • Hi, 

    Ok i will try to reproduce with hostapd, but as i said, we wont be using it in the end.
    We need it to work via NetworkManager and wpa_supplicant.

    Its just strange that we are able to make the firmware crash by creating an AP via the network-manager.

    Can you reproduce it with?:

    nmcli conn add con-name wlan1_ap ifname wlan1 type wifi ssid MyAP mode ap wifi.band bg \
    ipv4.method manual ipv6.method disabled connection.autoconnect yes ipv4.addresses 192.168.99.1/24 \
    802-11-wireless-security.key-mgmt wpa-psk 802-11-wireless-security.psk "MySecretPass"

    If so, should the firmware not be fixed or mentioned somewhere what is supported or what isnt supported via the NetworkManager and wpa-supplicant?

    kind regards,

    Robbin

  • Hi Robbin,

    Understood on the concern. Unfortunately my builds don't have nmcli installed so please give me some time get a build with nmcli and to look at this issue in more detail. 

  • Hi Robbin, 

    I was able to create the build and reproduce the FW crash. What I am finding is that the Network Manager uses the AP mode feature of wpa_supplicant, which contains a subset of features of that from hostapd. So, when you type 'wpa-psk' it is actually using WPA/WPA2 mixed mode (TKIP), which again is not supported on the AP mode on the CC33xx and causes the crash.

    However, OPEN mode (802-11-wireless-security.key-mgmt none) should work. When using open, I don't see a FW crash, but I wasn't able to bring up the AP mode, probably due to my inexperience when working with nmcli and AP mode stuff.

    So if you require AP mode, then please do use hostapd. This is the verified and thoroughly tested (including OPEN networking) method of using the AP mode on our device.

  • Hi,

    Thanks for looking into that!

    I was able to setup an AP via network_manager (nmcli) with WPA2 only and not the mixed mode (WPA/WPA2).

    This is how todo it with the nmcli tool:

    nmcli conn add con-name wlan1_ap ifname wlan1 type wifi ssid MyAP mode ap wifi.band bg \
    ipv4.method manual ipv6.method disabled connection.autoconnect yes ipv4.addresses 192.168.99.1/24 \
    802-11-wireless-security.key-mgmt wpa-psk \
    802-11-wireless-security.psk "123456789" \
    802-11-wireless-security.proto rsn \
    802-11-wireless-security.pairwise ccmp

    Next to that maybe another question.

    To get the driver working on kernel 6.12.34 I had to add a patch myself on top of what was described.

    You said:

    """""""""""""""

    Steps are:

    1. Apply the patch from the cc33xx SDK, which yes it is based on kernel 6.1 and will cause errors. 

    2. Then apply the forward patch for 6.12.y, which should correct any errors. (patch -p1 < ...https://github.com/TexasInstruments-Sandbox/cc33xx-linux-mpu-ports/blob/main/6.12.y/0001-drivers-cc33xx-forward-port-cc33xx-1.0.2.10-SDK-to-6.patch)

    So, please continue by applying the 6.12.y patch and let me know if you continue to experience issues.

    """""""""""

    As I mentioned above, this was not enough, and I had to still correct some things manually.
    It was a bit of a hassle to get the driver working. Why is there no patch that contains everything to get it going on kernel 6.12.y?
    How fast will you support future LTS releases of the kernel?

    We are currently evaluating different modules and all those things are taken into account to select one that fits our needs the best.
    The fact that the driver like crashes when we configure it with mixed mode WPA/WPA2 and not with WPA2 only, its not adding confidence in the
    stability.

    thx,
    Robbin
  • Hi,

    We did some more tests and got WPA, WPA2 and WPA3 working on our NXP module.

    We used the same settings on the TI module and only WPA2 we are able to connect.

    And regarding the last message, after also adding CCMP, WPA2 started to work, without CCPM the FW crashes:
    802-11-wireless-security.pairwise: ccmp
    802-11-wireless-security.group: ccmp

    Can you maybe provide a hostapd configuration that works for WPA and WPA3?
    Maybe that way we can deduce the correct settings that work with the TI module, because the settings we use now, only work with the NXP module.

    kind regards, 

    Robbin

  • Hi Robbin,

    As I mentioned above, this was not enough, and I had to still correct some things manually.
    It was a bit of a hassle to get the driver working. Why is there no patch that contains everything to get it going on kernel 6.12.y?
    How fast will you support future LTS releases of the kernel?

    Are you able to share your changes? I test every patch against the specific kernel version, so if you are having issues, I am very open to hearing about it and can definitely improve the patch for quality sake.

    Can you maybe provide a hostapd configuration that works for WPA and WPA3?

    Maybe you meant WPA2 and WPA3 here? But yes, let me provide those later today.

  • No WPA2 we got it working, and you provided such a config file.

    But WPA and WPA3 is not yet working.

    Sure, the extra changes i had todo are in my second post above.
    "0027.the_additional_patch.txt"

  • Understood, thanks for clearing that up.

    So again, we don't support WPA in AP mode because you will run into the TKIP issue and FW crash. But I can share the WPA3 hostapd.conf.

  • Hi Robbin,

    Here is an example hostapd.conf with wpa3 enabled:

    interface=wlan1
    ssid=CC33xxAP
    # Channel number (IEEE 802.11)
    channel=6
    # ieee80211n: Whether IEEE 802.11n (HT) is enabled
    # 0 = disabled (default)
    # 1 = enabled
    # Note: You will also need to enable WMM for full HT functionality.
    ieee80211n=1
    # ht_capab: HT capabilities (list of flags)
    ht_capab=[SHORT-GI-20]
    ##### WPA/IEEE 802.11i configuration ##########################################
    wpa=2
    wpa_passphrase=yourpasswordhere
    wpa_key_mgmt=SAE
    # Operation mode (a = IEEE 802.11a, b = IEEE 802.11b, g = IEEE 802.11g,
    # Default: IEEE 802.11b
    hw_mode=g
    # Pairwise cipher for WPA (v1) (default: TKIP)
    wpa_pairwise=CCMP
    # Pairwise cipher for RSN/WPA2 (default: use wpa_pairwise value)
    rsn_pairwise=CCMP
    ieee80211w=1
    sae_require_mfp=1
    sae_pwe=2

  • Hi Robbin,

    Just FYI that I've replicated your compiler issues and integrating the changes into this PR. Changes are nearly identical to your 'the_additional_patch.txt':

    https://github.com/TexasInstruments-Sandbox/cc33xx-linux-mpu-ports/pull/26