mirror of
https://github.com/gnss-sdr/gnss-sdr
synced 2026-11-24 16:17:22 +00:00
GPS: compare only the three LSBs of the 4-bit term broadcast in page 25 of subframe 4. The MSB is the A-S flag (IS-GPS-200, 20.3.3.5.1.4), so the former thresholds (>= 10 for L2C, >= 11 for L5) only held with A-S on: with A-S off, every satellite was blocked for L2C and L5, and so was a satellite reporting no configuration information with A-S on. Add named constants for the masks and the configuration codes. RTKLIB_PVT: an almanac from a channel that has not decoded page 25 yet no longer erases the AS_status already stored for that satellite, which made the gating fall back to permissive after each channel reassignment. GLONASS: look up the health of the tracked satellite instead of the pool entry matched by frequency channel, which can be another slot. Galileo: do not gate E5a. E5a_HS is only broadcast in F/NAV on E5a, so it cannot be learned from E1B, and a stored value could keep a satellite blocked after it returned to service. E5b remains gated. Shorten the comments introduced in this branch and remove the claims that did not match the code.