Does the BBGW or the wifi hardware on the BBGW have some sort of power saving mode?
Something interesting I noticed about those "wlcore: ERROR SW watchdog interrupt received! starting recovery" messages that fill up my serial console: I get one almost every time the BBGW sends out a packet. This corresponds to my ~95% packet loss.
But if I run this command on my BBGW to frequently ping the wifi router, I never see the error message, and wifi networking works correctly:
sudo ping -i 0.1 192.168.1.1
If I increase the length of time to 0.2 seconds or longer, then the problem happens and I lose wifi connectivity. But as long as there is a steady stream of packets every 0.1 seconds or shorter, wifi works perfectly. Which is why I was wondering -- could the wifi hardware be trying to go into some sort of power saving mode?
$ uname -a
Linux beaglebone 4.4.27-ti-r63 #1 SMP Thu Nov 3 19:58:15 UTC 2016 armv7l GNU/Linux
Stéphane