Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Repeated wfx-spi spi0.0: hardware request START_SCAN (0x07) on vif 0 returned status 23 #5

Open
brycedjohnson opened this issue Sep 13, 2024 · 1 comment

Comments

@brycedjohnson
Copy link

WFX_FIRMWARE_VERSION = FW3.17.0
WFX_LINUX_DRIVER_VERSION = 2.14.1-public

Was doing some testing on various wifi-provisioning to various APs.

We are enabling a WFX AP on wlan1, then setting wlan0 to connect to our router AP. Then disabling wlan1.

I have added +ccflags-y = -DDEBUG to the makefile to add in debug mode to the wifi-driver. I do not have tracing enabled so I can't take HIF_traces. I can try and repo this with HIF_traces enabled if that would help?

We are seeing repeated wfx-spi spi0.0: hardware request START_SCAN (0x07) on vif 0 returned status 23 which I assume the scan has not completed and is busy. The error went away when I brought down the wlan1 AP. This doesn't happen regularly.

One suggestion from silabs to check for wfx driver lock up was to check cat /sys/kernel/debug/ieee80211/phy*/wfx/counters
But that doesn't appear to catch this issue.

What can I check to see if wfx is stuck in this state? I need a way to know how to restart the driver with any user input (IOT) device. I can't just restart the wfx driver whenever I see status 23 because that happens regularly, but usually just for a scan. Is there any problem leaving debug on?

dmesg(1).txt

Had the question on the silabs forum here as well, but haven't received any response back: https://community.silabs.com/s/question/0D5Vm00000KzrclKAB/repeated-wfxspi-spi00-hardware-request-startscan-0x07-on-vif-0-returned-status-23?language=en_US

@brycedjohnson
Copy link
Author

I captured a hif trace here: hif_trace_pipe.log

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant