Have not yet setup Wireshark.
However, I setup 4 devices with the WiFi driver in verbose mode:
- One pair running
debian-4.14.0
(official Linaro release)
- One pair running
rpb-console-image-4.9.39
(Yocto built from Linaro repo)
Fortunately, for each pair, I had a failure and a success.
Logs
Pair 1
4.14 wifi continues
4.14 wifi fails
Pair 2
4.9.39 wifi continues
4.9.39 wifi fails
Notes
hostapd settings
All systems were configured with the same hostapd
config file (with different SSIDs). They were configured without any encryption/passwords. This is generally how our devices are in the field.
Problem Description
After leaving systems to run in AP mode, eventually the system is no longer accessible via this AP.
The AP continues to broadcast but in attempting to connect, the connection fails.
We have had a lot of trouble recreating this bug. It can happen after leaving the system for 10 minutes and sometimes it can take several days for the problem to surface.
Logs Incomplete
You will notice with the 4.9.39
dmesg logs that they donāt start from the very top. I believe this is because we have a log rotator running on this system. I am hoping it didnāt cut off to much info.
Indicator
In each log you will see:
usb 1-1.3: new high-speed USB device
This marks when I plugged in a USB ethernet adaptor. After inserting the adaptor, for each system I connected to their AP in order to capture the connection successes and failures.
This should hopefully make it very easy to see whats going on.
Additional Test
Seeing that this may be a driver problem, I ran:
modprobe -r wcn36xx
modprobe wcn36xx
systemctl restart hostapd@wlan0
On one of the failed boxes. This allowed me to access the AP without restarting the system (which is what we currently have to do in the field to regain AP access).
However, fairly quickly after, I was locked out again.
Please take a look and let me know if there is anything that can be done.
This is currently my primary task right now so of there is anything I can do to help facilitate finding a solution, please let me know.
Basically, weāve got systems out in the field that keep having this failure and our customer are not happy