5G NTN over a GEO Satellite: An Attach and a Radio Link Failure, Packet by Packet
Reading two gNB-side captures of 5G New Radio running through an emulated geostationary satellite: one run that attaches and carries data cleanly, and one where the base station gives up on a phone that is receiving everything. Both come from a public srsRAN bug report and were decoded and annotated with VisualEther, which turns a Wireshark PCAP into a sequence diagram.
The attach capture: annotated diagrams (the failing run's diagrams appear with the radio link failure below):
💡 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
3GPP Release 17 added non-terrestrial networks (NTN) to 5G: the same New Radio a phone uses with a cell tower, but with the cell's signal relayed through a satellite. Most writing about NTN stays at the level of block diagrams. These two captures show what the change looks like on the wire.
Both runs use the same lab setup: an srsRAN gNB (base station) and a TM500 test UE with a built-in NTN channel emulator, which adds the delay a geostationary (GEO) satellite would. The gNB recorded every MAC-layer frame it sent and received. Ciphering is null (NEA0 on the radio, 5G-EA0 on NAS), so every message is readable down to the user data.
- The attach (45 frames, run of 17 September 2025): system information, random access, registration, the data bearer and the first downlink data. The full run carries a 10-second iperf test to completion.
- The radio link failure (90 frames, run of 15 September 2025): the same attach, then 4.4 s of downlink data, then an RRC Release with the cause "radio connection with UE lost". The UE's last message shows it received every packet.
Both files are slices cut from much longer runs, with frames renumbered. Where a claim depends on the full run, this page says so.
What changes when the cell is in orbit
A geostationary satellite sits about 36,000 km above the equator. Radio covers that distance in about 120 ms, so the UE-to-satellite round trip in this setup is 243.7 ms. The srsRAN maintainer computed that figure from the UE and satellite coordinates. (In a real "bent-pipe" system the satellite also relays to a ground station, which adds more delay. The emulator here models only the UE-to-satellite leg. For how altitude trades delay against coverage, see Terminus: shelves of the sky.)
A terrestrial 5G cell assumes the radio path is under a millisecond. Three things break at 244 ms, and each has a Release 17 fix that shows up in these captures:
- Uplink timing. A UE must transmit early so its signal lands in the gNB's time slot. On a terrestrial cell, the gNB measures the error and tells the UE (timing advance). Over a satellite the correction is a quarter of a second, far beyond the range of that command. Instead the UE computes it from the satellite position in SIB19 and its own GNSS position, and the gNB trims only the residual.
- Scheduling. A grant that says "transmit 4 slots from now" arrives a quarter-second late. So every uplink grant and HARQ acknowledgement is shifted by a broadcast offset,
K_offset, measured in slots. It must be at least the round trip: here 244 or 270 slots, which is 244 or 270 ms at 15 kHz subcarrier spacing. - Feedback timers. Any timer that waits for an answer must allow a round trip. RLC's poll timer, the random-access windows and HARQ all need it.
Phase 1: A satellite cell announces itself (frames 1–3)
The first frame is SIB19, a System Information Block that exists only in NTN cells. Its ntn-Config-r17 carries:
| Field | Value | Meaning |
|---|---|---|
positionX-r17, positionY-r17 | 18,603,350 and 26,568,337 (× 1.3 m) | 42,164 km from Earth's center, the geostationary radius |
positionZ-r17 | 0 | over the equator |
velocityVX/VY/VZ-r17 | 0 | stationary relative to the rotating Earth |
cellSpecificKoffset-r17 | 244 | the scheduling offset, 244 slots = 244 ms |
ta-Common-r17 | 0 | no extra common delay to add |
Just as telling is what SIB19 leaves out: no epochTime-r17 and no ntn-UlSyncValidityDuration-r17. A low-orbit satellite moves several kilometers per second, so its ephemeris needs a timestamp and goes stale in seconds. A geostationary one doesn't move, so it needs neither.
SIB1 (frame 3) carries cellBarredNTN-r17: notBarred. Phones that support NTN read this flag in place of the ordinary barring flag, which is how operators keep phones without NTN support off a satellite cell. SIB1 also holds the first trap for anyone reading the settings with terrestrial eyes. ra-ResponseWindow is 10 ms and ra-ContentionResolutionTimer is 64 ms, both shorter than one round trip. They are correct: TS 38.321 starts both windows one UE-to-gNB round trip late in NTN. The length stays the same and only the start moves.
Phase 2: Random access, with the UE doing the timing (frames 4–8)
The random-access response (RAR, frame 4) gives a timing advance of 9 steps of 0.52 µs, about 4.7 µs. The RAR's 12-bit field tops out at about 2.0 ms, so it could never carry a 244 ms correction. It doesn't need to: the UE pre-compensated before sending its preamble, and the RAR reports only what is left over. On a terrestrial cell the relationship is reversed, and the RAR value is the entire correction.
The RRC Setup Request (Msg3) arrives 255 ms after the RAR. On a terrestrial cell this takes a few milliseconds. Here it is K_offset (244 ms) plus the usual few slots: the UE transmits exactly when its grant, shifted by the offset, tells it to. The failing run shows the same arithmetic with its own offset: 270 + a few slots = 281 ms.
After the RRC Setup, the gNB starts trimming the UE's timing with Timing Advance Commands. There are five in the attach, with values 33, 29, 32, 30 and 32. The command is centerd on 31, so these mean +2, −2, +1, −1 and +1 steps, each about half a microsecond. The UE's own advance does the heavy lifting; the gNB's closed loop adjusts by microseconds, wandering either side of zero as you'd expect for a satellite that doesn't move.
Phase 3: Registration at 300 ms per step (frames 9–25)
The 5G procedures are the ordinary ones: authentication, NAS and RRC security, capability exchange, registration. (The site's 5G standalone registration page covers them on a terrestrial cell.) What the satellite changes is the clock:
| gNB sends | UE replies | Reply time |
|---|---|---|
| RRC Setup | RRC Setup Complete | 293 ms |
| Authentication Request | Authentication Response | 311 ms |
| NAS Security Mode Command | NAS Security Mode Complete | 310 ms |
| RRC Security Mode Command | RRC Security Mode Complete | 295 ms |
| UE Capability Enquiry | UE Capability Information | 319 ms |
| Registration Accept | Registration Complete | 314 ms |
Each reply is one 244 ms round trip plus processing and scheduling, while the gNB's own back-to-back messages are under 10 ms apart. Six exchanges take about 1.9 s. On a GEO link, the cost of a signaling procedure is its number of round trips, and that is why NTN design works to remove round trips rather than bytes.
The UE Capability Information (frame 20) is the most NTN-specific message in the capture. The UE declares accessStratumRelease: rel17 and nonTerrestrialNetwork-r17: supported, along with:
harq-FeedbackDisabled-r17: HARQ feedback can be switched off per process, so a process doesn't sit idle for a quarter-second waiting for an acknowledgement.max-HARQ-ProcessNumber-r17: u32d32: 32 HARQ processes each way instead of 16, to keep more data in flight.uplink-TA-Reporting-r17andue-specific-K-Offset-r17: the UE can report its own timing advance, and accept a per-UE scheduling offset.locationBasedCondHandover-r17andtimeBasedCondHandover-r17: handover triggered by position or time, because satellite coverage moves on a known schedule.
The gNB uses none of them. No RRC Reconfiguration turns off HARQ feedback or raises the process count, so HARQ runs as on a terrestrial cell, with 16 processes waiting out the full round trip. The srsRAN maintainer later pointed to exactly this in the bug report: with HARQ enabled, limited data rates are expected over GEO.
Phase 4: The data bearer (frames 26–32)
The RRC Reconfiguration (frame 29) adds a second signaling bearer (SRB2) and the data bearer (DRB1), each with its own RLC acknowledged-mode settings:
| Setting | SRB1 and SRB2 | DRB1 |
|---|---|---|
t-PollRetransmit | 800 ms | 100 ms |
pollPDU | infinity | every 16 PDUs |
maxRetxThreshold | 8 | 32 |
t-StatusProhibit | 0 ms | 10 ms |
t-PollRetransmit is how long the sender waits for a status report after asking for one. The signaling bearers allow 800 ms, about three round trips. The data bearer allows 100 ms, less than half a round trip, so on DRB1 the timer always expires before any answer can arrive. The full run shows what that does once, at the very end (below).
Phase 5: Downlink data across the satellite (frames 33–45)
The first data frame is a single 11.5 kB transport block carrying 56 RLC PDUs (sequence numbers 0–55). These are iperf UDP packets to the UE that queued while the bearer was being built. After that backlog drains, each transport block carries only what has just arrived. RLC sets the poll bit whenever its send buffer empties, so in steady state nearly every PDU asks for a status report: 7,895 of the 7,980 PDUs in the full run.
The slice ends there, but the full run shows the whole data phase, and one pattern stands out. The downlink runs for 10.9 s at about 735 PDUs per second. The UE answers with only nine status reports, and every gap between them is an exact multiple of 320 ms:
1.28 · 0.96 · 2.24 · 0.32 · 2.24 · 1.28 · 0.96 · 1.28 s
320 ms is the scheduling-request period set in the RRC Setup (sl320). The UE has no uplink traffic of its own, so to send a status report it must first ask for uplink capacity, and it may ask only once every 320 ms. The reporter in the bug thread later cut this period to 10 ms and wrote that the downlink stabilized.
The run still completes. The last report, ACK_SN 7977, acknowledges everything, and there is not one negative acknowledgement (NACK) in the capture. The short poll timer shows itself exactly once: 100 ms after the last new PDU, with nothing left to send, the gNB retransmits SN 7111, the oldest PDU not yet acknowledged. The UE then stays connected for another 54 s.
The run that fails: a radio link failure with no lost data
This run is the one the bug report is about. Its SIB19 describes the same satellite at the same position, with one NTN value changed: K_offset is 270, not 244. In the issue thread the maintainer computed the 243.7 ms round trip and suggested 244 or 245; the working run, two days later, uses 244.
The attach is almost indistinguishable from the working run. Most replies take 299–319 ms; two take longer (454 and 595 ms), plausibly a UE that just missed a 320 ms scheduling-request opportunity. The RRC Reconfiguration sets exactly the same RLC timers, including the 100 ms data-bearer poll timer. Since the working run survives that timer, it cannot explain this failure on its own.
Then the data starts, and 4.4 s later the gNB ends the connection:
Read the acknowledgements and the failure looks very strange:
- The data was arriving. Every status report confirms complete delivery up to its point, with no NACKs, and the gNB never retransmits a single RLC PDU.
- The reports kept the same 320 ms rhythm. The gaps are 0.64, 1.28 and 1.28 s, the same scheduling-request cadence as the working run.
- The UE was still there. 50 ms after the RRC Release, the UE sends
ACK_SN 3316: it received all 3,316 PDUs. - The core was told the opposite. The companion NGAP capture shows the gNB sending
UEContextReleaseRequestwith causeradio-connection-with-ue-lost6 ms before the RRC Release. A PDU-session request then crossed the release and drew anErrorIndication.
The capture doesn't record why the gNB decided the UE was lost. For an earlier run, the reporter posted the srsRAN log: "RLF detected. Cause: 100 consecutive HARQ-ACK KOs", followed by a 4,000 ms timer before release. HARQ acknowledgements travel on the uplink control channel, below anything this capture records. If this run behaved the same way, the gNB decided about 0.4 s into the data that it wasn't hearing HARQ feedback, then kept sending for four more seconds while the UE received everything.
What the two captures pin down is narrow but solid. The two runs share the satellite, the RLC timers and the 320 ms scheduling-request period; they differ in one NTN setting, K_offset 270 against 244. They cannot prove that this difference is the cause. The reporter later wrote that failures continued at 244, and the srsRAN maintainers extended some timeouts to account for the NTN round trip in a later release. The case is a useful reminder that "radio link lost" is the gNB's conclusion, not a measurement. Here the RLC layer shows the radio link delivering every packet.
Takeaways
- SIB19 tells the phone where the satellite is. A GEO ephemeris is a constant: equatorial position, zero velocity, no epoch. A low-orbit one would change in every broadcast.
- The UE does its own timing. The RAR and Timing Advance Commands carry microsecond residuals on top of the UE's 244 ms pre-compensation.
K_offsetis visible in the timestamps. RAR to Msg3 takes 255 ms with an offset of 244 and 281 ms with 270.- Every signaling step costs a round trip. Six exchanges take about 1.9 s at 300 ms each.
- Uplink feedback follows the scheduling-request period. Every RLC status report in both runs is spaced at a multiple of 320 ms.
- Read RLC before believing an RLF. The failing run's UE acknowledged every packet, including after it had been released.