SIB19 over LEO Satellites: Ephemeris, Timing Advance, and a Neighbor Cell, Packet by Packet
This walkthrough uses nr_ntn_2cell.pcap, attached to OpenAirInterface issue #981, where its reporter was chasing an uplink timing problem with two NTN cells. Download it there. We decoded it with VisualEther, which turns a Wireshark PCAP into a sequence diagram with a plain-English caption on every message.
A 5G cell relayed through a low-orbit satellite has a problem a terrestrial cell never meets: its radio path is moving at 7.5 km/s. The satellite's position, the signal delay, and the cell's coverage all change by the second. Release 17 handles this with one system information block, SIB19, that the cell rebroadcasts with fresh numbers several times a second.
This capture shows that block at work: 236 SIB19s over 94 s from two cells, each describing a satellite in a 593.6 km orbit, with a phone attaching underneath. It is written for RAN engineers who know a terrestrial cell but not satellite access, and for readers of our GEO satellite walkthrough who want to see what changes when the satellite moves.
💡 Read the walkthrough and the diagram side by side: open the interactive diagram in a split-screen window, or open it in a new tab and snap the two windows side by side.
Overview
The capture is a gNB's log of the RRC messages it sent and received. Each RRC message was written straight into the file, so there is no MAC layer and no random access to see. The lab setup, from the reporter's description: a third-party gNB configured with two NTN (non-terrestrial network) cells, a channel emulator, and an OpenAirInterface (OAI) UE cabled to cell 1 only. Ciphering is off (nea0 on the radio, 5G-EA0 on NAS), so every message is readable.
- The full run (264 frames, 94.4 s, run of 7 August 2025): cell 1's broadcasts, then the UE's attach, registration, and PDU session underneath them; cell 2 comes on air at 36.5 s, and its satellite starts moving at 48.35 s.
The diagram keeps 50 of the 264 frames: every message that isn't a SIB19, plus 22 SIB19s chosen for what they show. The other 214 repeat every 640 ms with slightly newer numbers, and every figure on this page was checked across all 236, not just the ones drawn.
The file's own timestamps say 13 April 2024. That date is wrong: SIB19's t-Service field, an absolute UTC time, decodes to 7 August 2025, the day the issue was filed. The times of day and the intervals between frames are consistent with each other and are used below.
What changes when the satellite moves?
The GEO walkthrough covers the basics that apply to any satellite cell. The UE computes most of its own timing advance from the satellite's position and its own GNSS position. A broadcast scheduling offset, K_offset, delays every uplink grant to absorb the round trip. This page builds on both.
A geostationary satellite stays over one point on the equator, so its SIB19 is a constant. A low-orbit satellite is another matter: this one is 593.6 km up and circles Earth every 96.5 minutes. (For how altitude trades delay against coverage and pass length, see Terminus: shelves of the sky.)
Movement breaks three things that GEO could take for granted. Release 17 has a fix for each, and all three are in this capture:
- A position is only true for an instant. At 7.5 km/s, a satellite position is off by 7.5 km a second later. So the ephemeris carries an epoch time, the instant it describes, and the UE projects the satellite forward from there using its velocity. It's like a ship's navigator working from the last fix, its time, and the ship's speed and heading.
- Projections go stale. The forward projection drifts from the truth as the orbit curves, so each ephemeris comes with a UL sync validity: how long after the epoch the UE may keep using it. Here that is 15 s, and the cell sends a fresh one every 640 ms.
- The delay changes all the time. The round trip to the ground station shrinks or grows as the satellite passes. So the common timing advance,
ta-Common, comes with a drift rate,ta-CommonDrift, and a curvature term,ta-CommonDriftVariant.
A fourth change follows from the first three. The satellite eventually flies out of reach, so SIB19 also announces when the cell will stop serving the area (t-Service) and describes the next satellite (the neighbor list).
What is in a LEO SIB19? (frames 5–6)
The first SIB19 is an all-zero placeholder (frame 4): every position and timing field is 0. The first live one arrives 1.63 s into the run. Its serving-cell ntn-Config-r17 holds raw integers, each a count of a fixed step defined in TS 38.331:
| Field | Value | Meaning |
|---|---|---|
positionX-r17 | 5,268,342 (× 1.3 m) | 6,848.8 km |
positionY-r17 | 0 | |
positionZ-r17 | 999,455 (× 1.3 m) | 1,299.3 km. Together: 6,971.0 km from Earth's center, 593.6 km above the surface, at about 10.7° N, 0° E |
velocityVX-r17, velocityVZ-r17 | 23,484 and −123,829 (× 0.06 m/s) | 1,409 and −7,430 m/s: 7,562 m/s, heading south. A circular orbit at 6,971 km needs exactly that speed, √(GM/r) |
epochTime-r17 | SFN 453, subframe 0 | the instant these numbers describe |
ntn-UlSyncValidityDuration-r17 | s15 | usable for 15 s after the epoch |
ta-Common-r17 | 2,268,076 (× 4.072 ns) | 9,235.6 µs: the round trip between the satellite and the uplink reference point |
ta-CommonDrift-r17 | −216,521 (× 0.2 ns/s) | −43.3 µs/s: that round trip is shrinking |
ta-CommonDriftVariant-r17 | 1,304 (× 0.02 ns/s²) | 26.1 ns/s²: the shrinking is slowing |
cellSpecificKoffset-r17 | 20 | the scheduling offset, 20 slots = 20 ms |
t-Service-r17 | 396,354,693,441 (× 10 ms since 1 January 1900) | 7 August 2025, 09:15:34 UTC: when this cell stops serving the area |
referenceLocation-r17 | 000000800000 | 0° N, 0° E |
The position and velocity check out as a real orbit: radius, speed, and the 96.5-minute period agree with each other to the fourth figure. One detail shows it is emulated. positionY and velocityVY are 0 in every SIB19, and the longitude never moves off 0°. In a true Earth-fixed (ECEF) frame the Earth turns under the satellite, adding about 500 m/s sideways and pushing the ground track west. This emulator flies a correct circular orbit about a non-rotating Earth.
ta-Common checks out against geometry too. A ground point at 0° N, 0° E is 1,381.9 km from the satellite, a round trip of 9,219.2 µs. The broadcast value is within 16 µs of that, so the uplink reference point sits on the ground near the cell's reference location. Note what that means for anyone reading the field with terrestrial eyes: 9.2 ms is a slanting 1,382 km path, not the 593.6 km straight down.
Here is the next SIB19, 640 ms later:
| Field | Frame 5 | Frame 6 | Change |
|---|---|---|---|
epochTime-r17 | SFN 453 | SFN 523 | 70 frames = 0.70 s |
| Position (X, Z) | 6,848.8 km, 1,299.3 km | 6,849.8 km, 1,294.1 km | 5.29 km = 7,562 m/s × 0.70 s |
ta-Common-r17 | 9,235.6 µs | 9,205.3 µs | −30.3 µs = −43.3 µs/s × 0.70 s |
Every step in the run holds together this way: each new position equals the last one plus velocity times the epoch step, to within 5 m. The epochs fall on 100 ms boundaries (steps of 0.5 to 0.7 s), while the broadcasts are exactly 640 ms apart, matching the si-Periodicity of rf64 (64 frames) that SIB1 sets for SIB19.
The GEO walkthrough's SIB19 had no epoch and no validity, because its satellite never moves. This one has both, and in cell 1's 145 live SIB19s the serving satellite's numbers change every time. (Cell 2 is the exception, covered below: until 49 s it repeats one snapshot.)
frame : Frame 5: Packet, 107 bytes on wire (856 bits), 107 bytes captured (856 bits) on interface Fake IF, text2pcap, id 0
Interface id : 0 (Fake IF, text2pcap)
exported_pdu : EXPORTED_PDU
Tag : PDU content dissector name (12)
Tag : End-of-options (0)
nr-rrc : NR Radio Resource Control (RRC) protocol
BCCH-DL-SCH-Message
message : c1 (0)
c1 : systemInformation (0)
systemInformation
criticalExtensions : systemInformation (0)
systemInformation
sib-TypeAndInfo : 1 item
Item 0
sib-TypeAndInfo item : sib19-v1700 (17)
sib19-v1700
ntn-Config-r17
epochTime-r17
ta-Info-r17
ephemerisInfo-r17 : positionVelocity-r17 (0)
positionVelocity-r17
referenceLocation-r17 : 000000800000
Ellipsoid-Point
ntn-NeighCellConfigList-r17 : 1 item
Item 0
NTN-NeighCellConfig-r17
ntn-Config-r17
epochTime-r17
ta-Info-r17
ephemerisInfo-r17 : positionVelocity-r17 (0)
positionVelocity-r17
Frame 5, the first live SIB19, as Wireshark decodes it. Expand ntn-Config-r17 for the serving satellite, and ntn-NeighCellConfigList-r17 for the neighbor.
What do epoch time and UL sync validity mean? (frames 5–52)
The epoch is a frame number: sfn-r17 (0 to 1023) and subFrameNR-r17 (0 to 9). SFN counts 10 ms radio frames and wraps every 10.24 s, so an epoch on its own is ambiguous by multiples of 10.24 s. TS 38.331 resolves it for the serving cell: the epoch is "the current SFN or the next upcoming SFN" after the frame that carried it (EpochTime field description; in Release 17 it sits under NTN-Config epochTime). An ephemeris is always about now or the very near future.
The validity duration counts from that epoch. A connected UE starts timer T430 at the epoch with the value of ntn-UlSyncValidityDuration, and restarts it with each new SIB19 (TS 38.331 clause 5.2.2.4.21). If T430 expires, the UE must stop all uplink transmission: MAC flushes its HARQ buffers and halts random access and scheduling requests until a fresh SIB19 arrives (TS 38.331 clause 5.2.2.6, TS 38.321 clause 5.2a). Before expiry, the spec only advises, in a NOTE, that the UE "should attempt to re-acquire SIB19"; once T430 expires, the UE must acquire SIB19 before it may transmit again.
With 640 ms between broadcasts and 15 s of validity, about 23 SIB19s fit in each validity window. The run shows why that margin matters. At 19.55 s one broadcast is missing (frames 51–52): the next arrives 1.28 s later, its epoch 1.2 s on, and the numbers still consistent. A UE that missed it loses nothing.
What this SIB19 leaves out is as telling as what it carries:
- No
kmac. The UE assumes 0, which means downlink and uplink frames are aligned at the gNB itself: the uplink reference point is at the gNB (TS 38.331 NTN-Config field descriptions). - No orbital elements. Every SIB19 uses the
positionVelocityform of the ephemeris rather than the alternative KeplerianorbitalParameters. - No
distanceThresh.referenceLocationstays at 0° N, 0° E, but without a distance threshold an idle UE can't use it to skip neighbor measurements (TS 38.304 clause 5.2.4.2).
How does the UE compute its timing advance from SIB19?
On a terrestrial cell, the gNB measures how late the UE's signal arrives and tells it to transmit earlier. Over a satellite the correction is milliseconds, beyond what that closed loop can bootstrap, so the UE starts from its own estimate. TS 38.211 clause 4.3.1 writes the total advance as four parts:
TTA = (NTA + NTA,offset + NTA,adjcommon + NTA,adjUE) · Tc
Read it from right to left:
- NTA,adjUE, the service link. The UE knows where it is (GNSS) and, from SIB19, where the satellite is at the epoch and how fast it moves. It projects the satellite to the current time, takes the distance, and doubles it into a round trip (TS 38.213 clause 4.2).
- NTA,adjcommon, the network's part. The delay from the satellite on to the uplink reference point is the same for every UE in the cell, so the network broadcasts it as
ta-Commonwith its drift terms. - NTA,offset and NTA, as on any cell. A fixed duplex offset, plus the closed-loop corrections the gNB sends in random access and later Timing Advance Commands. Over a satellite these only trim a residual of microseconds.
The UE corrects its frequency the same way: from the satellite's velocity it predicts the service-link Doppler shift and pre-compensates its uplink (TS 38.300 clause 16.14.2.2). Terminus: beams, not blankets shows where that shift comes from.
K_offset must then cover the whole round trip: TS 38.300 clause 16.14.2.1 requires it to be at least the service-link round trip plus the common TA. At 20 ms, with ta-Common at 9.24 ms, it leaves 10.8 ms for the service link. That fits a UE within about 1,600 km of the satellite. The capture doesn't record the UE's position, so this is the margin, not a measurement.
What do ta-Common and ta-CommonDrift add? (frames 5–264)
TS 38.213 clause 4.2 turns the three broadcast fields into a one-way delay at any time t after the epoch:
Delaycommon(t) = ta-Common/2 + (ta-CommonDrift/2)·(t − tepoch) + (ta-CommonDriftVariant/2)·(t − tepoch)²
Each term is halved because the broadcast values are round trips. In round-trip terms it is a value, a slope, and a curvature, the same as predicting a car's position from where it is, its speed, and how hard it is braking. Between two SIB19s, a UE can predict ta-Common instead of jumping from one value to the next.
Over the run, ta-Common tracks the distance from satellite 1 to the ground point at 0° N, 0° E, to within 16 to 33 µs:
| Frame | Time | ta-Common | Distance to 0° N, 0° E | Its round trip | ta-CommonDrift |
|---|---|---|---|---|---|
| 5 | 1.6 s | 9,235.6 µs | 1,381.9 km | 9,219.2 µs | −43.3 µs/s |
| 52 | 20.8 s | 8,413.9 µs | 1,258.4 km | 8,394.9 µs | −42.3 µs/s |
| 120 | 48.4 s | 7,273.9 µs | 1,086.8 km | 7,250.6 µs | −40.3 µs/s |
| 264 | 94.4 s | 5,559.9 µs | 828.5 km | 5,526.9 µs | −33.6 µs/s |
The drift matches the rate of change of that distance to within 0.1 µs/s throughout. It eases from −43.3 to −33.6 µs/s because the satellite is closing on the reference point less steeply as it nears.
The curvature term is the one field that doesn't fit. ta-CommonDriftVariant is the Δt² coefficient of the round trip, so it should be half the drift's rate of change. In every SIB19 it is about 20% more than that. Over a 15 s validity window, the excess comes to about 1 µs of predicted delay, against a cyclic prefix of 4.7 µs at 15 kHz, so it matters little in practice, but it is a number the geometry doesn't support.
What does an attach cost over LEO? (frames 12–46)
The procedures are the ordinary ones: RRC setup, NAS authentication and security, AS security, capability exchange, registration, and a PDU session with its data bearer. (The site's 5G standalone registration page covers them on a terrestrial cell.) What the satellite changes is the clock. Here are the UE's reply times, measured at the gNB, beside the same steps over GEO:
| gNB sends | UE replies | LEO (this capture) | GEO |
|---|---|---|---|
| RRC Setup | RRC Setup Complete | 60.5 ms | 293 ms |
| Authentication Request | Authentication Response | 60.2 ms | 311 ms |
| NAS Security Mode Command | NAS Security Mode Complete | 43.0 ms | 310 ms |
| RRC Security Mode Command | RRC Security Mode Complete | 48.5 ms | 295 ms |
| UE Capability Enquiry | UE Capability Information | 49.9 ms | 319 ms |
| Registration Accept | Registration Complete | 53.2 ms | 314 ms |
The GEO replies were one 244 ms round trip plus processing. These are a round trip of under 20 ms plus processing; the capture can't separate the two. The satellite is about 60 times lower, and a signaling step costs about a sixth as much. The reporter's log file is named for a "dynamic delay and Doppler" test, which suggests the emulator varies the delay as the satellite moves; this capture alone can't confirm it.
Two other times stand out. The gNB takes 706 ms to answer the RRC Setup Request, and 2.05 s to turn the PDU session request into an RRC Reconfiguration. Both delays are inside the gNB and its core, and the log doesn't explain them.
The radio bearers show the shorter round trip too. SRB1's RLC t-PollRetransmit is 40 ms, where the GEO cell needed 800 ms.
Why does a SIB19 describe a neighbor cell? (frames 76–124)
Every SIB19 in the run carries two ntn-Config-r17 blocks: the serving cell's and one inside ntn-NeighCellConfigList-r17, with that neighbor's carrier (carrierFreq-r17 361470) and PCI. The reporter flagged exactly this in the issue: "the SIB19 in cell 1 contains NTN-NeighCellConfig-r17". A UE needs the neighbor's satellite position to plan measurements of a cell whose signal is also moving and delayed. TS 38.300 clause 16.14.3.3 lists this as assistance information the UE uses to measure neighbor cells in RRC_IDLE, RRC_INACTIVE, and RRC_CONNECTED.
Cell 1's SIB19s list the neighbor as PCI 1; cell 2's list PCI 0. Because a SIB19 never names its own PCI, that is how the diagram tells the two cells' broadcasts apart and gives each its own lane.
Satellite 2 is parked, then follows the same track. For the first 48 s, cell 1 lists satellite 2 with one unchanging ephemeris: 9 km behind satellite 1, as if it had stopped in orbit. When cell 2 comes on air at 36.5 s, its own SIB19 carries exactly those values. Satellite 2 starts moving at 48.99 s, and from 49.63 s its numbers are satellite 1's from frame 5, bit for bit, exactly 48.00 s later. The emulator flies both satellites along one track, 48 s (about 363 km) apart, and the two cells' t-Service times differ by the same 48.00 s.
Cell 2's first SIB19s are a forecast. From 38.1 s to 48.35 s, cell 2 repeats one snapshot with epoch SFN 13, describing satellite 1 at values cell 1 doesn't broadcast until 48.35 s, also as SFN 13. That is exactly one SFN cycle (10.24 s) after the first repeat. Read with the spec's "current or next upcoming SFN" rule, each repeat after the first points at 48.35 s, so the snapshot was correct for the moment it named.
The gNB prepares the UE for the neighbor. Two reconfigurations follow cell 2's arrival:
- Frame 97:
propDelayDiffReportConfig-r17, threshold 2 ms. The UE should report the one-way service-link delay to the neighbor's satellite minus that to its own, and report again whenever it changes by more than 2 ms (TS 38.331 clause 5.7.4.2). The network uses such reports to place its measurement windows. The message carries satellite 2's ephemeris for the purpose. - Frame 105: a measurement on SSB frequency 361470, the carrier SIB19 lists for the neighbor, with event A5 (serving cell below −115 dBm and neighbor above it) and a 320 ms time to trigger. This is the usual groundwork for a handover. The log ends before any measurement report.
The UE's replies slow down at this point. The two Reconfiguration Completes take 1.15 s and 1.57 s, against 38 to 42 ms for the two before cell 2 came up. The capture doesn't show why. The reporter's complaint was uplink timing that "suddenly got worse … after a while", but nothing here ties the two together.
The two cells disagree about satellite 2's epoch. Once satellite 2 moves, both cells broadcast identical numbers for it, but cell 1 stamps them with an epoch 320 frames (3.2 s) away from cell 2's: SFN 393 against 73 at 49.0 s, and SFN 837 against 517 at the end. At 7.56 km/s, a UE trusting cell 1's epoch would place satellite 2 about 24 km from where cell 2 puts it. Two things point to cell 1 as the one in error. Its own frame 97 hands the UE the same satellite-2 numbers with cell 2's epoch (SFN 13), so cell 1 contradicts itself. And the offset is what the replay predicts: 48.00 s is four SFN cycles plus 704 frames, so reusing satellite 1's epoch for satellite 2's replayed position lands 704 frames early, which reads as 320 late.
Traps for terrestrial eyes
- The MIB says
cellBarred: notBarred. TS 38.331 says an NTN cell always sets this to barred, so phones without NTN support stay off. NTN-capable UEs ignore that bit and readcellBarredNTN-r17in SIB1, which here isnotBarred. This cell leaves the door open to any UE. - The UE never says it supports NTN. Its capability report gives
accessStratumReleaserel15 and nononTerrestrialNetwork-r17. The gNB configures the propagation-delay-difference report anyway, though TS 38.306 makes that report a separate capability (serviceLinkPropDelayDiffReporting-r17) that also requires the NTN capability. ra-ResponseWindowis 20 ms, shorter than you might expect. In NTN the window starts one round trip late (TS 38.213 clause 8.2), so its length stays terrestrial, as in the GEO cell.- The carrier is band n3. That is a terrestrial band; the NTN bands are n256 (2 GHz S-band) and n255 (L-band, about 1.5 to 1.6 GHz) in Release 17 (TS 38.101-5). Cabled lab setups often use whatever band the equipment supports.
- Each cell's first SIB19 is all zeros, with
ta-CommonDriftstuck at its minimum, −257,303. It looks like the gNB's start-up state; a UE can't time anything from it. ta-Commonis a slant range, not an altitude, as the table above shows.
How is this different from GEO?
| GEO (companion walkthrough) | LEO (this capture) | |
|---|---|---|
| Altitude | about 35,786 km | 593.6 km |
| Velocity in SIB19 | 0 | 7,562 m/s |
epochTime-r17 | absent | in every live SIB19; cell 1's advance 0.5 to 0.7 s at a time |
ntn-UlSyncValidityDuration-r17 | absent | 15 s |
ta-Common-r17 | 0 | 9,235.6 µs falling to 5,559.9 µs |
cellSpecificKoffset-r17 | 244 or 270 slots | 20 slots |
| UE reply time per step | 293 to 319 ms | 43 to 61 ms |
| Neighbor in SIB19 | none | a second satellite on the same track |
What the capture proves, and what it can't
The capture shows a working Release 17 LEO configuration end to end: an ephemeris that is a real circular orbit (about a non-rotating Earth), refreshed every 640 ms with a consistent epoch; a common TA that follows the geometry and its drift; and a UE that attaches and registers underneath it in tens of milliseconds per step. It also shows one internal inconsistency that a protocol decode alone exposes: cell 1 stamps its neighbor's ephemeris with two different epochs.
It can't show anything below RRC. The UE's own timing advance, the random access, and the uplink timing error the issue was about all live in the MAC and physical layers, which this log doesn't record. It can't place the UE, so it can't test K_offset against a measured round trip. And it can't say whether the slow replies after cell 2's arrival, or the epoch mismatch, had anything to do with the reported problem. The issue was closed in December 2025; its comment thread isn't public without a sign-in.
Takeaways
- A LEO ephemeris changes in every broadcast. Each of cell 1's live SIB19s carries a new position, velocity, and epoch, every 640 ms.
- The epoch makes the numbers usable. A UE projects the satellite forward from the epoch; the 15 s validity says how long it may.
ta-Commonis the network's share of the delay. It is the round trip from the satellite to the uplink reference point, here a 1,382 km slant path, with a drift that tracks the geometry to 0.1 µs/s.- A low orbit makes signaling cheap. Each attach step costs about 50 ms against about 300 ms over GEO.
- SIB19 plans the next satellite. It carries the neighbor's ephemeris, and the gNB follows up with a delay-difference report and a neighbor measurement.
- Check epochs across cells. Two cells can broadcast the same satellite with epochs 3.2 s apart, and only a decode of both shows it.