Colibri iMX6ULL 512MB Wi-Fi, wifi module not resuming after suspend

I’ve been attempting to use the suspend feature of the Colibri iMX6ULL 512MB WB IT while using the WiFi module but the module appears not to resume with the rest of the system, regardless of whether wifi is enabled or not using connmanctl. Right now I’m using the Aster V1.1B to develop, and a clean install of the most recent stable release from the Easy Installer 2.8b6.184.

To test I enter these commands for wakeup sources on the USB ports:

echo enabled > /sys/bus/platform/devices/20c9000.usbphy/power/wakeup;
echo enabled > /sys/bus/platform/devices/20ca000.usbphy/power/wakeup;
echo enabled > /sys/bus/platform/devices/2184000.usb/power/wakeup;
echo enabled > /sys/bus/platform/devices/2184200.usb/power/wakeup;
echo enabled > /sys/bus/platform/devices/ci_hdrc.0/power/wakeup;
echo enabled > /sys/bus/platform/devices/ci_hdrc.1/power/wakeup;
echo enabled > /sys/bus/usb/devices/usb1/power/wakeup;
echo enabled > /sys/bus/usb/devices/usb2/power/wakeup;

Then enter the suspend command:

echo mem > /sys/power/state

Before this point the Wifi module works great, I can connect to my wireless network and the module will wake up on a keypress from USB keyboard. However when it wakes up the Wifi module disappears and the dmesg log has a repeating error:

mmc1: error -22 whilst initialising SDIO card

sdhci-esdhc-imx 2194000.usdhc: no support for card’s volts

[    0.000000] Booting Linux on physical CPU 0x0
[    0.000000] Linux version 4.9.166-2.8.6+gd899927728be (oe-user@oe-host) (gcc version 7.3.0 (GCC) ) #1 SMP Mon Apr 1 14:10:54 UTC 2019
[    0.000000] CPU: ARMv7 Processor [410fc075] revision 5 (ARMv7), cr=10c5387d
[    0.000000] CPU: div instructions available: patching division code
[    0.000000] CPU: PIPT / VIPT nonaliasing data cache, VIPT aliasing instruction cache
[    0.000000] OF: fdt:Machine model: Toradex Colibri iMX6ULL 512MB on Colibri Evaluation Board V3
[    0.000000] Reserved memory: created CMA memory pool at 0x98000000, size 128 MiB
[    0.000000] OF: reserved mem: initialized node linux,cma, compatible id shared-dma-pool
[    0.000000] Memory policy: Data cache writealloc
[    0.000000] On node 0 totalpages: 131072
[    0.000000] free_area_init_node: node 0, pgdat 80c5fcc0, node_mem_map 97bb8000
[    0.000000]   Normal zone: 1024 pages used for memmap
[    0.000000]   Normal zone: 0 pages reserved
[    0.000000]   Normal zone: 131072 pages, LIFO batch:31
[    0.000000] percpu: Embedded 14 pages/cpu @97b8e000 s25804 r8192 d23348 u57344
[    0.000000] pcpu-alloc: s25804 r8192 d23348 u57344 alloc=14*4096
[    0.000000] pcpu-alloc: [0] 0 
[    0.000000] Built 1 zonelists in Zone order, mobility grouping on.  Total pages: 130048
[    0.000000] Kernel command line: user_debug=30 ubi.mtd=ubi root=ubi0:rootfs rw rootfstype=ubifs ubi.fm_autoconvert=1 console=tty1 console=ttymxc0,115200n8 consoleblank=0 video=mxsfb:640x480M-16@60
[    0.000000] PID hash table entries: 2048 (order: 1, 8192 bytes)
[    0.000000] Dentry cache hash table entries: 65536 (order: 6, 262144 bytes)
[    0.000000] Inode-cache hash table entries: 32768 (order: 5, 131072 bytes)
[    0.000000] Memory: 376188K/524288K available (7168K kernel code, 386K rwdata, 2204K rodata, 1024K init, 376K bss, 17028K reserved, 131072K cma-reserved)
[    0.000000] Virtual kernel memory layout:
[    0.000000]     vector  : 0xffff0000 - 0xffff1000   (   4 kB)
[    0.000000]     fixmap  : 0xffc00000 - 0xfff00000   (3072 kB)
[    0.000000]     vmalloc : 0xa0800000 - 0xff800000   (1520 MB)
[    0.000000]     lowmem  : 0x80000000 - 0xa0000000   ( 512 MB)
[    0.000000]     modules : 0x7f000000 - 0x80000000   (  16 MB)
[    0.000000]       .text : 0x80008000 - 0x80800000   (8160 kB)
[    0.000000]       .init : 0x80b00000 - 0x80c00000   (1024 kB)
[    0.000000]       .data : 0x80c00000 - 0x80c60860   ( 387 kB)
[    0.000000]        .bss : 0x80c62000 - 0x80cc0188   ( 377 kB)
[    0.000000] SLUB: HWalign=64, Order=0-3, MinObjects=0, CPUs=1, Nodes=1
[    0.000000] Hierarchical RCU implementation.
[    0.000000] 	Build-time adjustment of leaf fanout to 32.
[    0.000000] 	RCU restricting CPUs from NR_CPUS=4 to nr_cpu_ids=1.
[    0.000000] RCU: Adjusting geometry for rcu_fanout_leaf=32, nr_cpu_ids=1
[    0.000000] NR_IRQS:16 nr_irqs:16 16
[    0.000000] Switching to timer-based delay loop, resolution 333ns
[    0.000018] sched_clock: 32 bits at 3000kHz, resolution 333ns, wraps every 715827882841ns
[    0.000056] clocksource: mxc_timer1: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 637086815595 ns
[    0.003563] Console: colour dummy device 80x30
[    0.004855] console [tty1] enabled
[    0.004926] Calibrating delay loop (skipped), value calculated using timer frequency.. 6.00 BogoMIPS (lpj=30000)
[    0.005035] pid_max: default: 32768 minimum: 301
[    0.005296] Mount-cache hash table entries: 1024 (order: 0, 4096 bytes)
[    0.005371] Mountpoint-cache hash table entries: 1024 (order: 0, 4096 bytes)
[    0.006877] CPU: Testing write buffer coherency: ok
[    0.007579] Setting up static identity map for 0x80100000 - 0x80100058
[    0.010714] Brought up 1 CPUs
[    0.010800] SMP: Total of 1 processors activated (6.00 BogoMIPS).
[    0.010859] CPU: All CPU(s) started in SVC mode.
[    0.012463] devtmpfs: initialized
[    0.036864] VFP support v0.3: implementor 41 architecture 2 part 30 variant 7 rev 5
[    0.037686] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 19112604462750000 ns
[    0.037822] futex hash table entries: 256 (order: 2, 16384 bytes)
[    0.048138] pinctrl core: initialized pinctrl subsystem
[    0.050757] NET: Registered protocol family 16
[    0.064072] DMA: preallocated 256 KiB pool for atomic coherent allocations
[    0.067187] cpuidle: using governor menu
[    0.111572] hw-breakpoint: found 5 (+1 reserved) breakpoint and 4 watchpoint registers.
[    0.111689] hw-breakpoint: maximum watchpoint size is 8 bytes.
[    0.114213] imx6ul-pinctrl 20e0000.iomuxc: initialized IMX pinctrl driver
[    0.115092] imx6ul-pinctrl 2290000.iomuxc-snvs: initialized IMX pinctrl driver
[    0.173133] mxs-dma 1804000.dma-apbh: initialized
[    0.176236] soc_in: supplied by +V3.3
[    0.177117] eth_phy: supplied by +V3.3
[    0.180253] VCC_USB[1-4]: supplied by 5V
[    0.183373] SCSI subsystem initialized
[    0.184079] usbcore: registered new interface driver usbfs
[    0.184317] usbcore: registered new interface driver hub
[    0.184629] usbcore: registered new device driver usb
[    0.187154] i2c i2c-0: IMX I2C adapter registered
[    0.187251] i2c i2c-0: can't use DMA, using PIO instead.
[    0.188721] i2c i2c-1: IMX I2C adapter registered
[    0.188815] i2c i2c-1: can't use DMA, using PIO instead.
[    0.189274] Linux video capture interface: v2.00
[    0.189444] pps_core: LinuxPPS API ver. 1 registered
[    0.189502] pps_core: Software ver. 5.3.6 - Copyright 2005-2007 Rodolfo Giometti <giometti@linux.it>
[    0.189648] PTP clock support registered
[    0.190467] Advanced Linux Sound Architecture Driver Initialized.
[    0.193532] clocksource: Switched to clocksource mxc_timer1
[    0.193861] VFS: Disk quotas dquot_6.6.0
[    0.194043] VFS: Dquot-cache hash table entries: 1024 (order 0, 4096 bytes)
[    0.219876] NET: Registered protocol family 2
[    0.221366] TCP established hash table entries: 4096 (order: 2, 16384 bytes)
[    0.221551] TCP bind hash table entries: 4096 (order: 3, 32768 bytes)
[    0.221754] TCP: Hash tables configured (established 4096 bind 4096)
[    0.221933] UDP hash table entries: 256 (order: 1, 8192 bytes)
[    0.222037] UDP-Lite hash table entries: 256 (order: 1, 8192 bytes)
[    0.222415] NET: Registered protocol family 1
[    0.223432] RPC: Registered named UNIX socket transport module.
[    0.223655] RPC: Registered udp transport module.
[    0.223719] RPC: Registered tcp transport module.
[    0.223774] RPC: Registered tcp NFSv4.1 backchannel transport module.
[    0.228822] Bus freq driver module loaded
[    0.232686] workingset: timestamp_bits=30 max_order=17 bucket_order=0
[    0.250687] NFS: Registering the id_resolver key type
[    0.250808] Key type id_resolver registered
[    0.250871] Key type id_legacy registered
[    0.250947] nfs4filelayout_init: NFSv4 File Layout Driver Registering...
[    0.252534] ntfs: driver 2.1.32 [Flags: R/W].
[    0.253447] fuse init (API version 7.26)
[    0.271199] io scheduler noop registered
[    0.271285] io scheduler deadline registered
[    0.271775] io scheduler cfq registered (default)
[    0.276054] backlight supply power not found, using dummy regulator
[    0.279968] 21c8000.lcdif supply lcd not found, using dummy regulator
[    0.280517] fbcvt: 640x480@60: CVT Name - .307M3
[    0.391493] Console: switching to colour frame buffer device 80x30
[    0.412213] mxsfb 21c8000.lcdif: initialized
[    0.418587] imx-sdma 20ec000.sdma: loaded firmware 3.3
[    0.431949] 2020000.serial: ttymxc0 at MMIO 0x2020000 (irq = 20, base_baud = 5000000) is a IMX
[    1.079906] console [ttymxc0] enabled
[    1.089160] 21e8000.serial: ttymxc1 at MMIO 0x21e8000 (irq = 63, base_baud = 5000000) is a IMX
[    1.106573] 21f4000.serial: ttymxc4 at MMIO 0x21f4000 (irq = 64, base_baud = 5000000) is a IMX
[    1.143303] loop: module loaded
[    1.160056] random: fast init done
[    1.170997] nand: device found, Manufacturer ID: 0xc2, Chip ID: 0xdc
[    1.181302] nand: Macronix MX30LF4G28AC
[    1.188980] nand: 512 MiB, SLC, erase size: 128 KiB, page size: 2048, OOB size: 112
[    1.205245] gpmi-nand 1806000.gpmi-nand: mode:5 ,failed in set feature.
[    1.216481] Bad block table found at page 262080, version 0x01
[    1.227120] Bad block table found at page 262016, version 0x01
[    1.237529] nand_read_bbt: bad block at 0x000004d80000
[    1.246887] nand_read_bbt: bad block at 0x000010b40000
[    1.256177] nand_read_bbt: bad block at 0x0000169c0000
[    1.265881] 5 ofpart partitions found on MTD device gpmi-nand
[    1.275623] Creating 5 MTD partitions on "gpmi-nand":
[    1.284592] 0x000000000000-0x000000080000 : "mx6ull-bcb"
[    1.294854] 0x000000080000-0x000000200000 : "u-boot1"
[    1.304710] 0x000000200000-0x000000380000 : "u-boot2"
[    1.314444] 0x000000380000-0x000000400000 : "u-boot-env"
[    1.324372] 0x000000400000-0x000020000000 : "ubi"
[    1.345521] gpmi-nand 1806000.gpmi-nand: driver registered.
[    1.359249] spi_imx 2008000.ecspi: probed
[    1.368573] libphy: Fixed MDIO Bus: probed
[    1.544680] pps pps0: new PPS source ptp0
[    1.554400] libphy: fec_enet_mii_bus: probed
[    1.565036] fec 20b4000.ethernet eth0: registered PHC device 0
[    1.576405] ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver
[    1.586370] ehci-mxc: Freescale On-Chip EHCI Host driver
[    1.595458] usbcore: registered new interface driver usb-storage
[    1.605257] usbcore: registered new interface driver usbserial
[    1.614509] usbcore: registered new interface driver usbserial_generic
[    1.624254] usbserial: USB Serial support registered for generic
[    1.633275] usbcore: registered new interface driver ftdi_sio
[    1.642044] usbserial: USB Serial support registered for FTDI USB Serial Device
[    1.655384] usbcore: registered new interface driver pl2303
[    1.664304] usbserial: USB Serial support registered for pl2303
[    1.676160] 2184800.usbmisc supply vbus-wakeup not found, using dummy regulator
[    1.697115] ci_hdrc ci_hdrc.0: EHCI Host Controller
[    1.705730] ci_hdrc ci_hdrc.0: new USB bus registered, assigned bus number 1
[    1.743681] ci_hdrc ci_hdrc.0: USB 2.0 started, EHCI 1.00
[    1.755031] hub 1-0:1.0: USB hub found
[    1.762580] hub 1-0:1.0: 1 port detected
[    1.773104] mousedev: PS/2 mouse device common for all mice
[    1.789623] input: AD7879 Touchscreen as /devices/soc0/soc/2100000.aips-bus/21a4000.i2c/i2c-1/1-002c/input/input0
[    1.809771] rtc-ds1307: probe of 0-0068 failed with error -5
[    1.821186] snvs_rtc 20cc000.snvs:snvs-rtc-lp: rtc core: registered 20cc000.snvs:snvs-r as rtc0
[    1.838262] i2c /dev entries driver
[    1.850536] imx2-wdt 20bc000.wdog: timeout 60 sec (nowayout=0)
[    1.861996] sdhci: Secure Digital Host Controller Interface driver
[    1.872313] sdhci: Copyright(c) Pierre Ossman
[    1.880789] sdhci-pltfm: SDHCI platform and OF driver helper
[    1.893462] sdhci-esdhc-imx 2190000.usdhc: Got CD GPIO
[    1.964025] mmc0: SDHCI controller on 2190000.usdhc [2190000.usdhc] using ADMA
[    2.043594] mmc1: SDHCI controller on 2194000.usdhc [2194000.usdhc] using ADMA
[    2.075426] hidraw: raw HID events driver (C) Jiri Kosina
[    2.086090] usbcore: registered new interface driver usbhid
[    2.096066] usbhid: USB HID core driver
[    2.112115] Netfilter messages via NETLINK v0.30.
[    2.121443] nfnl_acct: registering with nfnetlink.
[    2.131230] nf_conntrack version 0.5.0 (8192 buckets, 32768 max)
[    2.141700] usb 1-1: new high-speed USB device number 2 using ci_hdrc
[    2.153436] nf_tables: (c) 2007-2009 Patrick McHardy <kaber@trash.net>
[    2.165682] ip_tables: (C) 2000-2006 Netfilter Core Team
[    2.177408] NET: Registered protocol family 10
[    2.189438] ip6_tables: (C) 2000-2006 Netfilter Core Team
[    2.199333] NET: Registered protocol family 17
[    2.208237] Bridge firewalling registered
[    2.216588] 8021q: 802.1Q VLAN Support v1.8
[    2.225001] Key type dns_resolver registered
[    2.238206] cpu cpu0: Registered imx6q-cpufreq
[    2.257380] mmc1: new high speed SDIO card at address 0001
[    2.273837] Registering SWP/SWPB emulation handler
[    2.281577] registered taskstats version 1
[    2.316125] ci_hdrc ci_hdrc.1: EHCI Host Controller
[    2.323030] ci_hdrc ci_hdrc.1: new USB bus registered, assigned bus number 2
[    2.356855] hub 1-1:1.0: USB hub found
[    2.362952] hub 1-1:1.0: 4 ports detected
[    2.368871] ci_hdrc ci_hdrc.1: USB 2.0 started, EHCI 1.00
[    2.378152] hub 2-0:1.0: USB hub found
[    2.384005] hub 2-0:1.0: 1 port detected
[    2.392427] imx_thermal 2000000.aips-bus:tempmon: Industrial CPU temperature grade - max:105C critical:105C passive:95C
[    2.407808] ubi0: default fastmap pool size: 200
[    2.414369] ubi0: default fastmap WL pool size: 100
[    2.421012] ubi0: attaching mtd4
[    2.703649] usb 1-1.1: new low-speed USB device number 3 using ci_hdrc
[    2.750803] ubi0: attached by fastmap
[    2.758100] ubi0: fastmap pool size: 200
[    2.765477] ubi0: fastmap WL pool size: 100
[    2.802144] ubi0: attached mtd4 (name "ubi", size 508 MiB)
[    2.811149] ubi0: PEB size: 131072 bytes (128 KiB), LEB size: 126976 bytes
[    2.821594] ubi0: min./max. I/O unit sizes: 2048/2048, sub-page size 2048
[    2.831922] ubi0: VID header offset: 2048 (aligned 2048), data offset: 4096
[    2.842493] ubi0: good PEBs: 4057, bad PEBs: 7, corrupted PEBs: 0
[    2.852196] ubi0: user volume: 4, internal volumes: 1, max. volumes count: 128
[    2.866535] ubi0: max/mean erase counter: 5/2, WL threshold: 4096, image sequence number: 914462020
[    2.883084] ubi0: available PEBs: 0, total reserved PEBs: 4057, PEBs reserved for bad PEB handling: 73
[    2.900658] ubi0: background thread "ubi_bgt0d" started, PID 105
[    2.913038] input: gpio-keys as /devices/soc0/gpio-keys/input/input1
[    2.924587] snvs_rtc 20cc000.snvs:snvs-rtc-lp: setting system clock to 1970-01-01 00:00:01 UTC (1)
[    2.938880] soc_in: disabling
[    2.944145] ALSA device list:
[    2.949110]   No soundcards found.
[    2.957341] UBIFS (ubi0:3): background thread "ubifs_bgt0_3" started, PID 106
[    2.980099] input: CHICONY HP Basic USB Keyboard as /devices/soc0/soc/2100000.aips-bus/2184200.usb/ci_hdrc.0/usb1/1-1/1-1.1/1-1.1:1.0/0003:03F0:0024.0001/input/input2
[    3.064809] hid-generic 0003:03F0:0024.0001: input,hidraw0: USB HID v1.10 Keyboard [CHICONY HP Basic USB Keyboard] on usb-ci_hdrc.0-1.1/input0
[    3.084999] UBIFS (ubi0:3): recovery needed
[    3.183793] usb 1-1.3: new low-speed USB device number 4 using ci_hdrc
[    3.360648] input: Logitech USB Optical Mouse as /devices/soc0/soc/2100000.aips-bus/2184200.usb/ci_hdrc.0/usb1/1-1/1-1.3/1-1.3:1.0/0003:046D:C077.0002/input/input3
[    3.406229] hid-generic 0003:046D:C077.0002: input,hidraw1: USB HID v1.11 Mouse [Logitech USB Optical Mouse] on usb-ci_hdrc.0-1.3/input0
[    4.701441] random: crng init done
[    5.367650] UBIFS (ubi0:3): recovery completed
[    5.379769] UBIFS (ubi0:3): UBIFS: mounted UBI device 0, volume 3, name "rootfs"
[    5.396302] UBIFS (ubi0:3): LEB size: 126976 bytes (124 KiB), min./max. I/O unit sizes: 2048 bytes/2048 bytes
[    5.415526] UBIFS (ubi0:3): FS size: 493936640 bytes (471 MiB, 3890 LEBs), journal size 9023488 bytes (8 MiB, 72 LEBs)
[    5.435594] UBIFS (ubi0:3): reserved for root: 0 bytes (0 KiB)
[    5.446244] UBIFS (ubi0:3): media format: w4/r0 (latest is w4/r0), UUID E53509DE-7A30-4D0A-863C-77EDC9098ED3, small LPT model
[    5.470193] VFS: Mounted root (ubifs filesystem) on device 0:12.
[    5.482385] devtmpfs: mounted
[    5.489336] Freeing unused kernel memory: 1024K
[    6.401874] systemd[1]: System time before build time, advancing clock.
[    6.656336] systemd[1]: systemd 234 running in system mode. (+PAM -AUDIT -SELINUX +IMA -APPARMOR +SMACK +SYSVINIT +UTMP -LIBCRYPTSETUP -GCRYPT -GNUTLS -ACL +XZ +LZ4 -SECCOMP +BLKID -ELFUTILS +KMOD -IDN2 +IDN default-hierarchy=hybrid)
[    6.709514] systemd[1]: Detected architecture arm.
[    6.768464] systemd[1]: Set hostname to <colibri-imx6ull>.
[    8.381084] systemd[1]: Created slice System Slice.
[    8.425556] systemd[1]: Created slice system-serial\x2dgetty.slice.
[    8.465162] systemd[1]: Created slice User and Session Slice.
[    8.509436] systemd[1]: Started Dispatch Password Requests to Console Directory Watch.
[    8.657663] systemd[1]: Reached target Host and Network Name Lookups.
[    8.710745] systemd[1]: Listening on Network Service Netlink Socket.
[    8.754626] systemd[1]: Listening on Journal Socket.
[   10.067532] systemd-journald[119]: Received request to flush runtime journal from PID 1
[   10.128162] systemd-journald[119]: File /var/log/journal/403f0d86e12a4ba39e7208f26f49e72c/system.journal corrupted or uncleanly shut down, renaming and replacing.
[   12.554729] CAN device driver interface
[   12.848274] mcp251x spi0.0: Cannot initialize MCP2515. Wrong wiring?
[   12.967426] mcp251x spi0.0: Probe failed, err=19
[   14.695165] compat: loading out-of-tree module taints kernel.
[   14.706949] Loading modules backported from Linux version v4.19.24-0-gf287634fe321
[   14.718946] Backport generated by backports.git v5.0-rc6-1-8-gd3921c0f
[   14.746572] using random self ethernet address
[   14.753233] using random host ethernet address
[   15.465162] cfg80211: Loading compiled-in X.509 certificates for regulatory database
[   15.510828] cfg80211: Loaded X.509 cert 'sforshee: 00b28ddf47aef9cea7'
[   15.611481] Bluetooth: Core ver 2.22
[   15.618552] NET: Registered protocol family 31
[   15.625372] Bluetooth: HCI device and connection manager initialized
[   15.637486] Bluetooth: HCI socket layer initialized
[   15.645409] Bluetooth: L2CAP socket layer initialized
[   15.653419] Bluetooth: SCO socket layer initialized
[   15.926992] Bluetooth: vendor=0x2df, device=0x9142, class=255, fn=2
[   17.672943] usb0: HOST MAC 00:14:2d:ff:ff:fe
[   17.714006] usb0: MAC 00:14:2d:ff:ff:ff
[   18.504709] IPv6: ADDRCONF(NETDEV_UP): usb0: link is not ready
[   19.273678] Micrel KSZ8041 20b4000.ethernet-1:02: attached PHY driver [Micrel KSZ8041] (mii_bus:phy_addr=20b4000.ethernet-1:02, irq=-1)
[   19.336406] IPv6: ADDRCONF(NETDEV_UP): eth0: link is not ready
[   19.977795] Bluetooth: FW download over, size 621896 bytes
[   20.223850] sdio platform data not available
[   20.373774] mwifiex_sdio mmc1:0001:1: WLAN is not the winner! Skip FW dnld
[   20.822067] Bluetooth: BNEP (Ethernet Emulation) ver 1.3
[   20.827527] Bluetooth: BNEP filters: protocol multicast
[   20.842892] Bluetooth: BNEP socket layer initialized
[   20.873976] mwifiex_sdio mmc1:0001:1: WLAN FW is active
[   20.915269] mwifiex_sdio mmc1:0001:1: Unknown api_id: 3
[   20.920528] mwifiex_sdio mmc1:0001:1: Unknown api_id: 4
[   20.925912] mwifiex_sdio mmc1:0001:1: Unknown GET_HW_SPEC TLV type: 0x217
[   21.027155] mwifiex_sdio mmc1:0001:1: info: MWIFIEX VERSION: mwifiex 1.0 (16.68.1.p179) 
[   21.035436] mwifiex_sdio mmc1:0001:1: driver_version = mwifiex 1.0 (16.68.1.p179) 
[   21.044724] IPv6: ADDRCONF(NETDEV_UP): mlan0: link is not ready
[   21.083613] IPv6: ADDRCONF(NETDEV_UP): uap0: link is not ready
[   21.426792] Bluetooth: RFCOMM TTY layer initialized
[   21.445863] Bluetooth: RFCOMM socket layer initialized
[   21.553878] Bluetooth: RFCOMM ver 1.11
[   36.701325] ieee80211 phy0: mwifiex_cfg80211_sched_scan_start : Invalid Sched_scan parameters
[   63.726494] ieee80211 phy0: mwifiex_cfg80211_sched_scan_start : Invalid Sched_scan parameters
[   64.004703] fec 20b4000.ethernet eth0: Link is Up - 100Mbps/Full - flow control off
[   64.013797] IPv6: ADDRCONF(NETDEV_CHANGE): eth0: link becomes ready
[   66.444803] ieee80211 phy0: mwifiex_cfg80211_sched_scan_start : Invalid Sched_scan parameters
[  101.444752] fec 20b4000.ethernet eth0: Link is Down
[  101.514702] IPv6: ADDRCONF(NETDEV_UP): eth0: link is not ready
[  121.240318] PM: Syncing filesystems ... done.
[  121.422380] Freezing user space processes ... (elapsed 0.002 seconds) done.
[  121.432168] Freezing remaining freezable tasks ... (elapsed 0.001 seconds) done.
[  121.441552] Suspending console(s) (use no_console_suspend to debug)
[  121.448956] mwifiex_sdio mmc1:0001:1: None of the WOWLAN triggers enabled
[  121.565089] PM: suspend of devices complete after 116.254 msecs
[  121.567238] PM: late suspend of devices complete after 2.118 msecs
[  121.569162] PM: noirq suspend of devices complete after 1.898 msecs
[  121.569169] Disabling non-boot CPUs ...
[  121.570687] PM: noirq resume of devices complete after 1.395 msecs
[  121.572309] PM: early resume of devices complete after 1.370 msecs
[  121.574556] gpmi-nand 1806000.gpmi-nand: mode:5 ,failed in set feature.
[  121.763663] mmc1: error -110 during resume (card was removed?)
[  121.766328] Suspended for 9.315 seconds
[  121.799547] PM: resume of devices complete after 227.207 msecs
[  121.866220] Restarting tasks ... done.
[  121.923076] mwifiex_sdio mmc1:0001:1: info: shutdown mwifiex...
[  121.944935] mwifiex_sdio mmc1:0001:1: PREP_CMD: device in suspended state
[  121.952246] mwifiex_sdio mmc1:0001:1: PREP_CMD: device in suspended state
[  122.040992] mwifiex_sdio mmc1:0001:1: PREP_CMD: device in suspended state
[  122.070321] mwifiex_sdio mmc1:0001:1: PREP_CMD: device in suspended state
[  122.086291] mwifiex_sdio mmc1:0001:1: PREP_CMD: device in suspended state
[  122.190897] mmc1: card 0001 removed
[  122.336769] sdhci-esdhc-imx 2194000.usdhc: no support for card's volts
[  122.343329] mmc1: error -22 whilst initialising SDIO card
[  122.485147] sdhci-esdhc-imx 2194000.usdhc: no support for card's volts
[  122.491848] mmc1: error -22 whilst initialising SDIO card
[  122.574638] sdhci-esdhc-imx 2194000.usdhc: no support for card's volts
[  122.581379] mmc1: error -22 whilst initialising SDIO card
[  122.667565] sdhci-esdhc-imx 2194000.usdhc: no support for card's volts
[  122.674177] mmc1: error -22 whilst initialising SDIO card
[  123.842269] sdhci-esdhc-imx 2194000.usdhc: no support for card's volts

This seemed similar to the following questions:

and it seemed a solution might be using a more recent build, so I went back to the Easy Installer and used a newer build from CI feed, 2.8b7.188. However the issue persisted:

[    0.000000] Booting Linux on physical CPU 0x0
[    0.000000] Linux version 4.9.166-2.8.7+gf32c1cf917eb (oe-user@oe-host) (gcc version 7.3.0 (GCC) ) #1 SMP Sun May 12 21:12:00 UTC 2019
[    0.000000] CPU: ARMv7 Processor [410fc075] revision 5 (ARMv7), cr=10c5387d
[    0.000000] CPU: div instructions available: patching division code
[    0.000000] CPU: PIPT / VIPT nonaliasing data cache, VIPT aliasing instruction cache
[    0.000000] OF: fdt:Machine model: Toradex Colibri iMX6ULL 512MB on Colibri Evaluation Board V3
[    0.000000] Reserved memory: created CMA memory pool at 0x98000000, size 128 MiB
[    0.000000] OF: reserved mem: initialized node linux,cma, compatible id shared-dma-pool
[    0.000000] Memory policy: Data cache writealloc
[    0.000000] On node 0 totalpages: 131072
[    0.000000] free_area_init_node: node 0, pgdat 80c5fcc0, node_mem_map 97bb8000
[    0.000000]   Normal zone: 1024 pages used for memmap
[    0.000000]   Normal zone: 0 pages reserved
[    0.000000]   Normal zone: 131072 pages, LIFO batch:31
[    0.000000] percpu: Embedded 14 pages/cpu @97b8e000 s25804 r8192 d23348 u57344
[    0.000000] pcpu-alloc: s25804 r8192 d23348 u57344 alloc=14*4096
[    0.000000] pcpu-alloc: [0] 0 
[    0.000000] Built 1 zonelists in Zone order, mobility grouping on.  Total pages: 130048
[    0.000000] Kernel command line: user_debug=30 ubi.mtd=ubi root=ubi0:rootfs rw rootfstype=ubifs ubi.fm_autoconvert=1 console=tty1 console=ttymxc0,115200n8 consoleblank=0 video=mxsfb:640x480M-16@60
[    0.000000] PID hash table entries: 2048 (order: 1, 8192 bytes)
[    0.000000] Dentry cache hash table entries: 65536 (order: 6, 262144 bytes)
[    0.000000] Inode-cache hash table entries: 32768 (order: 5, 131072 bytes)
[    0.000000] Memory: 376188K/524288K available (7168K kernel code, 386K rwdata, 2204K rodata, 1024K init, 376K bss, 17028K reserved, 131072K cma-reserved)
[    0.000000] Virtual kernel memory layout:
[    0.000000]     vector  : 0xffff0000 - 0xffff1000   (   4 kB)
[    0.000000]     fixmap  : 0xffc00000 - 0xfff00000   (3072 kB)
[    0.000000]     vmalloc : 0xa0800000 - 0xff800000   (1520 MB)
[    0.000000]     lowmem  : 0x80000000 - 0xa0000000   ( 512 MB)
[    0.000000]     modules : 0x7f000000 - 0x80000000   (  16 MB)
[    0.000000]       .text : 0x80008000 - 0x80800000   (8160 kB)
[    0.000000]       .init : 0x80b00000 - 0x80c00000   (1024 kB)
[    0.000000]       .data : 0x80c00000 - 0x80c60860   ( 387 kB)
[    0.000000]        .bss : 0x80c62000 - 0x80cc0188   ( 377 kB)
[    0.000000] SLUB: HWalign=64, Order=0-3, MinObjects=0, CPUs=1, Nodes=1
[    0.000000] Hierarchical RCU implementation.
[    0.000000] 	Build-time adjustment of leaf fanout to 32.
[    0.000000] 	RCU restricting CPUs from NR_CPUS=4 to nr_cpu_ids=1.
[    0.000000] RCU: Adjusting geometry for rcu_fanout_leaf=32, nr_cpu_ids=1
[    0.000000] NR_IRQS:16 nr_irqs:16 16
[    0.000000] Switching to timer-based delay loop, resolution 333ns
[    0.000017] sched_clock: 32 bits at 3000kHz, resolution 333ns, wraps every 715827882841ns
[    0.000057] clocksource: mxc_timer1: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 637086815595 ns
[    0.003566] Console: colour dummy device 80x30
[    0.004862] console [tty1] enabled
[    0.004935] Calibrating delay loop (skipped), value calculated using timer frequency.. 6.00 BogoMIPS (lpj=30000)
[    0.005045] pid_max: default: 32768 minimum: 301
[    0.005299] Mount-cache hash table entries: 1024 (order: 0, 4096 bytes)
[    0.005379] Mountpoint-cache hash table entries: 1024 (order: 0, 4096 bytes)
[    0.006889] CPU: Testing write buffer coherency: ok
[    0.007580] Setting up static identity map for 0x80100000 - 0x80100058
[    0.010747] Brought up 1 CPUs
[    0.010832] SMP: Total of 1 processors activated (6.00 BogoMIPS).
[    0.010892] CPU: All CPU(s) started in SVC mode.
[    0.012482] devtmpfs: initialized
[    0.036882] VFP support v0.3: implementor 41 architecture 2 part 30 variant 7 rev 5
[    0.037701] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 19112604462750000 ns
[    0.037833] futex hash table entries: 256 (order: 2, 16384 bytes)
[    0.048055] pinctrl core: initialized pinctrl subsystem
[    0.050453] NET: Registered protocol family 16
[    0.063937] DMA: preallocated 256 KiB pool for atomic coherent allocations
[    0.067047] cpuidle: using governor menu
[    0.111340] hw-breakpoint: found 5 (+1 reserved) breakpoint and 4 watchpoint registers.
[    0.111459] hw-breakpoint: maximum watchpoint size is 8 bytes.
[    0.113983] imx6ul-pinctrl 20e0000.iomuxc: initialized IMX pinctrl driver
[    0.114862] imx6ul-pinctrl 2290000.iomuxc-snvs: initialized IMX pinctrl driver
[    0.173059] mxs-dma 1804000.dma-apbh: initialized
[    0.176123] soc_in: supplied by +V3.3
[    0.176988] eth_phy: supplied by +V3.3
[    0.180108] VCC_USB[1-4]: supplied by 5V
[    0.183202] SCSI subsystem initialized
[    0.183922] usbcore: registered new interface driver usbfs
[    0.184160] usbcore: registered new interface driver hub
[    0.184471] usbcore: registered new device driver usb
[    0.187007] i2c i2c-0: IMX I2C adapter registered
[    0.187103] i2c i2c-0: can't use DMA, using PIO instead.
[    0.188563] i2c i2c-1: IMX I2C adapter registered
[    0.188657] i2c i2c-1: can't use DMA, using PIO instead.
[    0.189124] Linux video capture interface: v2.00
[    0.189295] pps_core: LinuxPPS API ver. 1 registered
[    0.189353] pps_core: Software ver. 5.3.6 - Copyright 2005-2007 Rodolfo Giometti <giometti@linux.it>
[    0.189506] PTP clock support registered
[    0.190322] Advanced Linux Sound Architecture Driver Initialized.
[    0.193366] clocksource: Switched to clocksource mxc_timer1
[    0.193700] VFS: Disk quotas dquot_6.6.0
[    0.193886] VFS: Dquot-cache hash table entries: 1024 (order 0, 4096 bytes)
[    0.219781] NET: Registered protocol family 2
[    0.221267] TCP established hash table entries: 4096 (order: 2, 16384 bytes)
[    0.221455] TCP bind hash table entries: 4096 (order: 3, 32768 bytes)
[    0.221657] TCP: Hash tables configured (established 4096 bind 4096)
[    0.221835] UDP hash table entries: 256 (order: 1, 8192 bytes)
[    0.221940] UDP-Lite hash table entries: 256 (order: 1, 8192 bytes)
[    0.222313] NET: Registered protocol family 1
[    0.223325] RPC: Registered named UNIX socket transport module.
[    0.223551] RPC: Registered udp transport module.
[    0.223607] RPC: Registered tcp transport module.
[    0.223662] RPC: Registered tcp NFSv4.1 backchannel transport module.
[    0.228715] Bus freq driver module loaded
[    0.232590] workingset: timestamp_bits=30 max_order=17 bucket_order=0
[    0.250561] NFS: Registering the id_resolver key type
[    0.250696] Key type id_resolver registered
[    0.250755] Key type id_legacy registered
[    0.250829] nfs4filelayout_init: NFSv4 File Layout Driver Registering...
[    0.252412] ntfs: driver 2.1.32 [Flags: R/W].
[    0.253553] fuse init (API version 7.26)
[    0.271118] io scheduler noop registered
[    0.271207] io scheduler deadline registered
[    0.271703] io scheduler cfq registered (default)
[    0.275958] backlight supply power not found, using dummy regulator
[    0.279884] 21c8000.lcdif supply lcd not found, using dummy regulator
[    0.280432] fbcvt: 640x480@60: CVT Name - .307M3
[    0.391805] Console: switching to colour frame buffer device 80x30
[    0.412525] mxsfb 21c8000.lcdif: initialized
[    0.418927] imx-sdma 20ec000.sdma: loaded firmware 3.3
[    0.432359] 2020000.serial: ttymxc0 at MMIO 0x2020000 (irq = 20, base_baud = 5000000) is a IMX
[    1.080414] console [ttymxc0] enabled
[    1.089673] 21e8000.serial: ttymxc1 at MMIO 0x21e8000 (irq = 63, base_baud = 5000000) is a IMX
[    1.107111] 21f4000.serial: ttymxc4 at MMIO 0x21f4000 (irq = 64, base_baud = 5000000) is a IMX
[    1.143960] loop: module loaded
[    1.160705] random: fast init done
[    1.171622] nand: device found, Manufacturer ID: 0xc2, Chip ID: 0xdc
[    1.181919] nand: Macronix MX30LF4G28AC
[    1.189597] nand: 512 MiB, SLC, erase size: 128 KiB, page size: 2048, OOB size: 112
[    1.205826] gpmi-nand 1806000.gpmi-nand: mode:5 ,failed in set feature.
[    1.217074] Bad block table found at page 262080, version 0x01
[    1.227712] Bad block table found at page 262016, version 0x01
[    1.238116] nand_read_bbt: bad block at 0x000004d80000
[    1.247482] nand_read_bbt: bad block at 0x000010b40000
[    1.256773] nand_read_bbt: bad block at 0x0000169c0000
[    1.266480] 5 ofpart partitions found on MTD device gpmi-nand
[    1.276229] Creating 5 MTD partitions on "gpmi-nand":
[    1.285201] 0x000000000000-0x000000080000 : "mx6ull-bcb"
[    1.295451] 0x000000080000-0x000000200000 : "u-boot1"
[    1.305309] 0x000000200000-0x000000380000 : "u-boot2"
[    1.315048] 0x000000380000-0x000000400000 : "u-boot-env"
[    1.324973] 0x000000400000-0x000020000000 : "ubi"
[    1.346110] gpmi-nand 1806000.gpmi-nand: driver registered.
[    1.359847] spi_imx 2008000.ecspi: probed
[    1.369175] libphy: Fixed MDIO Bus: probed
[    1.544518] pps pps0: new PPS source ptp0
[    1.554258] libphy: fec_enet_mii_bus: probed
[    1.564899] fec 20b4000.ethernet eth0: registered PHC device 0
[    1.576291] ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver
[    1.586253] ehci-mxc: Freescale On-Chip EHCI Host driver
[    1.595327] usbcore: registered new interface driver usb-storage
[    1.605116] usbcore: registered new interface driver usbserial
[    1.614371] usbcore: registered new interface driver usbserial_generic
[    1.624108] usbserial: USB Serial support registered for generic
[    1.633124] usbcore: registered new interface driver ftdi_sio
[    1.641890] usbserial: USB Serial support registered for FTDI USB Serial Device
[    1.655227] usbcore: registered new interface driver pl2303
[    1.664140] usbserial: USB Serial support registered for pl2303
[    1.675982] 2184800.usbmisc supply vbus-wakeup not found, using dummy regulator
[    1.696999] ci_hdrc ci_hdrc.0: EHCI Host Controller
[    1.705616] ci_hdrc ci_hdrc.0: new USB bus registered, assigned bus number 1
[    1.743519] ci_hdrc ci_hdrc.0: USB 2.0 started, EHCI 1.00
[    1.754881] hub 1-0:1.0: USB hub found
[    1.762421] hub 1-0:1.0: 1 port detected
[    1.772956] mousedev: PS/2 mouse device common for all mice
[    1.789490] input: AD7879 Touchscreen as /devices/soc0/soc/2100000.aips-bus/21a4000.i2c/i2c-1/1-002c/input/input0
[    1.809684] rtc-ds1307: probe of 0-0068 failed with error -5
[    1.821067] snvs_rtc 20cc000.snvs:snvs-rtc-lp: rtc core: registered 20cc000.snvs:snvs-r as rtc0
[    1.838152] i2c /dev entries driver
[    1.850427] imx2-wdt 20bc000.wdog: timeout 60 sec (nowayout=0)
[    1.861910] sdhci: Secure Digital Host Controller Interface driver
[    1.872236] sdhci: Copyright(c) Pierre Ossman
[    1.880714] sdhci-pltfm: SDHCI platform and OF driver helper
[    1.893485] sdhci-esdhc-imx 2190000.usdhc: Got CD GPIO
[    1.963865] mmc0: SDHCI controller on 2190000.usdhc [2190000.usdhc] using ADMA
[    2.043431] mmc1: SDHCI controller on 2194000.usdhc [2194000.usdhc] using ADMA
[    2.075265] hidraw: raw HID events driver (C) Jiri Kosina
[    2.085928] usbcore: registered new interface driver usbhid
[    2.095911] usbhid: USB HID core driver
[    2.111860] Netfilter messages via NETLINK v0.30.
[    2.121190] nfnl_acct: registering with nfnetlink.
[    2.130958] nf_conntrack version 0.5.0 (8192 buckets, 32768 max)
[    2.141422] usb 1-1: new high-speed USB device number 2 using ci_hdrc
[    2.153140] nf_tables: (c) 2007-2009 Patrick McHardy <kaber@trash.net>
[    2.165393] ip_tables: (C) 2000-2006 Netfilter Core Team
[    2.177115] NET: Registered protocol family 10
[    2.189152] ip6_tables: (C) 2000-2006 Netfilter Core Team
[    2.199068] NET: Registered protocol family 17
[    2.207981] Bridge firewalling registered
[    2.216332] 8021q: 802.1Q VLAN Support v1.8
[    2.224741] Key type dns_resolver registered
[    2.238544] cpu cpu0: Registered imx6q-cpufreq
[    2.255169] mmc1: new high speed SDIO card at address 0001
[    2.273611] Registering SWP/SWPB emulation handler
[    2.281355] registered taskstats version 1
[    2.315954] ci_hdrc ci_hdrc.1: EHCI Host Controller
[    2.322862] ci_hdrc ci_hdrc.1: new USB bus registered, assigned bus number 2
[    2.356631] hub 1-1:1.0: USB hub found
[    2.362720] hub 1-1:1.0: 4 ports detected
[    2.368634] ci_hdrc ci_hdrc.1: USB 2.0 started, EHCI 1.00
[    2.377944] hub 2-0:1.0: USB hub found
[    2.383806] hub 2-0:1.0: 1 port detected
[    2.392232] imx_thermal 2000000.aips-bus:tempmon: Industrial CPU temperature grade - max:105C critical:105C passive:95C
[    2.407623] ubi0: default fastmap pool size: 200
[    2.414192] ubi0: default fastmap WL pool size: 100
[    2.420833] ubi0: attaching mtd4
[    2.703449] usb 1-1.1: new low-speed USB device number 3 using ci_hdrc
[    2.884106] input: CHICONY HP Basic USB Keyboard as /devices/soc0/soc/2100000.aips-bus/2184200.usb/ci_hdrc.0/usb1/1-1/1-1.1/1-1.1:1.0/0003:03F0:0024.0001/input/input1
[    2.974926] hid-generic 0003:03F0:0024.0001: input,hidraw0: USB HID v1.10 Keyboard [CHICONY HP Basic USB Keyboard] on usb-ci_hdrc.0-1.1/input0
[    3.093464] usb 1-1.3: new low-speed USB device number 4 using ci_hdrc
[    3.265211] input: Logitech USB Optical Mouse as /devices/soc0/soc/2100000.aips-bus/2184200.usb/ci_hdrc.0/usb1/1-1/1-1.3/1-1.3:1.0/0003:046D:C077.0002/input/input2
[    3.295634] hid-generic 0003:046D:C077.0002: input,hidraw1: USB HID v1.11 Mouse [Logitech USB Optical Mouse] on usb-ci_hdrc.0-1.3/input0
[    3.340875] random: crng init done
[    4.731045] ubi0: scanning is finished
[    4.769004] ubi0: attached mtd4 (name "ubi", size 508 MiB)
[    4.778987] ubi0: PEB size: 131072 bytes (128 KiB), LEB size: 126976 bytes
[    4.790419] ubi0: min./max. I/O unit sizes: 2048/2048, sub-page size 2048
[    4.801736] ubi0: VID header offset: 2048 (aligned 2048), data offset: 4096
[    4.813262] ubi0: good PEBs: 4057, bad PEBs: 7, corrupted PEBs: 0
[    4.824016] ubi0: user volume: 4, internal volumes: 1, max. volumes count: 128
[    4.840228] ubi0: max/mean erase counter: 7/3, WL threshold: 4096, image sequence number: 636688999
[    4.858555] ubi0: available PEBs: 0, total reserved PEBs: 4057, PEBs reserved for bad PEB handling: 73
[    4.878024] ubi0: background thread "ubi_bgt0d" started, PID 105
[    4.887568] input: gpio-keys as /devices/soc0/gpio-keys/input/input3
[    4.897223] snvs_rtc 20cc000.snvs:snvs-rtc-lp: setting system clock to 1970-01-01 00:00:03 UTC (3)
[    4.911662] soc_in: disabling
[    4.917060] ALSA device list:
[    4.922274]   No soundcards found.
[    4.930349] UBIFS (ubi0:3): background thread "ubifs_bgt0_3" started, PID 106
[    5.128708] UBIFS (ubi0:3): UBIFS: mounted UBI device 0, volume 3, name "rootfs"
[    5.153591] UBIFS (ubi0:3): LEB size: 126976 bytes (124 KiB), min./max. I/O unit sizes: 2048 bytes/2048 bytes
[    5.180972] UBIFS (ubi0:3): FS size: 493936640 bytes (471 MiB, 3890 LEBs), journal size 9023488 bytes (8 MiB, 72 LEBs)
[    5.209888] UBIFS (ubi0:3): reserved for root: 0 bytes (0 KiB)
[    5.225039] UBIFS (ubi0:3): media format: w4/r0 (latest is w4/r0), UUID F83E6E8A-19FF-4984-86C6-0ED5A66160F1, small LPT model
[    5.258428] VFS: Mounted root (ubifs filesystem) on device 0:12.
[    5.269445] devtmpfs: mounted
[    5.276227] Freeing unused kernel memory: 1024K
[    6.057085] systemd[1]: System time before build time, advancing clock.
[    6.270604] systemd[1]: systemd 234 running in system mode. (+PAM -AUDIT -SELINUX +IMA -APPARMOR +SMACK +SYSVINIT +UTMP -LIBCRYPTSETUP -GCRYPT -GNUTLS -ACL +XZ +LZ4 -SECCOMP +BLKID -ELFUTILS +KMOD -IDN2 +IDN default-hierarchy=hybrid)
[    6.321834] systemd[1]: Detected architecture arm.
[    6.375712] systemd[1]: Set hostname to <colibri-imx6ull>.
[    6.398931] systemd[1]: Initializing machine ID from random generator.
[    7.699622] systemd[1]: Reached target Remote File Systems.
[    7.749606] systemd[1]: Listening on Journal Socket.
[    7.785485] systemd[1]: Reached target Host and Network Name Lookups.
[    7.828370] systemd[1]: Listening on Network Service Netlink Socket.
[    7.863848] systemd[1]: Reached target Swap.
[    7.912557] systemd[1]: Created slice User and Session Slice.
[    9.394926] systemd-journald[118]: Received request to flush runtime journal from PID 1
[   18.758766] CAN device driver interface
[   18.897500] mcp251x spi0.0: Cannot initialize MCP2515. Wrong wiring?
[   18.973561] mcp251x spi0.0: Probe failed, err=19
[   19.968441] compat: loading out-of-tree module taints kernel.
[   19.979457] Loading modules backported from Linux version v4.19.41-0-g21de7eb67cff
[   19.991350] Backport generated by backports.git v5.0-rc6-1-8-gd3921c0f
[   20.188153] using random self ethernet address
[   20.194867] using random host ethernet address
[   20.490504] Bluetooth: Core ver 2.22
[   20.509751] NET: Registered protocol family 31
[   20.516396] Bluetooth: HCI device and connection manager initialized
[   20.662985] Bluetooth: HCI socket layer initialized
[   20.701023] Bluetooth: L2CAP socket layer initialized
[   20.770789] Bluetooth: SCO socket layer initialized
[   21.078357] Bluetooth: vendor=0x2df, device=0x9142, class=255, fn=2
[   21.565486] cfg80211: Loading compiled-in X.509 certificates for regulatory database
[   21.657189] cfg80211: Loaded X.509 cert 'sforshee: 00b28ddf47aef9cea7'
[   23.516813] usb0: HOST MAC 00:14:2d:ff:ff:fe
[   23.566055] usb0: MAC 00:14:2d:ff:ff:ff
[   24.307779] IPv6: ADDRCONF(NETDEV_UP): usb0: link is not ready
[   24.503495] Micrel KSZ8041 20b4000.ethernet-1:02: attached PHY driver [Micrel KSZ8041] (mii_bus:phy_addr=20b4000.ethernet-1:02, irq=-1)
[   24.534402] IPv6: ADDRCONF(NETDEV_UP): eth0: link is not ready
[   25.008882] Bluetooth: FW download over, size 621896 bytes
[   25.253891] sdio platform data not available
[   25.423667] mwifiex_sdio mmc1:0001:1: WLAN is not the winner! Skip FW dnld
[   25.861286] Bluetooth: BNEP (Ethernet Emulation) ver 1.3
[   25.869910] Bluetooth: BNEP filters: protocol multicast
[   25.892305] Bluetooth: BNEP socket layer initialized
[   25.954206] mwifiex_sdio mmc1:0001:1: WLAN FW is active
[   26.024152] mwifiex_sdio mmc1:0001:1: Unknown api_id: 3
[   26.031377] mwifiex_sdio mmc1:0001:1: Unknown api_id: 4
[   26.038599] mwifiex_sdio mmc1:0001:1: Unknown GET_HW_SPEC TLV type: 0x217
[   26.112080] mwifiex_sdio mmc1:0001:1: info: MWIFIEX VERSION: mwifiex 1.0 (16.68.1.p179) 
[   26.124089] mwifiex_sdio mmc1:0001:1: driver_version = mwifiex 1.0 (16.68.1.p179) 
[   26.396412] Bluetooth: RFCOMM TTY layer initialized
[   26.440891] Bluetooth: RFCOMM socket layer initialized
[   26.489350] Bluetooth: RFCOMM ver 1.11
[   27.604273] fec 20b4000.ethernet eth0: Link is Up - 100Mbps/Full - flow control off
[   27.611995] IPv6: ADDRCONF(NETDEV_CHANGE): eth0: link becomes ready
[   61.544652] mmc0: new high speed SDHC card at address aaaa
[   61.572801] mmcblk0: mmc0:aaaa SS16G 14.8 GiB 
[   61.595467]  mmcblk0: p1
[   62.392764] FAT-fs (mmcblk0p1): Volume was not properly unmounted. Some data may be corrupt. Please run fsck.
[  142.226342] IPv6: ADDRCONF(NETDEV_UP): uap0: link is not ready
[  142.267245] IPv6: ADDRCONF(NETDEV_UP): mlan0: link is not ready
[  157.713247] ieee80211 phy0: mwifiex_cfg80211_sched_scan_start : Invalid Sched_scan parameters
[  163.851391] fec 20b4000.ethernet eth0: Link is Down
[  163.911441] IPv6: ADDRCONF(NETDEV_UP): eth0: link is not ready
[  184.722165] ieee80211 phy0: mwifiex_cfg80211_sched_scan_start : Invalid Sched_scan parameters
[  185.864044] PM: Syncing filesystems ... done.
[  186.087068] Freezing user space processes ... (elapsed 0.003 seconds) done.
[  186.097647] Freezing remaining freezable tasks ... (elapsed 0.001 seconds) done.
[  186.107037] Suspending console(s) (use no_console_suspend to debug)
[  186.114604] mwifiex_sdio mmc1:0001:1: None of the WOWLAN triggers enabled
[  186.646566] PM: suspend of devices complete after 532.216 msecs
[  186.648639] PM: late suspend of devices complete after 2.045 msecs
[  186.650593] PM: noirq suspend of devices complete after 1.928 msecs
[  186.650599] Disabling non-boot CPUs ...
[  186.652324] PM: noirq resume of devices complete after 1.599 msecs
[  186.653998] PM: early resume of devices complete after 1.420 msecs
[  186.656298] gpmi-nand 1806000.gpmi-nand: mode:5 ,failed in set feature.
[  186.840125] mmc1: error -110 during resume (card was removed?)
[  186.842781] Suspended for 9.430 seconds
[  189.851703] mwifiex_sdio mmc1:0001:1: Firmware wakeup failed
[  189.851884] PM: resume of devices complete after 3197.785 msecs
[  189.923687] Restarting tasks ... 
[  189.938934] ieee80211 phy0: mwifiex_cfg80211_sched_scan_start : Invalid Sched_scan parameters
[  189.982014] done.
[  189.984700] mwifiex_sdio mmc1:0001:1: info: shutdown mwifiex...
[  190.014896] mwifiex_sdio mmc1:0001:1: PREP_CMD: card is removed
[  190.021019] mwifiex_sdio mmc1:0001:1: PREP_CMD: card is removed
[  190.134856] mwifiex_sdio mmc1:0001:1: PREP_CMD: card is removed
[  190.140846] mwifiex_sdio mmc1:0001:1: PREP_CMD: card is removed
[  190.201907] mwifiex_sdio mmc1:0001:1: PREP_CMD: card is removed
[  190.297783] mmc1: card 0001 removed
[  190.452881] sdhci-esdhc-imx 2194000.usdhc: no support for card's volts
[  190.459444] mmc1: error -22 whilst initialising SDIO card
[  190.579348] sdhci-esdhc-imx 2194000.usdhc: no support for card's volts
[  190.585965] mmc1: error -22 whilst initialising SDIO card
[  190.670183] sdhci-esdhc-imx 2194000.usdhc: no support for card's volts
[  190.676792] mmc1: error -22 whilst initialising SDIO card
[  190.763361] sdhci-esdhc-imx 2194000.usdhc: no support for card's volts
[  190.769920] mmc1: error -22 whilst initialising SDIO card
[  191.929251] sdhci-esdhc-imx 2194000.usdhc: no support for card's volts

Let me know if something seems amiss or if there is a patch I should try.

Thank you

hi @chris_vi

We can reproduce the Issue. We are looking for the root cause and will come soon back to you.

Best regards,
Jaski

Hi @chris_vi

The following patch will solve this Issue. I tested this successfully no my side.

Thanks and best regards,
Jaski

Thank you Jaski. I ran a quick test on our openembedded project with BSP 2.8b6 and only rebuilding the device tree after applying the patch to imx6ull-colibri-wifi.dtsi, but ran into a new error:

[  202.713404] PM: Syncing filesystems ... done.
[  202.901073] Freezing user space processes ... (elapsed 0.004 seconds) done.
[  202.906025] Freezing remaining freezable tasks ... (elapsed 0.001 seconds) done.
[  202.907723] Suspending console(s) (use no_console_suspend to debug)
[  202.918024] mwifiex_sdio mmc1:0001:1: info: successfully disconnected from 1c:49:7b:8d:df:b5: reason code 3
[  202.920788] mwifiex_sdio mmc1:0001:1: None of the WOWLAN triggers enabled
[  203.023020] PM: suspend of devices complete after 114.491 msecs
[  203.025124] PM: late suspend of devices complete after 2.078 msecs
[  203.027084] PM: noirq suspend of devices complete after 1.934 msecs
[  203.027091] Disabling non-boot CPUs ...
[  203.028676] PM: noirq resume of devices complete after 1.461 msecs
[  203.030355] PM: early resume of devices complete after 1.426 msecs
[  203.032709] gpmi-nand 1806000.gpmi-nand: mode:5 ,failed in set feature.
[  203.215042] Suspended for 14.295 seconds
[  203.246670] PM: resume of devices complete after 216.364 msecs
[  203.249086] Restarting tasks ... 
[  203.275081] mwifiex_sdio mmc1:0001:1: PREP_CMD: device in suspended state
[  203.276092] mwifiex_sdio mmc1:0001:1: PREP_CMD: device in suspended state
[  203.277736] mwifiex_sdio mmc1:0001:1: PREP_CMD: device in suspended state
[  203.303931] done.
[  203.325521] mwifiex_sdio mmc1:0001:1: PREP_CMD: device in suspended state
[  203.325555] mwifiex_sdio mmc1:0001:1: PREP_CMD: device in suspended state
[  203.354228] mwifiex_sdio mmc1:0001:1: PREP_CMD: device in suspended state
... etc ...

This build I tested with is our application project that has some changes to the kernel and device tree, so I will try a new clean build and get back. The connmanctl program can detect the wifi module at least (I can enter “enable wifi” or “disable wifi” after waking up from suspend, although the same ‘device in suspended state’ error continues) so perhaps I can just find a way to wake it up from this state.

Hi, I have not see this issue.

This build I tested with is our application project that has some changes to the kernel and device tree, so I will try a new clean build and get back.

Could you provide your kernel .config file?
Let us know your results with the clean build.

Best regards,
Jaski