microg / microg/IchnaeaNlpBackend
Wifi throttling needs to be disabled
Nobody has claimed this yet.
- Dominant language
- Java
- Stars
- 124
- Forks
- 29
- PR merge metrics
- No merged PRs in 30d
Description
I needed to disable wifi throttling in the dev options to make this backend work. Else WifiService refuses to scan completely and the position is not passed on:
```
06-07 23:39:17.240 1293 1909 I WifiService: startScan uid=10181
06-07 23:39:17.242 1293 2037 I WifiScanRequestProxy: Scan request from org.microg.nlp.backend.ichnaea throttled
06-07 23:39:17.242 1293 1909 E WifiService: Failed to start scan
06-07 23:39:17.250 5276 5276 D BackendHelper: No change in WiFi networks
```
This is unpleasant, this should work out of the box.
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
The issue points to Android's WifiService, WifiScanRequestProxy, and BackendHelper logs; start by tracing the backend's Wi-Fi scan entry point and how Android throttling affects it. Done means scans work without manually disabling Wi-Fi throttling in developer options, with the reported failure no longer occurring.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- android, java
- Domain
- mobile, networking
- Issue type
- Bug
- Difficulty
- 5/5
- Estimated time
- Over a week
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100