Closed tmandry closed 1 year ago
Unfortunately debugging this chip is really difficult since there isn't really any documentation beyond the SPI interface.
I noticed two things so far:
there is currently a loop that simply retries the join, if it fails. So events beyond the first join failure may not be helpful.
And, if you don't mind, I just made a commit to remove the IOCTL RESPONSE spam, could you re-post the logs (maybe also with debug=1 to remove the 2nd line)? That makes it a bit more readable.
I did set a static ip initially to see if DHCP was the problem. Reverted that now. I had to switch to using probe-run
to get rid of the line number spam.
after that it's the same DHCP message repeated, until...
132.341008 WARN unexpected ethernet type 0x0000, expected Broadcom ether type 0x886c
I've noticed these messages cropping up, this time it failed before that though.
Actually here's a more interesting log, I think the AP was turned off the first time, oops.
0.001138 INFO Hello World!
0.272596 INFO waiting for clock...
0.272675 INFO clock ok
0.272896 INFO chip ID: 43439
0.275674 INFO loading fw
0.427550 INFO loading nvram
0.428369 INFO starting up core...
0.449586 INFO waiting for wifi init...
0.533745 INFO shared_addr 00016070
0.534021 INFO init done
0.534328 INFO Downloading CLM...
0.535917 DEBUG LOGS: 000000.001
0.536186 DEBUG LOGS: 000000.003 sdpcmdcdc0: Broadcom SDPCMD CDC driver
0.537305 DEBUG LOGS: 000000.056 TCAM: 256 used: 76 exceed:0
0.538239 WARN TX stalled
0.538563 WARN BCD event, incomplete header
0.538658 WARN BCD event, incomplete header
0.547694 INFO get clmload_status
0.548780 INFO Configuring misc stuff...
0.548837 INFO set bus:txglom = [00, 00, 00, 00]
0.549984 INFO set apsta = [01, 00, 00, 00]
0.551008 INFO get cur_etheraddr
0.551958 INFO mac addr: [28, cd, c1, 0b, 30, 67]
0.552032 INFO set country = [58, 58, 00, 00, ff, ff, ff, ff, 58, 58, 00, 00]
1.721783 DEBUG LOGS: 000000.586 wl0: wlc_lcn20phy_rx_iq_est: IQ measurement timed out
1.721972 DEBUG LOGS: 000000.702 wl0: wlc_lcn20phy_rx_iq_est: IQ measurement timed out
1.722334 DEBUG LOGS: 000000.824 wl0: wlc_phy_do_dummy_tx: Waited 310 uS for ofdm txframd
1.722586 WARN IRQ DATA_UNAVAILABLE, clearing...
1.822182 INFO set bus:txglom = [00, 00, 00, 00]
1.923243 INFO set ampdu_ba_wsize = [08, 00, 00, 00]
2.024294 INFO set ampdu_mpdu = [04, 00, 00, 00]
2.125368 INFO set bsscfg:event_msgs = [00, 00, 00, 00, ff, ff, f7, ff, ff, ee, bf, ff, 7f, ff, ff, ff, ff, ff, ff, ff, ff, fd, ff, ff, ff, ff, ff, ff]
2.227730 WARN IRQ DATA_UNAVAILABLE, clearing...
2.228486 DEBUG LOGS: 000001.772 wl0: wl_open
2.228653 WARN IRQ DATA_UNAVAILABLE, clearing...
2.429843 INFO INIT DONE
2.429889 INFO set pm2_sleep_ret = [c8, 00, 00, 00]
2.430963 INFO set bcn_li_bcn = [01, 00, 00, 00]
2.432000 INFO set bcn_li_dtim = [01, 00, 00, 00]
2.433038 INFO set assoc_listen = [0a, 00, 00, 00]
2.435282 INFO set ampdu_ba_wsize = [08, 00, 00, 00]
2.435878 DEBUG DHCP send DISCOVER to 255.255.255.255: Repr { message_type: Discover, transaction_id: 3920894729, secs: 0, client_hardware_address: Address([40, 205, 193, 11, 48, 103]), client_ip: 0.0.0.0, your_ip: 0.0.0.0, server_ip: 0.0.0.0, router: None, subnet_mask: None, relay_agent_ip: 0.0.0.0, broadcast: false, requested_ip: None, client_identifier: Some(Address([40, 205, 193, 11, 48, 103])), server_identifier: None, parameter_request_list: Some([1, 3, 6]), dns_servers: None, max_size: Some(1432), lease_duration: None, renew_duration: None, rebind_duration: None, additional_options: [] }
2.439995 INFO set bsscfg:sup_wpa = [00, 00, 00, 00, 01, 00, 00, 00]
2.441094 INFO set bsscfg:sup_wpa2_eapver = [00, 00, 00, 00, ff, ff, ff, ff]
2.442147 INFO set bsscfg:sup_wpa_tmo = [00, 00, 00, 00, c4, 09, 00, 00]
6.212146 DEBUG === EVENT TXFAIL: EventMessage { version: 2, flags: 0, event_type: 20, status: 2, reason: 0, auth_type: 0, datalen: 0, addr: [d6, cd, 5b, ef, 3a, fa], ifname: [77, 6c, 30, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], ifidx: 0, bsscfgidx: 0, } []
6.212377 DEBUG === EVENT AUTH: EventMessage { version: 2, flags: 0, event_type: 3, status: 5, reason: 0, auth_type: 0, datalen: 0, addr: [d6, cd, 5b, ef, 3a, fa], ifname: [77, 6c, 30, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], ifidx: 0, bsscfgidx: 0, } []
6.212701 WARN JOIN failed with status=5
6.212801 DEBUG === EVENT SET_SSID: EventMessage { version: 2, flags: 0, event_type: 0, status: 1, reason: 0, auth_type: 0, datalen: 13, addr: [0, 0, 0, 0, 0, 0], ifname: [77, 6c, 30, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], ifidx: 0, bsscfgidx: 0, } [54, 79, 6c, 65, 72, 27, 73, 20, 50, 69, 78, 65, 6c]
6.215135 WARN IRQ DATA_UNAVAILABLE, clearing...
8.044082 DEBUG === EVENT TXFAIL: EventMessage { version: 2, flags: 0, event_type: 20, status: 2, reason: 0, auth_type: 0, datalen: 0, addr: [d6, cd, 5b, ef, 3a, fa], ifname: [77, 6c, 30, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], ifidx: 0, bsscfgidx: 0, } []
8.044267 DEBUG === EVENT AUTH: EventMessage { version: 2, flags: 0, event_type: 3, status: 5, reason: 0, auth_type: 0, datalen: 0, addr: [d6, cd, 5b, ef, 3a, fa], ifname: [77, 6c, 30, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], ifidx: 0, bsscfgidx: 0, } []
8.044508 WARN JOIN failed with status=5
8.044590 DEBUG === EVENT SET_SSID: EventMessage { version: 2, flags: 0, event_type: 0, status: 1, reason: 0, auth_type: 0, datalen: 13, addr: [0, 0, 0, 0, 0, 0], ifname: [77, 6c, 30, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], ifidx: 0, bsscfgidx: 0, } [54, 79, 6c, 65, 72, 27, 73, 20, 50, 69, 78, 65, 6c]
8.045983 DEBUG LOGS: 000007.064 wl0: wlc_lcn20phy_rx_hq_est: IQ measurement timed out
8.047518 WARN IRQ DATA_UNAVAILABLE, clearing...
10.933493 DEBUG === EVENT TXFAIL: EventMessage { version: 2, flags: 0, event_type: 20, status: 2, reason: 0, auth_type: 0, datalen: 0, addr: [d6, cd, 5b, ef, 3a, fa], ifname: [77, 6c, 30, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], ifidx: 0, bsscfgidx: 0, } []
10.933673 DEBUG === EVENT AUTH: EventMessage { version: 2, flags: 0, event_type: 3, status: 5, reason: 0, auth_type: 0, datalen: 0, addr: [d6, cd, 5b, ef, 3a, fa], ifname: [77, 6c, 30, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], ifidx: 0, bsscfgidx: 0, } []
10.933913 WARN JOIN failed with status=5
10.933988 DEBUG === EVENT SET_SSID: EventMessage { version: 2, flags: 0, event_type: 0, status: 1, reason: 0, auth_type: 0, datalen: 13, addr: [0, 0, b0, 0, 3a, 1], ifname: [77, 6c, 30, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], ifidx: 0, bsscfgidx: 0, } [54, 79, 6c, 65, 72, 27, 73, 20, 50, 69, 78, 65, 6c]
10.935004 DEBUG LOGS: 000008.782 wl0: wlc_lcn20phy_rx_iq_est: IQ meastrement timed out
10.936087 DEBUG LOGS: 000009.480 wl0: wlc_lcn20phy_rx_iq_dst: IQ measurement timed out
10.936707 DEBUG LOGS: 000009.734 wl0: wlc_lcn20phy_rx_iq_est: IQ measurement timed out
10.936888 DEBUG LOGS: 000009.852 wl0: wlc_lcn20phy_rx_iq_est: IQ measurement timdd out
10.952764 DEBUG LOGS: 000010.467 wl0: JOIN: authentication failure, no ack
10.953454 WARN IRQ DATA_UNAVAILABLE, clearing...
12.435270 DEBUG DHCP send DISCOVER to 255.255.255.255: Repr { message_type: Discover, transaction_id: 3614810059, secs: 0, client_hardware_address: Address([40, 205, 193, 11, 48, 103]), client_ip: 0.0.0.0, your_ip: 0.0.0.0, server_ip: 0.0.0.0, router: None, subnet_mask: None, relay_agent_ip: 0.0.0.0, broadcast: false, requested_ip: None, client_identifier: Some(Address([40, 205, 193, 11, 48, 103])), server_identifier: None, parameter_request_list: Some([1, 3, 6]), dns_servers: None, max_size: Some(1432), lease_duration: None, renew_duration: None, rebind_duration: None, additional_options: [] }
Thanks. Yes, SET_SSID event with status=3 means no network found. This one fails with AUTH status=5 which means NO_ACK.
This is kind of a long shot but since this is the main part I contributed here recently... Can you see if it works with this branch https://github.com/kbleeke/cyw43/tree/slow-pio ? This one reduces the transmission speed between the pico and the wifi chip. I'm curious because there is weird data in a bunch of places: the ethernet type, len inv mismatch, weird typos (?) in firmware logs...
Oh and: did you try one of the official wifi examples from pico-sdk?
I noticed the weird typos, they look like bus corruption somewhere, I assumed over the serial debug link but it could be along the PIO path as you say. If these are all in places coming from the wifi chip then it seems likely.
No I've been meaning to try a different software stack to confirm the chip is working, I should definitely do that. I'll report back once I do.
Okay, I found the problem. I think I was underpowering the chip by only powering it with 3.3v (following the picoprobe instructions in the Getting started with Raspberry Pi Pico guide). I'm sure there are docs that say somewhere that you have to be connected to 5v power for the wifi chip to work, but that guide is for the Pico and not the Pico W. Oh well.
I was never able to get serial output with the SDK examples (with or without 5V power), so I wasn't able to verify if those worked. But I tried CircuitPython and it connected, and I'd seen some logs about power issues in the last round. Since CircuitPython was using USB I figured I'd try powering that port directly instead of powering off the probe's 3.3v. It worked!
The above log is on the slow-pio branch, but the behavior seems to be the same on master. There seems to be some timeout resetting the connection each time. But in any case, it mostly works.
Thanks for your help!
Hey there. I've been trying to connect to a couple wifi routers I have, and most recently to my phone hotspot (Pixel 6, because I can put it right next to the Pico, which gives more consistent results). I haven't succeeded yet. A typical log is below.
Sometimes it also freezes after "set country".
I was able to run the scanning example successfully. With AP example I couldn't find or connect to the network with my laptop.
Happy to take a patch and run it for the output, if it helps. This log is on current master (6ee45f5ec01208bdcb38f23bf46dcdac141ff6e7).
Logs
``` 0.001125 INFO Hello World! └─ src/bin/tcp_server.rs:47 0.272577 INFO waiting for clock... └─ /Users/tyler/code/cyw43/src/fmt.rs:140 0.272650 INFO clock ok └─ /Users/tyler/code/cyw43/src/fmt.rs:140 0.272874 INFO chip ID: 43439 └─ /Users/tyler/code/cyw43/src/fmt.rs:140 0.275712 INFO loading fw └─ /Users/tyler/code/cyw43/src/fmt.rs:140 0.427551 INFO loading nvram └─ /Users/tyler/code/cyw43/src/fmt.rs:140 0.428379 INFO starting up core... └─ /Users/tyler/code/cyw43/src/fmt.rs:140 0.570283 INFO IOCTL Response: [00, 00, 00, 00, 6f, 61, 64, 5f, 73, 74, 61, 74, 75, 73, 00] └─ /Users/tyler/code/cyw43/src/fmt.rs:140 0.570354 INFO IOCTL Response: [00, 00, 00, 00, 6f, 61, 64, 5f, 73, 74, 61, 74, 75, 73, 00] └─ /Users/tyler/code/cyw43/src/fmt.rs:140 0.570649 INFO Configuring misc stuff... └─ /Users/tyler/code/cyw43/src/fmt.rs:140 0.570705 INFO set bus:txglom = [00, 00, 00, 00] └─ /Users/tyler/code/cyw43/src/fmt.rs:140 0.571510 INFO IOCTL Response: [62, 75, 73, 3a, 74, 78, 67, 6c, 6f, 6d, 00, 00, 00, 00, 00] └─ /Users/tyler/code/cyw43/src/fmt.rs:140 0.571577 INFO IOCTL Response: [62, 75, 73, 3a, 74, 78, 67, 6c, 6f, 6d, 00, 00, 00, 00, 00] └─ /Users/tyler/code/cyw43/src/fmt.rs:140 0.571892 INFO set apsta = [01, 00, 00, 00] └─ /Users/tyler/code/cyw43/src/fmt.rs:140 0.572604 INFO IOCTL Response: [61, 70, 73, 74, 61, 00, 01, 00, 00, 00] └─ /Users/tyler/code/cyw43/src/fmt.rs:140 0.572662 INFO IOCTL Response: [61, 70, 73, 74, 61, 00, 01, 00, 00, 00] └─ /Users/tyler/code/cyw43/src/fmt.rs:140 0.572950 INFO get cur_etheraddr └─ /Users/tyler/code/cyw43/src/fmt.rs:140 0.573644 INFO IOCTL Response: [28, cd, c1, 0b, 30, 67, 68, 65, 72, 61, 64, 64, 72, 00] └─ /Users/tyler/code/cyw43/src/fmt.rs:140 0.573719 INFO IOCTL Response: [28, cd, c1, 0b, 30, 67, 68, 65, 72, 61, 64, 64, 72, 00] └─ /Users/tyler/code/cyw43/src/fmt.rs:140 0.573999 INFO mac addr: [28, cd, c1, 0b, 30, 67] └─ /Users/tyler/code/cyw43/src/fmt.rs:140 0.574074 INFO set country = [58, 58, 00, 00, ff, ff, ff, ff, 58, 58, 00, 00] └─ /Users/tyler/code/cyw43/src/fmt.rs:140 1.888112 INFO IOCTL Response: [63, 6f, 75, 6e, 74, 72, 79, 00, 58, 58, 00, 00, ff, ff, ff, ff, 58, 58, 00, 00] └─ /Users/tyler/code/cyw43/src/fmt.rs:140 1.888194 INFO IOCTL Response: [63, 6f, 75, 6e, 74, 72, 79, 00, 58, 58, 00, 00, ff, ff, ff, ff, 58, 58, 00, 00] └─ /Users/tyler/code/cyw43/src/fmt.rs:140 1.889044 DEBUG LOGS: 000000.721 wl0: wlc_lcn20phy_rx_iq_est: IQ measurement timed out └─ /Users/tyler/code/cyw43/src/fmt.rs:127 1.889222 DEBUG LOGS: 000000.837 wl0: wlc_lcn20phy_rx_iq_est: IQ measurement timed out └─ /Users/tyler/code/cyw43/src/fmt.rs:127 1.889564 DEBUG LOGS: 000000.961 wl0: wlc_phy_do_dummy_tx: Waited 310 uS for ofdm txframd └─ /Users/tyler/code/cyw43/src/fmt.rs:127 1.889741 DEBUG LOGS: 000001.427 wl0: wlc_phy_do_dummy_tx: Waited 310 uS for ofdm txframe └─ /Users/tyler/code/cyw43/src/fmt.rs:127 1.889916 DEBUG LOGS: 000001.434 wl0: wlc_phy_do_dummy_tx: Waited 5010 uS for uxcrs └─ /Users/tyler/code/cyw43/src/fmt.rs:127 1.890126 WARN IRQ DATA_UNAVAILABLE, clearing... └─ /Users/tyler/code/cyw43/src/fmt.rs:153 1.989155 INFO IOCTL Response: [00, 00, 00, 00] └─ /Users/tyler/code/cyw43/src/fmt.rs:140 1.989196 INFO IOCTL Response: [00, 00, 00, 00] └─ /Users/tyler/code/cyw43/src/fmt.rs:140 1.989471 INFO set bus:txglom = [00, 00, 00, 00] └─ /Users/tyler/code/cyw43/src/fmt.rs:140 1.990216 INFO IOCTL Response: [62, 75, 73, 3a, 74, 78, 67, 6c, 6f, 6d, 00, 00, 00, 00, 00] └─ /Users/tyler/code/cyw43/src/fmt.rs:140 1.990284 INFO IOCTL Response: [62, 75, 73, 3a, 74, 78, 67, 6c, 6f, 6d, 00, 00, 00, 00, 00] └─ /Users/tyler/code/cyw43/src/fmt.rs:140 2.090597 INFO set ampdu_ba_wsize = [08, 00, 00, 00] └─ /Users/tyler/code/cyw43/src/fmt.rs:140 2.091340 INFO IOCTL Response: [61, 6d, 70, 64, 75, 5f, 62, 61, 5f, 77, 73, 69, 7a, 65, 00, 08, 00, 00, 00] └─ /Users/tyler/code/cyw43/src/fmt.rs:140 2.091417 INFO IOCTL Response: [61, 6d, 70, 64, 75, 5f, 62, 61, 5f, 77, 73, 69, 7a, 65, 00, 08, 00, 00, 00] └─ /Users/tyler/code/cyw43/src/fmt.rs:140 2.191745 INFO set ampdu_mpdu = [04, 00, 00, 00] └─ /Users/tyler/code/cyw43/src/fmt.rs:140 2.192490 INFO IOCTL Response: [61, 6d, 70, 64, 75, 5f, 6d, 70, 64, 75, 00, 04, 00, 00, 00] └─ /Users/tyler/code/cyw43/src/fmt.rs:140 2.192560 INFO IOCTL Response: [61, 6d, 70, 64, 75, 5f, 6d, 70, 64, 75, 00, 04, 00, 00, 00] └─ /Users/tyler/code/cyw43/src/fmt.rs:140 2.292884 INFO set bsscfg:event_msgs = [00, 00, 00, 00, ff, ff, f7, ff, ff, ee, bf, ff, 7f, ff, ff, ff, ff, ff, ff, ff, ff, fd, ff, ff, ff, ff, ff, ff] └─ /Users/tyler/code/cyw43/src/fmt.rs:140 2.293687 INFO IOCTL Response: [62, 73, 73, 63, 66, 67, 3a, 65, 76, 65, 6e, 74, 5f, 6d, 73, 67, 73, 00, 00, 00, 00, 00, ff, ff, f7, ff, ff, ee, bf, ff, 7f, ff, ff, ff, ff, ff, ff, ff, ff, fd, ff, ff, ff, ff, ff, ff] └─ /Users/tyler/code/cyw43/src/fmt.rs:140 2.293830 INFO IOCTL Response: [62, 73, 73, 63, 66, 67, 3a, 65, 76, 65, 6e, 74, 5f, 6d, 73, 67, 73, 00, 00, 00, 00, 00, ff, ff, f7, ff, ff, ee, bf, ff, 7f, ff, ff, ff, ff, ff, ff, ff, ff, fd, ff, ff, ff, ff, ff, ff] └─ /Users/tyler/code/cyw43/src/fmt.rs:140 2.395387 INFO IOCTL Response: [] └─ /Users/tyler/code/cyw43/src/fmt.rs:140 2.395422 INFO IOCTL Response: [] └─ /Users/tyler/code/cyw43/src/fmt.rs:140 2.395464 WARN IRQ DATA_UNAVAILABLE, clearing... └─ /Users/tyler/code/cyw43/src/fmt.rs:153 2.396153 DEBUG LOGS: 000001.942 wl0: wl_open └─ /Users/tyler/code/cyw43/src/fmt.rs:127 2.396306 WARN IRQ DATA_UNAVAILABLE, clearing... └─ /Users/tyler/code/cyw43/src/fmt.rs:153 2.496288 INFO IOCTL Response: [01, 00, 00, 00] └─ /Users/tyler/code/cyw43/src/fmt.rs:140 2.496332 INFO IOCTL Response: [01, 00, 00, 00] └─ /Users/tyler/code/cyw43/src/fmt.rs:140 2.497222 INFO IOCTL Response: [00, 00, 00, 00] └─ /Users/tyler/code/cyw43/src/fmt.rs:140 2.497262 INFO IOCTL Response: [00, 00, 00, 00] └─ /Users/tyler/code/cyw43/src/fmt.rs:140 2.597557 INFO INIT DONE └─ /Users/tyler/code/cyw43/src/fmt.rs:140 2.597607 INFO set pm2_sleep_ret = [c8, 00, 00, 00] └─ /Users/tyler/code/cyw43/src/fmt.rs:140 2.598378 INFO IOCTL Response: [70, 6d, 32, 5f, 73, 6c, 65, 65, 70, 5f, 72, 65, 74, 00, c8, 00, 00, 00] └─ /Users/tyler/code/cyw43/src/fmt.rs:140 2.598456 INFO IOCTL Response: [70, 6d, 32, 5f, 73, 6c, 65, 65, 70, 5f, 72, 65, 74, 00, c8, 00, 00, 00] └─ /Users/tyler/code/cyw43/src/fmt.rs:140 2.598785 INFO set bcn_li_bcn = [01, 00, 00, 00] └─ /Users/tyler/code/cyw43/src/fmt.rs:140 2.599501 INFO IOCTL Response: [62, 63, 6e, 5f, 6c, 69, 5f, 62, 63, 6e, 00, 01, 00, 00, 00] └─ /Users/tyler/code/cyw43/src/fmt.rs:140 2.599571 INFO IOCTL Response: [62, 63, 6e, 5f, 6c, 69, 5f, 62, 63, 6e, 00, 01, 00, 00, 00] └─ /Users/tyler/code/cyw43/src/fmt.rs:140 2.599858 INFO set bcn_li_dtim = [01, 00, 00, 00] └─ /Users/tyler/code/cyw43/src/fmt.rs:140 2.600568 INFO IOCTL Response: [62, 63, 6e, 5f, 6c, 69, 5f, 64, 74, 69, 6d, 00, 01, 00, 00, 00] └─ /Users/tyler/code/cyw43/src/fmt.rs:140 2.600640 INFO IOCTL Response: [62, 63, 6e, 5f, 6c, 69, 5f, 64, 74, 69, 6d, 00, 01, 00, 00, 00] └─ /Users/tyler/code/cyw43/src/fmt.rs:140 2.600937 INFO set assoc_listen = [0a, 00, 00, 00] └─ /Users/tyler/code/cyw43/src/fmt.rs:140 2.601674 INFO IOCTL Response: [61, 73, 73, 6f, 63, 5f, 6c, 69, 73, 74, 65, 6e, 00, 0a, 00, 00, 00] └─ /Users/tyler/code/cyw43/src/fmt.rs:140 2.601748 INFO IOCTL Response: [61, 73, 73, 6f, 63, 5f, 6c, 69, 73, 74, 65, 6e, 00, 0a, 00, 00, 00] └─ /Users/tyler/code/cyw43/src/fmt.rs:140 2.602691 INFO IOCTL Response: [02, 00, 00, 00] └─ /Users/tyler/code/cyw43/src/fmt.rs:140 2.602734 INFO IOCTL Response: [02, 00, 00, 00] └─ /Users/tyler/code/cyw43/src/fmt.rs:140 2.603198 DEBUG Acquired IP configuration: └─ /Users/tyler/.cargo/git/checkouts/embassy-9312dcb0ed774b29/03d6363/embassy-net/src/fmt.rs:125 2.603218 DEBUG IP address: 192.168.1.69/24 └─ /Users/tyler/.cargo/git/checkouts/embassy-9312dcb0ed774b29/03d6363/embassy-net/src/fmt.rs:125 2.603331 DEBUG Default gateway: 192.168.1.1 └─ /Users/tyler/.cargo/git/checkouts/embassy-9312dcb0ed774b29/03d6363/embassy-net/src/fmt.rs:125 2.603460 INFO set ampdu_ba_wsize = [08, 00, 00, 00] └─ /Users/tyler/code/cyw43/src/fmt.rs:140 2.604410 INFO IOCTL Response: [61, 6d, 70, 64, 75, 5f, 62, 61, 5f, 77, 73, 69, 7a, 65, 00, 08, 00, 00, 00] └─ /Users/tyler/code/cyw43/src/fmt.rs:140 2.604498 INFO IOCTL Response: [61, 6d, 70, 64, 75, 5f, 62, 61, 5f, 77, 73, 69, 7a, 65, 00, 08, 00, 00, 00] └─ /Users/tyler/code/cyw43/src/fmt.rs:140 2.605532 INFO IOCTL Response: [04, 00, 00, 00] └─ /Users/tyler/code/cyw43/src/fmt.rs:140 2.605575 INFO IOCTL Response: [04, 00, 00, 00] └─ /Users/tyler/code/cyw43/src/fmt.rs:140 2.605913 INFO set bsscfg:sup_wpa = [00, 00, 00, 00, 01, 00, 00, 00] └─ /Users/tyler/code/cyw43/src/fmt.rs:140 2.606662 INFO IOCTL Response: [62, 73, 73, 63, 66, 67, 3a, 73, 75, 70, 5f, 77, 70, 61, 00, 00, 00, 00, 00, 01, 00, 00, 00] └─ /Users/tyler/code/cyw43/src/fmt.rs:140 2.606748 INFO IOCTL Response: [62, 73, 73, 63, 66, 67, 3a, 73, 75, 70, 5f, 77, 70, 61, 00, 00, 00, 00, 00, 01, 00, 00, 00] └─ /Users/tyler/code/cyw43/src/fmt.rs:140 2.607092 INFO set bsscfg:sup_wpa2_eapver = [00, 00, 00, 00, ff, ff, ff, ff] └─ /Users/tyler/code/cyw43/src/fmt.rs:140 2.607851 INFO IOCTL Response: [62, 73, 73, 63, 66, 67, 3a, 73, 75, 70, 5f, 77, 70, 61, 32, 5f, 65, 61, 70, 76, 65, 72, 00, 00, 00, 00, 00, ff, ff, ff, ff] └─ /Users/tyler/code/cyw43/src/fmt.rs:140 2.607960 INFO IOCTL Response: [62, 73, 73, 63, 66, 67, 3a, 73, 75, 70, 5f, 77, 70, 61, 32, 5f, 65, 61, 70, 76, 65, 72, 00, 00, 00, 00, 00, ff, ff, ff, ff] └─ /Users/tyler/code/cyw43/src/fmt.rs:140 2.608311 INFO set bsscfg:sup_wpa_tmo = [00, 00, 00, 00, c4, 09, 00, 00] └─ /Users/tyler/code/cyw43/src/fmt.rs:140 2.609054 INFO IOCTL Response: [62, 73, 73, 63, 66, 67, 3a, 73, 75, 70, 5f, 77, 70, 61, 5f, 74, 6d, 6f, 00, 00, 00, 00, 00, c4, 09, 00, 00] └─ /Users/tyler/code/cyw43/src/fmt.rs:140 2.609149 INFO IOCTL Response: [62, 73, 73, 63, 66, 67, 3a, 73, 75, 70, 5f, 77, 70, 61, 5f, 74, 6d, 6f, 00, 00, 00, 00, 00, c4, 09, 00, 00] └─ /Users/tyler/code/cyw43/src/fmt.rs:140 2.710174 INFO IOCTL Response: [0c, 00, 01, 00, 73, 75, 6e, 6e, 79, 76, 61, 73, 65, 30, 36, 31, 00, 00, 00, 00, 00, 00, 00, 00, 00, 00, 00, 00, 00, 00, 00, 00, 00, 00, 00, 00, 00, 00, 00, 00, 00, 00, 00, 00, 00, 00, 00, 00, 00, 00, 00, 00, 00, 00, 00, 00, 00, 00, 00, 00, 00, 00, 00, 00, 00, 00, 00, 00] └─ /Users/tyler/code/cyw43/src/fmt.rs:140 2.710303 INFO IOCTL Response: [0c, 00, 01, 00, 73, 75, 6e, 6e, 79, 76, 61, 73, 65, 30, 36, 31, 00, 00, 00, 00, 00, 00, 00, 00, 00, 00, 00, 00, 00, 00, 00, 00, 00, 00, 00, 00, 00, 00, 00, 00, 00, 00, 00, 00, 00, 00, 00, 00, 00, 00, 00, 00, 00, 00, 00, 00, 00, 00, 00, 00, 00, 00, 00, 00, 00, 00, 00, 00] └─ /Users/tyler/code/cyw43/src/fmt.rs:140 2.711299 INFO IOCTL Response: [01, 00, 00, 00] └─ /Users/tyler/code/cyw43/src/fmt.rs:140 2.711341 INFO IOCTL Response: [01, 00, 00, 00] └─ /Users/tyler/code/cyw43/src/fmt.rs:140 2.712240 INFO IOCTL Response: [00, 00, 00, 00] └─ /Users/tyler/code/cyw43/src/fmt.rs:140 2.712281 INFO IOCTL Response: [00, 00, 00, 00] └─ /Users/tyler/code/cyw43/src/fmt.rs:140 2.713164 INFO IOCTL Response: [80, 00, 00, 00] └─ /Users/tyler/code/cyw43/src/fmt.rs:140 2.713204 INFO IOCTL Response: [80, 00, 00, 00] └─ /Users/tyler/code/cyw43/src/fmt.rs:140 2.714367 INFO IOCTL Response: [0d, 00, 00, 00, 54, 79, 6c, 65, 72, 27, 73, 20, 50, 69, 78, 65, 6c, 00, 00, 00, 00, 00, 00, 00, 00, 00, 00, 00, 00, 00, 00, 00, 00, 00, 00, 00] └─ /Users/tyler/code/cyw43/src/fmt.rs:140 2.714461 INFO IOCTL Response: [0d, 00, 00, 00, 54, 79, 6c, 65, 72, 27, 73, 20, 50, 69, 78, 65, 6c, 00, 00, 00, 00, 00, 00, 00, 00, 00, 00, 00, 00, 00, 00, 00, 00, 00, 00, 00] └─ /Users/tyler/code/cyw43/src/fmt.rs:140 6.858057 DEBUG === EVENT ASSOC_REQ_IE: EventMessage { version: 2, flags: 0, event_type: 87, status: 0, reason: 0, auth_type: 0, datalen: 81, addr: [21, 88, 4f, 21, f6, 1b], ifname: [77, 6c, 30, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], ifidx: 0, bsscfgidx: 0, } [00, 0d, 54, 79, 6c, 65, 72, 27, 73, 20, 50, 69, 78, 65, 6c, 01, 08, 82, 84, 8b, 96, 24, 30, 48, 6c, 32, 04, 0c, 12, 18, 60, 21, 02, 05, 17, 24, 02, 01, 0e, 30, 14, 01, 00, 00, 0f, ac, 04, 01, 00, 00, 0f, ac, 04, 01, 00, 00, 0f, ac, 02, 0c, 00, dd, 09, 00, 10, 18, 02, 00, 00, 00, 00, 00, dd, 07, 00, 50, f2, 02, 00, 01, 00] └─ /Users/tyler/code/cyw43/src/fmt.rs:127 6.858472 WARN unexpected ethernet type 0x887e, expected Broadcom ether type 0x886c └─ /Users/tyler/code/cyw43/src/fmt.rs:153 6.859427 DEBUG LOGS: 000005.809 wl0: wlc_lcn20phy_rx_iq_est: IQ measurement timed nut └─ /Users/tyler/code/cyw43/src/fmt.rs:127 6.859598 DEBUG LOGS: 000005.926 wl0: wlc_lcn20phy_rx_iq_est: IQ measurement timed out └─ /Users/tyler/code/cyw43/src/fmt.rs:127 6.859768 DEBUG LOGS: 000006.043 wl0: wlc_lcn20phy_rx_iq_est: IQ measurement tiled out └─ /Users/tyler/code/cyw43/src/fmt.rs:127 6.860285 DEBUG LOGS: 000006.380 wl0: wlc_phy_do_dummy_tx: Waited 5010 uS for txcrs └─ /Users/tyler/code/cyw43/src/fmt.rs:127 6.867720 DEBUG === EVENT AUTH: EventMessage { version: 2, flags: 0, event_type: 3, status: 6, reason: 0, auth_type: 0, datalen: 0, addr: [a, 2a, db, 49, 15, c1], ifname: [77, 6c, 30, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], ifidx: 0, bsscfgidx: 0, } [] └─ /Users/tyler/code/cyw43/src/fmt.rs:127 6.868160 WARN JOIN failed with status=6 └─ /Users/tyler/code/cyw43/src/fmt.rs:153 6.869083 INFO IOCTL Response: [0d, 00, 00, 00, 54, 79, 6c, 65, 72, 27, 73, 20, 50, 69, 78, 65, 6c, 00, 00, 00, 00, 00, 00, 00, 00, 00, 00, 00, 00, 00, 00, 00, 00, 00, 00, 00] └─ /Users/tyler/code/cyw43/src/fmt.rs:140 6.869178 INFO IOCTL Response: [0d, 00, 00, 00, 54, 79, 6c, 65, 72, 27, 73, 20, 50, 69, 78, 65, 6c, 00, 00, 00, 00, 00, 00, 00, 00, 00, 00, 00, 00, 00, 00, 00, 00, 00, 00, 00] └─ /Users/tyler/code/cyw43/src/fmt.rs:140 6.869379 DEBUG === EVENT ASSOC: EventMessage { version: 2, flags: 0, event_type: 7, status: 4, reason: 0, auth_type: 0, datalen: 0, addr: [a, 2a, db, 49, 15, c1], ifname: [77, 6c, 30, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], ifidx: 0, bsscfgidx: 0, } [] └─ /Users/tyler/code/cyw43/src/fmt.rs:127 9.683786 DEBUG === EVENT AUTH: EventMessage { version: 2, flags: 0, event_type: 3, status: 5, reason: 0, auth_type: 0, datalen: 0, addr: [a, 2a, db, 49, 15, c1], ifname: [77, 6c, 30, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], ifidx: 0, bsscfgidx: 0, } [] └─ /Users/tyler/code/cyw43/src/fmt.rs:127 9.683999 WARN JOIN failed with status=5 └─ /Users/tyler/code/cyw43/src/fmt.rs:153 9.684083 DEBUG === EVENT SET_SSID: EventMessage { version: 2, flags: 0, event_type: 0, status: 1, reason: 0, auth_type: 0, datalen: 13, addr: [6c, dd, a, 0, 10, 18], ifname: [77, 6c, 30, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], ifidx: 0, bsscfgidx: 0, } [54, 79, 6c, 65, 72, 27, 73, 20, 50, 69, 78, 65, 6c] └─ /Users/tyler/code/cyw43/src/fmt.rs:127 9.685138 DEBUG LOGS: 000009.211 wl0: wlc_phy_do_dummy_tx: Waited 310 uS for ofdm txframe └─ /Users/tyler/code/cyw43/src/fmt.rs:127 9.685312 DEBUG LOGS: 000009.219 wl0: wlc_phy_do_dummy_tx: Waited 5010 uS for txbrs └─ /Users/tyler/code/cyw43/src/fmt.rs:127 9.685471 DEBUG LOGS: 000009.222 wl0: JOIN: authentication failure, no ack └─ /Users/tyler/code/cyw43/src/fmt.rs:127 9.686151 WARN IRQ DATA_UNAVAILABLE, clearing... └─ /Users/tyler/code/cyw43/src/fmt.rs:153 9.698651 INFO IOCTL Response: [0d, 00, 00, 00, 54, 79, 6c, 65, 72, 27, 73, 20, 50, 69, 78, 65, 6c, 00, 00, 00, 00, 00, 00, 00, 00, 00, 00, 00, 00, 00, 00, 00, 00, 00, 00, 00] └─ /Users/tyler/code/cyw43/src/fmt.rs:140 9.698745 INFO IOCTL Response: [0d, 00, 00, 00, 54, 79, 6c, 65, 72, 27, 73, 20, 50, 69, 78, 65, 6c, 00, 00, 00, 00, 00, 00, 00, 00, 00, 00, 00, 00, 00, 00, 00, 00, 00, 00, 00] └─ /Users/tyler/code/cyw43/src/fmt.rs:140 11.460311 DEBUG === EVENT AUTH: EventMessage { version: 2, flags: 0, event_type: 3, status: 5, reason: 0, auth_type: 0, datalen: 0, addr: [a, 2a, db, 49, 15, c1], ifname: [77, 6c, 30, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], ifidx: 0, bsscfgidx: 0, } [] └─ /Users/tyler/code/cyw43/src/fmt.rs:127 11.460512 WARN JOIN failed with status=5 └─ /Users/tyler/code/cyw43/src/fmt.rs:153 11.460588 DEBUG === EVENT SET_SSID: EventMessage { version: 2, flags: 0, event_type: 0, status: 1, reason: 0, auth_type: 0, datalen: 13, addr: [0, 0, 0, 0, 0, 0], ifname: [77, 6c, 30, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], ifidx: 0, bsscfgidx: 0, } [54, 79, 6c, 65, 72, 27, 73, 20, 50, 69, 78, 65, 6c] └─ /Users/tyler/code/cyw43/src/fmt.rs:127 11.461773 DEBUG LOGS: 000010.896 wl0: wlc_lcn20phy_rx_hq_est: IQ measurement timed out └─ /Users/tyler/code/cyw43/src/fmt.rs:127 11.462624 WARN IRQ DATA_UNAVAILABLE, clearing... └─ /Users/tyler/code/cyw43/src/fmt.rs:153 11.463904 INFO IOCTL Response: [0d, 00, 00, 00, 54, 79, 6c, 65, 72, 27, 73, 20, 50, 69, 78, 65, 6c, 00, 00, 00, 00, 00, 00, 00, 00, 00, 00, 00, 00, 00, 00, 00, 00, 00, 00, 00] └─ /Users/tyler/code/cyw43/src/fmt.rs:140 11.463999 INFO IOCTL Response: [0d, 00, 00, 00, 54, 79, 6c, 65, 72, 27, 73, 20, 50, 69, 78, 65, 6c, 00, 00, 00, 00, 00, 00, 00, 00, 00, 00, 00, 00, 00, 00, 00, 00, 00, 00, 00] └─ /Users/tyler/code/cyw43/src/fmt.rs:140 13.509920 DEBUG === EVENT ASSOC_REQ_IE: EventMessage { version: 2, flags: 0, event_type: 87, status: 0, reason: 0, auth_type: 0, datalen: 81, addr: [0, 0, 18, 10, 0, 0], ifname: [77, 6c, 30, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], ifidx: 0, bsscfgidx: 0, } [00, 0d, 54, 79, 6c, 65, 72, 27, 73, 20, 50, 69, 78, 65, 6c, 01, 08, 82, 84, 8b, 96, 24, 30, 48, 6c, 32, 04, 0c, 12, 18, 60, 21, 02, 05, 17, 24, 02, 01, 0e, 30, 14, 01, 00, 00, 0f, ac, 04, 01, 00, 00, 0f, ac, 04, 01, 00, 00, 0f, ac, 02, 0c, 00, dd, 09, 00, 10, 18, 02, 00, 00, 00, 00, 00, dd, 07, 00, 50, f2, 02, 00, 01, 00] └─ /Users/tyler/code/cyw43/src/fmt.rs:127 13.510265 WARN len inv mismatch └─ /Users/tyler/code/cyw43/src/fmt.rs:153 13.512246 WARN IRQ DATA_UNAVAILABLE, clearing... └─ /Users/tyler/code/cyw43/src/fmt.rs:153 13.591615 DEBUG === EVENT TXFAIL: EventMessage { version: 2, flags: 0, event_type: 20, status: 2, reason: 0, auth_type: 0, datalen: 0, addr: [a, 2a, db, 49, 15, c1], ifname: [77, 6c, 30, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], ifidx: 0, bsscfgidx: 0, } [] └─ /Users/tyler/code/cyw43/src/fmt.rs:127 13.591796 DEBUG === EVENT ASSOC: EventMessage { version: 2, flags: 0, event_type: 7, status: 5, reason: 0, auth_type: 0, datalen: 0, addr: [a, 2a, db, 49, 15, c1], ifname: [77, 6c, 30, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], ifidx: 0, bsscfgidx: 0, } [] └─ /Users/tyler/code/cyw43/src/fmt.rs:127 13.591972 DEBUG === EVENT SET_SSID: EventMessage { version: 2, flags: 0, event_type: 0, status: 1, reason: 0, auth_type: 0, datalen: 13, addr: [0, 0, a, 2a, db, 49], ifname: [77, 6c, 30, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], ifidx: 0, bsscfgidx: 0, } [54, 79, 6c, 65, 72, 27, 73, 20, 50, 69, 78, 65, 6c] └─ /Users/tyler/code/cyw43/src/fmt.rs:127 ```