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.

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.)

flowchart LR accTitle: 5G NTN path from UE to gNB through a geostationary satellite accDescr: The UE connects over the 5G New Radio service link to a geostationary satellite about 36,000 kilometers up, about 122 milliseconds each way. The satellite connects to the gNB. The gNB broadcasts SIB19 with the satellite ephemeris and the K offset. The UE uses its GNSS position and the ephemeris to compute its own timing advance. UE["UE<br/>GNSS position"] SAT["GEO satellite<br/>~36,000 km up"] GNB["gNB<br/>broadcasts SIB19"] UE ---|"service link · ~122 ms each way"| SAT SAT --- GNB
The geometry these captures emulate. The UE learns the satellite's position from SIB19 and its own from GNSS, so it can work out its own timing. The round trip that matters for scheduling is the UE-to-satellite leg, 243.7 ms here.

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:

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:

FieldValueMeaning
positionX-r17, positionY-r1718,603,350 and 26,568,337 (× 1.3 m)42,164 km from Earth's center, the geostationary radius
positionZ-r170over the equator
velocityVX/VY/VZ-r170stationary relative to the rotating Earth
cellSpecificKoffset-r17244the scheduling offset, 244 slots = 244 ms
ta-Common-r170no 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)

sequenceDiagram accTitle: NTN random access timing over a GEO satellite accDescr: The gNB sends the random access response with a timing advance of 9 steps, about 4.7 microseconds. 255 milliseconds later the UE's RRC Setup Request arrives, delayed by the 244-slot K offset. The gNB answers with RRC Setup 3 milliseconds later, and RRC Setup Complete arrives 293 milliseconds after that. participant UE participant gNB gNB->>UE: RAR, TA = 9 (about 4.7 µs) Note over UE,gNB: K offset = 244 slots UE->>gNB: RRC Setup Request (255 ms later) gNB->>UE: RRC Setup UE->>gNB: RRC Setup Complete (293 ms later)
Random access over GEO, from the gNB's clock. The RAR's timing advance is only a 4.7 µs residual because the UE already applied its own correction, and Msg3 arrives 255 ms after the RAR because its grant is scheduled K_offset slots later.

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 sendsUE repliesReply time
RRC SetupRRC Setup Complete293 ms
Authentication RequestAuthentication Response311 ms
NAS Security Mode CommandNAS Security Mode Complete310 ms
RRC Security Mode CommandRRC Security Mode Complete295 ms
UE Capability EnquiryUE Capability Information319 ms
Registration AcceptRegistration Complete314 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:

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:

SettingSRB1 and SRB2DRB1
t-PollRetransmit800 ms100 ms
pollPDUinfinityevery 16 PDUs
maxRetxThreshold832
t-StatusProhibit0 ms10 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).

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.

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:

sequenceDiagram accTitle: The end of the failing NTN run accDescr: The gNB streams RLC data at about 750 PDUs per second. The UE sends status reports at 0.32, 0.96, 2.24 and 3.52 seconds into the data phase, acknowledging sequence numbers up to 287, 758, 1699 and 2640. At 4.4 seconds the gNB sends RRC Release, and NGAP reports radio connection with UE lost. 50 milliseconds later the UE sends a status report acknowledging all 3316 PDUs. participant UE participant gNB gNB->>UE: RLC data, about 750 PDUs per second UE->>gNB: Status ACK SN 287 (0.32 s) UE->>gNB: Status ACK SN 758 (0.96 s) UE->>gNB: Status ACK SN 1699 (2.24 s) UE->>gNB: Status ACK SN 2640 (3.52 s) gNB->>UE: RRC Release (4.4 s) Note over gNB: NGAP cause radio connection with UE lost UE->>gNB: Status ACK SN 3316 (50 ms after release)
The end of the failing run. Status reports keep confirming complete delivery, the gNB releases the UE anyway, and 50 ms after the release the UE acknowledges every one of the 3,316 PDUs.

Read the acknowledgements and the failure looks very strange:

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

  1. 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.
  2. 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.
  3. K_offset is visible in the timestamps. RAR to Msg3 takes 255 ms with an offset of 244 and 281 ms with 270.
  4. Every signaling step costs a round trip. Six exchanges take about 1.9 s at 300 ms each.
  5. Uplink feedback follows the scheduling-request period. Every RLC status report in both runs is spaced at a multiple of 320 ms.
  6. Read RLC before believing an RLF. The failing run's UE acknowledged every packet, including after it had been released.