wifi: add option to disable background scans when connected
Hello,
This is a pretty selfish feature request
We have a wireless adapter that sometimes (once after a few days) stops working when a scan happens. We're of course pursuing a fix but the vendor is not very cooperative, so looking for workarounds in the meanwhile as it's likely a firmware bug...
I've noticed that setting bssid disables bgscan (as discussed in #199 (closed) ), but it'd be great to also have some form of toggle at a higher level so we won't have to tell our users to assign bssid after they failed to read our product manual saying they need to set it (it's also not always possible anyway)
Would that be worth considering ?
(Another argument for not doing background scan is that even if the firmware is decent there will often be a latency spike when scan happens, and that can be bad experience. Plenty of threads on hacker news about calls quality being horrible on wifi due to Qt scans or whatsnot...)
I'll also be giving iwd a try as it looks like from #416 (closed) that it might already have backgrounds scans off by default, but I feel that it might be good to keep things more coherent and have an option that'd work across the board to toggle bg scan regardless of the backend. (EDIT: hm, doesn't look like iwd likes the silly interface names this driver assigns? (mwifiex, with names like mlan0 mmlan0); it sees the adapters but no device/stations-compatible devices... ohwell, something else to look into later, for now the RFE holds.)
Thanks!