Hi, I just noticed that when running my Oculus Go game Unity 2019.1.1f1 based game there are WiFi scans every 1-2 minutes.
The Oculus GO is connected to my local 5 GHz WIFI (that has no internet access). I've checked the AndroidManifest.xml of the *.apk and it does not have the CHANGE_WIFI_STATE permission and afaik should thus not be able to trigger wifi scans (this might depend on the android version the Oculus Go is using). Only the INTERNET and WAKE_LOCK permissions are in the manifest.
I discovered this is because I've noticed that my game has periodic network latency spikes: Every 1-2 minutes the network latency is increased by 150ms (or more) for 5 seconds. Digging further into this issue I noticed that right after these network spikes stop I get an android logcat message indicating that a WiFi scan was just finished. So it seems like something is continuously triggering WiFi scans.
I really don't want that any WiFi scans are happening while my game is running as I want to keep network latency as low as possible (and it also doesn't make any sense that a Wifi scan happens while I'm in a VR game). This also drains the battery for no reason...
Are there any Android logging/debugging tools to further debug what's causing these periodic Wifi scans?
Does anybody have an idea if it is possible to disable WiFi scans system wide (using some android/oculus settings)?