|
|
|
|
|
by michaelt
796 days ago
|
|
You don't need to brute force the almanac - why would you? But it's very much feasible to 'brute force' your initial signal lock by searching for all gold codes at a range of frequency offsets. And it doesn't take 12.5 minutes to get the ephemerides - the almanac is sent in paginated form which is why it takes so long, the ephemerides are sent more often - they repeat every 30 seconds, and they're enough for a navigation fix. Although 30 seconds isn't amazing, so cell phones do use their data connection to shortcut that wait. |
|
I have no idea, but the claim was that you get faster fix with brute force when I know that's not why it's fast in practice.
> But it's very much feasible to 'brute force' your initial signal lock by searching for all gold codes at a range of frequency offsets.
I hadn't even imagined this constituting "brute force". Is my phone using "brute force" to find the WiFi router? At some point it's not really "Brute force" it's "There are a handful of options, try all of them" and GPS seems past that point especially on modern hardware.
This actually reminded me of a (possibly no longer extant) design choice in Encrypted Client Hello - we don't necessarily know if the encryption was done with key F we gave out yesterday afternoon or key G which we just began using an hour ago, do we need a way to signal that in the connection? No, just try all valid keys. If you can't afford to try more than two keys, make sure you only roll them slowly so you won't need to.