· 3 min read · Gaia Lab
Where the network looks for you: SUPL, LPP and an n40 cell
First instalment: how we ended up looking at the positioning of our own 5G network, and what had to be adjusted to get a cell running in n40.
When we say that “the phone knows where it is”, it is worth qualifying: the phone may work it out, but the network is the one asking. And it asks over two paths that are worth keeping apart.
Two ways to ask where you are #
The control plane is called LPP (LTE Positioning Protocol) and travels inside NAS signalling: the network sends a RequestLocationInformation and the terminal replies with whatever it has managed to measure —a GNSS position, radio measurements or a typed error—. The user plane is SUPL, from OMA: a protocol over IP against a location server that negotiates GNSS assistance and returns the position. Both end up in the same place, the terminal’s positioning engine, but they are deployed in different worlds: one is seen by the operator in its core, the other is data traffic like any other.
Our interest was not to implement a location service, but to understand what can be observed from outside and what can be decided from inside.
Why an n40 cell #
Studying this needs a test bench that looks like a real network, and there the first engineering job appeared: our lab cell had to transmit in n40 (2.3 GHz, TDD). Changing a frequency in a file is not enough. We had to declare the band, line up the TDD pattern with the 20 MHz bandwidth and 30 kHz SCS, and place the SSB where the terminal expects it. With OpenAirInterface we made the necessary adjustments so that the cell would come up in that band.
The first milestone was not capturing anything: it was the phone camping and registering on that cell. Until that happens, there is nothing to measure.
What we saw in the first tests #

- The position request does not notify any application. There is no permission, no on-screen warning: it is signalling.
- The network can ask for measurements only (power, time differences) and compute the position itself. It does not need your GPS.
- When the terminal has no fix, it does not stay silent: it answers with an error or falls back to Cell-ID, which is the cell you are in.
That last point is what orders everything that came later: if the network can make do with the cell, “not answering” and “not being locatable” are not the same thing.
What came next #
The next question was unavoidable: if the network asks for a position and the phone obeys, can we see the exact message? It does not appear in the phone’s operating system. The modem terminates it inside, in its own LPP stack, and all the application processor receives is the consequence. That took us to the second chapter of this series: building a debug mode in the modem.
Next instalment: seeing what the modem does not tell.
Glossary #
- NAS (Non-Access Stratum): signalling between the terminal and the core that travels inside the radio access.
- LPP (LTE Positioning Protocol): the 3GPP protocol through which the network asks the terminal for a position or for measurements.
- SUPL (Secure User Plane Location): an OMA protocol that requests the position over the user plane, over IP.
- GNSS : satellite navigation constellations (GPS, Galileo, GLONASS, BeiDou).
- Cell-ID : an approximate position from the cell the terminal is attached to.
- n40 : the 2.3 GHz band, in TDD.
- TDD : time-division duplexing: the same frequency is shared between downlink and uplink.
- SSB and SCS : the synchronisation and broadcast block, and the subcarrier spacing.