Manuscript Offprint
arXiv:2610.01632SL-RFSIM: Enabling Scalable Multi-Hop 5G NR Sidelink Mesh Networking in OpenAirInterface
Abstract
Recent 3GPP releases have extended 5G New Radio (NR) Sidelink (SL) to support device-to-device (D2D) relay and multi-hop capabilities. This paper presents SL-RFSIM, a component-based experimentation framework extending OpenAirInterface (OAI) with scalable multi-hop NR SL capabilities. SL-RFSIM replaces the legacy OAI RF simulator with a broker-based publish/subscribe architecture enabling arbitrary peer-to-peer connectivity while preserving compatibility with the OAI protocol stack. The framework further integrates pluggable mobility, propagation, reception, and monitoring services, and supports Layer-2 mesh networking through BATMAN-adv. Experimental evaluation on the SLICES-RI research infrastructure validates the proposed architecture through representative mesh networking scenarios and identifies the current software bottlenecks limiting scalability. SL-RFSIM provides an open-source foundation for reproducible experimental research on 5G NR SL and future multi-hop cellular mesh networks.
1 Introduction
5G New Radio (NR) Sidelink (SL) has transformed cellular systems from infrastructure-centric networks into distributed communication platforms supporting direct device-to-device (D2D) connectivity. Since its initial standardization, NR SL has evolved through successive 3GPP releases to support low-latency, high-reliability applications operating beyond network coverage, while ongoing Rel. 19 activities further extend sidelink relaying and multi-hop capabilities [3, 17]. Originally introduced for NR Vehicle-to-Everything (NR-V2X), 5G NR SL is now envisioned as a key enabling technology for industrial automation, collaborative robotics, public safety, unmanned systems, and tactical communications, where groups of devices exchange information directly under dynamic wireless conditions [6, 29]. In these scenarios, mesh networking and multi-hop relaying offer an effective means to extend communication range, improve resilience against infrastructure outages, and provide connectivity in sparse or obstructed environments.
Despite this growing interest, experimental evaluation of large-scale multi-hop NR SL mesh networks remains challenging. While recent experimental infrastructures (e.g. SLICES-RI [30] or Colosseum [7]) have considerably advanced reproducible wireless experimentation, scalable experimentation of multi-user NR SL networks integrated with executable 3GPP protocol implementations remains largely unexplored. Consequently, researchers lack an open platform for evaluating mesh networking protocols, relay mechanisms, and realistic wireless propagation under reproducible conditions.
This paper presents SL-RFSIM, a component-based experimentation framework extending OpenAirInterface (OAI) [15] with scalable multi-hop NR SL capabilities. The contributions of this work are fourfold: (i) a broker-based RF simulation architecture supporting scalable peer-to-peer NR SL communication; (ii) an experimentation framework integrating mobility, propagation, reception and monitoring services through extensible APIs; (iii) native support for Layer-2 mesh networking through BATMAN-adv; (iv) an open-source experimental platform enabling reproducible multi-hop NR SL experimentation on local and cloud/HPC infrastructures. Experimental results validate the proposed architecture through representative multi-hop mesh scenarios, demonstrate realistic channel abstraction consistent with OAI PHY behaviour, and identify the current software bottlenecks limiting scalability.
The rest of the paper is organized as follows: Section 2 reviews related work; Section 3 introduces OpenAirInterface's existing sidelink and mesh architecture; Section 4 presents SL-RFSIM's modular design; Section 5 reports experimental validation and scalability results; Section 6 concludes the paper.
Complementary to executable protocol stacks, numerous simulation and experimentation platforms have been developed for evaluating NR SL systems. 5G-LENA [27] extends the ns-3 ecosystem with a complete 5G NR protocol model, while MoReV2X [21] further introduces NR V2X sidelink capabilities for vehicular networking studies. Link-level simulators, such as UWICORE NR V2X provide highly accurate PHY-layer evaluation based on detailed BLER and channel models [18]. At a larger scale, Colosseum [7] enables hardware-in-the-loop wireless experimentation through RF emulation, whereas SLICES-RI [30] provides a reproducible cloud-native research infrastructure for deploying large-scale wireless experiments based on open-source software stacks. These platforms address complementary aspects of wireless experimentation, ranging from protocol simulation to reproducible infrastructure deployment, but are not specifically designed for scalable multi-hop NR SL experimentation integrated with OAI.
https://github.com/uwicore/NR-V2X-SL-LinkLevelSimulator
Mesh networking over 5G NR SL has recently attracted increasing attention from both the networking and standardization communities. Within 3GPP, Rel. 18 introduced SL relay support, while Rel. 19 continues extending relay procedures and the Sidelink Relay Adaptation Protocol (SRAP) toward more flexible distributed deployments [4, 17]. At the networking layer, routing protocols such as AODV [26], OLSR [9], and the Linux BATMAN-adv mesh protocol [25] have demonstrated efficient distributed route discovery for wireless mesh networks. However, these approaches generally operate independently of an executable 3GPP 5G protocol stack or are evaluated using abstract network simulators rather than real protocol implementations.
Existing solutions therefore provide complementary capabilities—including 5G NR SL models, realistic RF emulation, wireless simulation, and mesh routing—but no single framework integrates these capabilities within a composable, reproducible experimentation platform for scalable OAI-based 5G NR SL mesh networking.
3 OpenAirInterface (OAI) Sidelink
3.1 OAI 5G NR Sidelink Architecture
The OAI SL protocol stack supports basic 5G NR SL channels, including Physical Sidelink Broadcast Channel (PSBCH), Physical Sidelink Control Channel (PSCCH), and Physical Sidelink Shared Channel (PSSCH). SL procedures have also been included throughout the SDAP, PDCP, RLC and MAC layers in order to support 5G NR SL communication in a 2-UE scenario, either as a prototype (using USRP B210 boards) or as emulation with RFSim . OAI SL supports mode 2 (ad-hoc) or 1-hop relay approaches.
In order to support multi-UE scenarios, OAI SL requires a scheduler, and has been extended to support a 5G NR SL mode 2(c) scheduler, while the default mode 2(a) listen-before-talk (LBT) Semi-Persistent Scheduling (SPS) is currently being implemented. Mode 2(c) corresponds to a collision-free TDMA scheduling strategy, where a coordinating UE assigns all other UEs a statically allocated set of SL subframes.
3.2 OAI Mesh Architecture
3GPP Rel. 19 describes 5G NR Relaying architecture [4] based on a new SRAP as well as IETF routing protocols, such as AODV [26] or OLSR [9]. While OAI 5G NR SL supports SRAP , APIs between SRAP and mesh protocols external to 3GPP are missing, which drove a different approach in this work.
Without loss of generality, we consider a 5G NR SL multi-hop network consisting of individual 5G NR SL wireless links, and delegate the relaying decision to higher level protocols. Rather than IETF protocols, we adopted the BATMAN-adv mesh protocol . First, unlike IETF routing protocols, BATMAN-adv is available out of the box on any Linux kernel. Second, it operates at Layer-2, which is important for industrial wireless designs, trading SRAP fidelity for immediate availability. Fig. 1 depicts such an architecture, where the Sidelink Controller (SLC) is an entity being implemented to externally control the 5G UE RRC, notably the scheduler.

Figure 1: OAI 5G NR SL Mesh architecture
3.3 OAI RF Simulator (RFSim)
The RF Simulator (RFSim) is an OAI module abstracting the lower PHY instructions and emulating the RF pipeline. Developed primarily to evaluate the impact of multi-UE connections to a gNB, RFSim follows a client-server architecture, where the server is the gNB and UEs are clients. RFSim operates as a link-level RF emulator, where channel quality or UE/gNB positions may be altered through telnet APIs, as depicted in Fig. 2.
Although popular for 5G NR performance evaluation, RFSim cannot be used for 5G NR SL beyond 2 UEs. In a mesh topology, RFSim clients can only be connected to one server, thus cannot directly be connected to model multi-UE SL communication.

Figure 2: Legacy OAI RFSim Architecture
4 OAI SL-RFSIM
Considering that OAI SL experiments require a large number of UEs to model scheduling or relaying, a prototyping approach remains challenging. Accordingly, RFSim-based experiments are a perfect approach, but they need to be extended to support a meshed architecture. In this section, we describe a new RFSim tailored to 5G NR SL, which we called SL-RFSIM.
4.1 Architecture and API Specification
To support a full meshed topology, SL-RFSIM adopts a pub/sub approach orchestrated by a broker as depicted in Fig. 3. It does not only connect UEs but also complementary modules required for the modelling of 5G NR experiments, such as mobility, propagation, and reception modules. An InfluxDB module, used by Grafana, has been added to provide performance monitoring of 5G NR SL experiments.
In order to simplify runtime operation, SL-RFSIM is designed as a bridged Docker container architecture as depicted in Fig. 3. The broker and all modules, including Grafana and InfluxDB, run
https://gitlab.eurecom.fr/oai/openairinterface5g/-/tree/sl-eurecom2
https://gitlab.eurecom.fr/oai/openairinterface5g/-/tree/episys-sl-dev
https://www.open-mesh.org/projects/BATMAN-adv/wiki/Doc-overview
SL-RFSIM: Enabling Scalable Multi-Hop 5G NR Sidelink Mesh Networking in OpenAirInterface
Table 1: Modular RF Simulator API Specification.
| Module | Command | Description |
|---|---|---|
| Mobility (Port 5557) | GET_ALL_POSITIONSSET_POSITIONADD_UE | Returns , coordinates, speed, and heading for all active UEs.Manually teleports a UE, overriding internal movement logic.Dynamically registers a new UE slot in the simulation pool. |
| Propagation (Port 5558) | COMPUTE_PATHLOSSSET_MODELSET_LINK_BLOCK | Calculates attenuation () and Doppler shift for a TXRX link.Changes environmental logic (e.g., Urban, Highway, Rural, Indoor).Forcibly blocks a directional link to simulate total obstruction. |
| Reception (Port 5559) | COMPUTE_BERGET_CQI_TABLE | Maps SNR to CQI and provides a reception probability estimate.Returns the internal 3GPP-compliant SNR-to-CQI conversion table. |
on inter-connected containers. UEs may be added on-the-fly to SL-RFSIM as new containers connected to the broker.
APIs let any module be adjusted dynamically; Table 1 summarises the command set defined in the technical specification. UEs may be on/off-boarded on the fly in order to optimise scalability. When a UE joins, the broker automatically triggers the mobility module to initialise its trajectory, requiring no manual configuration. As per 3GPP SL specification, a Sync-Ref UE remains necessary, but it is considered as any other UE by SL-RFSIM.

Figure 3: Docker architecture for OAI simulations
4.2 Mobility Module
Mobility in 5G SL experiments is paramount. The SL-RFSIM Mobility module provides configurable mobility (position, heading and velocity) of individual UEs, updated every 100 ms. The module is based on pymobility , a Python mobility library modelling multiple random models, ranging from Random WayPoint (RWP) and Random Walk (RWalk) to Gauss-Markov and Reference Point Group Mobility (RPGM) models.
Without loss of generality, we apply the RWP model in this work. The parameters that define a RWP scenario are the area side length (bounding box), the admissible speed range (minimum and maximum speed in [m/s]), and the maximum pause time at each waypoint. For every leg a UE draws a speed uniformly between the minimum and maximum values. Upon reaching a waypoint it pauses for a time chosen uniformly between zero and the configured maximum.
The mobility module is deliberately kept separate from OAI, running as its own process or Docker container and communicating with the broker over ZMQ messaging with JSON payloads. This separation is what allows the platform to support other mobility models in the future, such as a dedicated traffic simulator like SUMO [19], or a completely different domain-specific tool, without needing to redesign the broker itself. Models can also be switched at runtime, moving between Random Waypoint and Static (frozen) mode without restarting any process.
4.3 Propagation Module
The SL-RFSIM propagation module is based on five 3GPP-compliant path loss models, each incorporating probabilistic LOS/NLOS selection. In order to handle flexible channel conditions, the module also allows setting arbitrary attenuation values for specific UE-to-UE links, or fully blocking a link, for example in the presence of walls between two UEs.
The propagation module runs as an independent process, or Docker container, separate from OAI. The broker sends it a request as JSON, and the module replies with three values: the path loss, the background noise level, and the Doppler shift for that specific transmitter-to-receiver link. The module keeps no memory between calls; at each call, it computes a fresh path loss considering current distance and speed, rather than tracking it over time.
Table 2 summarises the path loss coefficients, model parameters, and LOS probability types for all five models:
Free Space follows ITU-R P.525-3 [13] and serves as a theoretical baseline with no LOS/NLOS selection; it is used to isolate the effect of distance without environmental effects.
Urban V2V (3GPP TR 37.885 [1]) defines three channel states - LOS, NLOSv (vehicle blocker), and NLOS (building blocker). Each state is selected probabilistically per query according to a density-dependent exponential function [23]; the depends on the relative heights of the transmitter, receiver, and blocking vehicle, and is calculated using one of three cases [24].
Highway V2V (3GPP TR 37.885 [1]) uses the same path loss expressions as Urban, but the probability of LOS follows a different curve: it decays gradually beyond 475 m [23]; the same model from Urban V2V applies here too [22, 24].
Indoor (InH) (3GPP TR 38.901 [5]) applies a piecewise exponential LOS probability valid from 1 to 150 m and takes to enforce the physical constraint that NLOS loss cannot be lower than LOS [28].
Rural adopts the ECC Report 68 three-segment formula as parametrised by the Car2Car Consortium for vehicle-height antennas [8, 16], and independently validated [11].
4.4 Reception Module
Similar to RFSim, SL-RFSIM only abstracts the lower PHY instructions. Accordingly, OAI UEs contain functions to compute packet reception from IQ samples provided by SL-RFSIM. However, the
https://github.com/panisson/pymobility
Table 2: Propagation models and path loss coefficients implemented in SL-RFSIM [1, 5, 8, 13, 16].
| Model | Standard | Range | PLLOS (dB) | PLNLOS (dB) | LOS/NLOS | |
|---|---|---|---|---|---|---|
| Free Space | ITU-R P.525-3 | No limit | 20 log d + 20 log f - 27.6 | - | 0 | LOS only |
| Urban V2V | 3GPP TR 37.885 | ≤1000 m | 38.77 + 16.7 log d + 18.2 log | 36.85 + 30 log d + 18.9 log | 3/4 dB | Exp. |
| Highway V2V | 3GPP TR 37.885 | ≤1000 m | 32.4 + 20 log d + 20 log | 36.85 + 30 log d + 18.9 log | 3/4 dB | Piecewise |
| Indoor (InH) | 3GPP TR 38.901 | 1-150 m | 32.4 + 17.3 log d + 20 log | max(LOS, 17.3 + 38.3 log d + 24.9 log ) | 3/8 dB | Piecewise exp. |
| Rural | ECC-68 / Car2Car | 3-seg. | m, , m, | LOS only | - | LOS only |

Figure 4: Reception Probability Pipeline
OAI UEs do not contain hooks sending channel quality metrics or reception conditions to external entities. The actual packet reception is decided by OAI's internal PHY layer on real IQ samples, while the external reception module provides a parallel, configurable estimate, usable today for observability, and designed to be extended toward driving system-level reception decisions.
SL-RFSIM reception module measures the channel quality metrics using a specifically designed pipeline, and computes the Block Error Rate (BLER) from Signal-to-Noise Ratio (SNR) according to the UWICORE NR V2X SL dataset, which contains 6,188 BLER vs. SNR curves following 3GPP Rel. 16 specifications [21].
The full pipeline converting SNR to a final reception probability, rx_prob, works through six steps: a Doppler ceiling check, an SNR penalty, CQI mapping, MCS mapping, a BLER lookup, and finally the reception probability itself. This procedure is illustrated in Fig. 4.
Doppler MCS Ceiling. Beyond a certain speed, CP-OFDM's intercarrier interference (ICI) makes the link fail regardless of signal strength. We adopt this ceiling from Lusvarghi et al. [20], the highest MCS reliable for a given channel and speed. Exceeding it sets BLER = 1, rx_prob = 0 directly (Fig. 4, Step 1).
Residual Doppler SNR Penalty. Below the ceiling, Doppler still degrades performance as added noise, modelled as a speed-dependent penalty applied before all subsequent steps [21] (Fig. 4, Step 2).
LDPC Gain Correction. UWICORE already reflects the LDPC coding gain, having been measured from real coded transmissions; OAI's fallback tables do not. We apply a fixed 2.0 dB correction only when using the fallback tables, skipping it for UWICORE where the gain is already built in (Fig. 4, Step 3) [18].
SNR to CQI. The effective SNR is mapped to CQI following the same 3GPP TS 38.214 table OAI uses for sidelink scheduling [2], listed in full in Table 3.
CQI to MCS. OAI and UWICORE index MCS differently for sidelink; this step just matches entries between the two tables so the correct MCS reaches the correct BLER dataset (Table 3).
BLER and Reception Probability. Given channel type, speed, and MCS, we interpolate the matching BLER value in the UWICORE dataset at the effective SNR, then compute .
Table 3: Combined SNR-to-CQI and CQI-to-MCS mapping
| CQI | SNR (dB) | Mod. | CR/1024 | Eff. | MCS(OAI) | MCS(UWICORE) |
|---|---|---|---|---|---|---|
| 0 | <-20 | - | - | - | - | - |
| 1 | [-20, -6) | QPSK | 30 | 0.0586 | - | - |
| 2 | [-6, -3) | QPSK | 50 | 0.0977 | - | - |
| 3 | [-3, 0] | QPSK | 78 | 0.1523 | - | - |
| 4 | (0, 2] | QPSK | 120 | 0.2344 | 6 | 0 |
| 5 | (2, 3] | QPSK | 193 | 0.3770 | 8 | 1 |
| 6 | (3, 5] | QPSK | 308 | 0.6016 | 10 | 2 |
| 7 | (5, 7] | QPSK | 449 | 0.8770 | 12 | 3 |
| 8 | (7, 9] | QPSK | 602 | 1.1758 | 14 | 4 |
| 9 | (9, 10] | 16QAM | 378 | 1.4766 | 16 | 5 |
| 10 | (10, 12] | 16QAM | 490 | 1.9141 | 18 | 7 |
| 11 | (12, 15] | 16QAM | 616 | 2.4063 | 20 | 9 |
| 12 | (15, 16] | 64QAM | 466 | 2.7305 | 22 | 11 |
| 13 | (16, 18] | 64QAM | 567 | 3.3223 | 24 | 13 |
| 14 | (18, 19] | 64QAM | 666 | 3.9023 | 26 | 15 |
| 15 | >19 | 64QAM | 772 | 4.5234 | 28 | 17 |
4.5 Broker
The broker is the main orchestrator of SL-RFSIM: simple, lightweight, aware of which UEs are connected and of the channel conditions between each pair. Its most crucial tasks are (i) receiving subscriptions and publishing on the subscribed UE channels, (ii) orchestrating data flow between the SL-RFSIM modules on the forwarded IQ samples: path loss scaling, Doppler rotation, and SNR estimation (Sections 4.5.1, 4.5.2, 4.5.3), computed independently per UE pair and published on its own dedicated channel.
Fig. 5 illustrates this workflow. During sync/UE join and direct UE-to-UE mesh links (Fig. 5a), the broker caches UE positions every 100 ms, queries the propagation module for path loss and Doppler shift, applies Doppler phase rotation and MCL-based path loss scaling to the IQ samples, then forwards them to the receiver. It also periodically queries the reception module for CQI, BER, and reception estimates, used for monitoring (Fig. 5b). Actual reception, however, remains entirely within OAI's PHY layer, never duplicated by the broker.
4.5.1 Differential Path-loss Scaling and I/Q Quantization. This section details the path loss scaling step from Fig. 5a: how the broker applies the propagation path loss value to the actual IQ samples. OAI represents each I/Q sample as a 16-bit integer with amplitude which can cause numerical truncation to zero even at short range.
To avoid this, the broker adopts the Minimum Coupling Loss (MCL) convention [10], exposed as a runtime CLI parameter (-mcl):
SL-RFSIM: Enabling Scalable Multi-Hop 5G NR Sidelink Mesh Networking in OpenAirlInterface
This effective attenuation in decibels is then converted into a linear scalar factor and applied to the I/Q samples:
Empirical calibration during this project demonstrated that setting the MCL to 80 dB optimally aligns the I/Q sample amplitude with the theoretical SNR, minimising the divergence between the link-level OAI decoder and the system-level UWICORE tables.
4.5.2 OFDM-Aware Doppler Phase Rotation. This section details the Doppler rotation step from Fig. 5a. UE movement causes Doppler shift as mentioned before in Section 4.4. We model this by rotating the phase forward slightly at each OFDM symbol, then resetting it to zero at the start of every 2 ms block, consistent with OAI RFSim's assumption of no residual carrier frequency offset (CFO) carried over between blocks on the sidelink path:
Tested on a highway scenario with two UEs positioned 200 m apart, PSBCH success drops from 100% with no channel effects to 73% with Doppler off, recovering to 81% at Hz; PSCCH/PSSCH decoding remains largely unaffected thanks to DMRS-based correction. We reset the phase every block rather than letting it accumulate, since OAI's sidelink RFSim has no pilot-based CFO correction on the receive path; without a reset, drift builds up faster than the receiver can track, breaking synchronisation within a few hundred milliseconds.
4.5.3 Analytical SNR Estimation. This section covers the final step from Fig. 5a: the broker's SNR calculation, derived from path loss rather than measured directly:
where dBm, dBm/Hz, and BW is the operational bandwidth.
4.6 Grafana & InfluxDB Monitoring Stack
Grafana [12] is a popular visualisation layer for its native support for time-series data sources and real-time dashboard rendering, backed by InfluxDB [14] as the time-series database for its high write throughput and native support for timestamped metrics at sub-second granularity. We therefore integrated Grafana as SL-RFSIM's visualisation layer. Figure 5b shows how this stack is populated. An Exporter polls each module every second and writes to InfluxDB, which Grafana reads via 5 s Flux queries. This polling-based design keeps the monitoring stack fully decoupled from OAI itself; Grafana never queries OAI or the broker directly, only InfluxDB. The SL-RFSIM broker therefore periodically publishes monitoring KPIs to InfluxDB, which the SL-RFSIM Grafana dashboard may display (Details in Section 5.2).

(a) UE join, sync broadcast, and PC5 mesh transmission.

(b) Dashboard monitoring.
Figure 5: Sequence diagrams of the broker's main communication patterns.
5 Experimentation & Validation
The experimental validation of SL-RFSIM has been conducted on the SLICES-RI OpenXGLab node at EURECOM, using an x86_64 cluster with 8 Xeon Gold CPU cores and 8 GB of RAM.
5.1 Cluster Access & Scenario Configuration
The OAI 5G NR SL mesh experiment with SL-RFSIM is performed through a Jupyter notebook environment, which is accessed with a SLICES-RI account . Source code is cloned from a specific module3-batmanmoreues branch from the GitLab . In order to avoid recompiling OAI source code for each container UE, all containers
This deliberately uses the unmodified path loss, not the MCL-clipped value from Section 4.5.1; applying it here would inflate SNR and invalidate the reception estimates in Sections 4.4 and 5.3.
https://jupyterhub.slices.cs.eurecom.fr/
https://gitlab.eurecom.fr/oai-sl-mobility/oai-sl-mobility are provided ready-to-use through Docker Hub via preconfigured scripts available in the OAI SL-RFSIM folder .
Scenarios consist of Python scripts pre-configuring all SL-RFSIM aspects (mobility, propagation, number of UEs, and active mesh links) via the API in Table 1, as well as scripts to start all containers required by the experiment. This validation focuses on functional correctness and scalability limits of the broker architecture; broker-latency characterisation and a direct baseline comparison against legacy client-server RFSim are left to future work.
5.2 Grafana Dashboard
The dashboard is organised around link pairs (UEi → UEj); a drop-down selects the reference UE for all four time-series panels: (i) a 2D map with real-time UE positions, directional links, and LOS/NLOS state per pair; (ii) per-link SNR, CQI, BER, and BLER time-series with UE selection via dropdown; (iii) PSCCH statistics comparing the layer-2 reception lock ratio against the system-level model prediction; (iv) distance and LOS fraction panels for correlation between physical proximity and channel metrics. The topology view (Fig. 6) shows real-time UE positions and active links; per-link metrics (SNR, CQI, BER, rx_prob) are shown in Figs. 6b and 6c.
5.3 Reception Module Validation
In SL-RFSIM, the reception module computes CQI externally from the broker's analytical SNR for monitoring purposes, while OAI UEs compute CQI internally at the upper PHY layer. A divergence is therefore possible: SL-RFSIM reception module may report high rx_prob while OAI's polar decoder would drop the packet. Table 4 quantifies this gap for two highway scenarios with MCL = 200 dB (IQ passthrough) and shadow fading enabled ( dB, TR 37.885).
Table 4: System-level vs. link-level reception probability.
| Scenario | Agreement | |||
|---|---|---|---|---|
| 1000 m highway | 97.59% | 96.64% | 0.95 pp | 99.1% |
| 5000 m highway | 91.98% | 93.27% | 1.29 pp | 98.7% |
The gap turns out to be small enough to be negligible for monitoring purposes. At 1000 m, an NLOSv-dominated scenario (CQI 11–15), agreement is 99.1%; at 5000 m, closer to the sensitivity threshold (CQI 4–7), agreement remains as high as 98.7%, despite high channel variability ( ).
5.4 Multi-hop Line Topology
The primary objective of this scenario is to verify multi-hop relaying: that traffic between two UEs correctly routes through an intermediate node with no direct link between them. Three UEs were arranged in a line, UE0 (the Sync-Ref) at the centre, with UE1 and UE2 placed 150 m away on either side. Per-link channel conditions are shown in Table 5. The UE0-UE1 link resolves to LOS (SNR 45.4-48.1 dB), while UE0-UE2 purposely resolves to NLOSv (SNR 34.6-37.7 dB). The two blocked links (UE1-UE2 in both directions) have a forced path loss of 200 dB and SNR of -78.8 dB, driving CQI to 0, confirming that SET_LINK_BLOCK renders the link unusable at the broker. This creates a hidden-node topology: UE1 and UE2 can each reach UE0, but not each other, so traffic between them

(a) UE positions, mesh topology and Batman Routing Status

(b) per-UE LOS/NLOS state, distance, CQI and SNR time-series

(c) system-level vs. PHY-layer reception probability and BER Figure 6: SL-RFSIM Grafana Dashboard
must relay through UE0. Figure 7a shows the resulting Grafana mesh topology panel, confirming the chain worked as intended: both the UE1-UE0 and UE0-UE2 links measure 150 m with 100% reception probability, while direct paths between UE1 and UE2 are blocked.
Table 5: Link quality measurements for Line Topology
| Link | State | Dist. (m) | PL (dB) | SNR (dB) | CQI | Ch. |
|---|---|---|---|---|---|---|
| UE0→UE1 | active | 150 | 75.8 | 45.4 | 15 | LOS |
| UE1→UE0 | active | 150 | 73.1 | 48.1 | 15 | LOS |
| UE0→UE2 | active | 150 | 83.5 | 37.7 | 15 | NLOSv |
| UE2→UE0 | active | 150 | 86.6 | 34.6 | 15 | NLOSv |
| UE1→UE2 | blocked | 300 | 200.0 | -78.8 | 0 | blk. |
| UE2→UE1 | blocked | 300 | 200.0 | -78.8 | 0 | blk. |
radio/rfsim++/examples
The reception module's latency does not impact SL-RFSIM OAI UE reception.
SL-RFSIM: Enabling Scalable Multi-Hop 5G NR Sidelink Mesh Networking in OpenAirlInterface
Table 6 (Line rows) shows the BATMAN-adv routing tables. The 3GPP Urban model probabilistically selects between LOS and NLOSv conditions; both are observed across the two active links, consistent with Table 5. The results confirm end-to-end Layer-2 multi-hop routing over a 5G NR sidelink mesh: BATMAN-adv discovers the hidden-node condition and provides relaying hooks at UE0. TQ (Transmission Quality) values in the range 7-47 out of 255 are sufficient for stable routing entries; the variability reflects the probabilistic LOS/NLOSv selection seen in Table 5.

(a) Line Topology

(b) Star Topology

(c) Mobile Topology
Figure 7: Grafana topology panels for the three scenarios.
5.5 Multi-hop Mesh Star Topology
The objective of this scenario is to test the same relaying capability under more demanding conditions, and consider a single central device (a gateway or coordinator) serving several other UEs at once, a pattern common across IoT and edge deployments. We therefore propose a mesh star topology, tested with five UEs: Sync-Ref at the centre, four peripheral UEs at 150 m. Table 6 (Star rows) shows the BATMAN-adv routing table: every peripheral UE reaches every other peripheral UE exclusively via Sync-Ref, never through a direct peripheral-to-peripheral path. This enforced the intended centralized topology. TQ values range from 1 to 51 across the ten observed routes, reflecting varying link quality without affecting the enforced routing structure.
Table 6: BATMAN-adv routing tables: Line, Star, Mobile topologies (SR = Sync-Ref)
| Scen. | Node | Dest. | Next Hop | TQ | Node | Dest. | Next Hop | TQ |
|---|---|---|---|---|---|---|---|---|
| Line | UE0 | UE1 | UE1 (direct) | 47 | UE1 | UE2 | UE0 (relay) | 14 |
| UE0 | UE2 | UE2 (direct) | 37 | UE2 | UE0 | UE0 (direct) | 7 | |
| UE1 | UE0 | UE0 (direct) | 13 | UE2 | UE1 | UE0 (relay) | 27 | |
| Star | UE1 | SR | direct | 33 | UE3 | SR | direct | 24 |
| UE1 | UE2 | via SR | 10 | UE3 | UE4 | via SR | 16 | |
| UE1 | UE4 | via SR | 1 | UE4 | SR | direct | 29 | |
| UE2 | SR | direct | 51 | UE4 | UE1 | via SR | 11 | |
| UE2 | UE1 | via SR | 2 | UE4 | UE3 | via SR | 15 | |
| UE2 | UE4 | via SR | 1 | |||||
| Mobile | UE2 | SR | direct | 6 | UE3 | UE2 | via SR | 21 |
| UE2 | UE3 | via SR | 9 | UE3 | SR | direct | 24 | |
| UE3 | SR | direct | 127 |
5.6 Multi-hop Mobile Topology
The objective of this last scenario is to create a moving scenario consisting of two moving UEs, alongside a fixed Sync-Ref node. All communication remains constrained to the centralised topology, with Sync-Ref as the sole relay node. Mobility is handled by the external mobility module as explained in Section 4.2. Two mobility profiles are supported: pedestrian (0.5-2 m/s, 3GPP TR 38.901 UMa) and vehicular (15-40 m/s, 3GPP TR 37.885 V2V). Fig. 7c shows the Grafana topology view during a run with two moving UEs, confirming the expected connectivity.
Because the two mobile UEs continuously change position, their visibility to other nodes fluctuates as links form and break with movement; unlike the static line and star scenarios, no single routing-table snapshot is representative of behaviour over the full run. Table 6 (Mobile rows) shows one such snapshot, taken from a single reference UE partway through the experiment. The set of reachable destinations varies over time as the RWP trajectory moves each mobile UE in and out of range, but critically, every route observed at every snapshot throughout the run is either a direct link to Sync-Ref or a relayed route via Sync-Ref; no peer-to-peer route via another peripheral UE was recorded at any point. This confirms that the central topology constraint enforced by the propagation module's link-blocking (Section 4.3) holds even as the underlying link set changes dynamically. The moving UEs also introduce continuous variation in link distance and channel state, visible as SNR fluctuations in the Grafana dashboard, demonstrating mobility-induced channel dynamics on a real 5G NR sidelink stack without any modification to OAI's MAC or PHY layers.
5.7 Scalability Analysis
Scalability was evaluated on two SLICES-RI hardware configurations: a CPU node (Xeon Gold, 8 cores, 8 GB RAM) and a GPU node (A100 x86_64, 16 cores, 80 GB RAM), using the full-mesh P2P topology considered by the reception module.
Three stability tiers emerge, as summarised in Table 7. Up to 7 UEs, the full stack is stable: PSBCH synchronisation, PSSCH data exchange, and BATMAN-adv Layer-2 routing all converge reliably. Beyond 7 UEs, PSSCH and BATMAN-adv become unstable due to the MAC scheduler running out of available slots, but PSBCH synchronisation remains stable up to 15 UEs on the Xeon node and partially up to 17–19 UEs across both platforms. Three independent software bottlenecks were identified:
-
ZMQ synchronous blocking: The single-threaded broker performs synchronous ZMQ REQ/REP calls to the propagation module per IQ frame, blocking the event loop. For , new UEs are dropped within the timeout window regardless of idle CPU/GPU capacity.
-
Memory constraints (Circular buffers): While the 80 GB A100 node easily handles the memory footprint, the Xeon node (8 GB) struggled. Each node allocates a 186 MB circular buffer (CirSize = 48, 880,000 samples) per peer. When attempting to scale to 30 UEs, the Sync-Ref process alone consumes approximately 5.7 GB of RAM, approaching the hardware limit on standard slots; this configuration did not run reliably, consistent with the connection instability observed beyond 19 UEs in Table 7.
-
Control/data packet multiplexing: Beyond ~20 active bidirectional links, the single-threaded TDMA scheduler must multiplex PSSCH between user traffic and BATMAN-adv control packets (OGM), delaying or missing allocations and degrading routing convergence (higher OGM interarrival times, lower TQ values).
Table 7: Broker resource usage and scheduler status vs. number of UEs.
| N UEs | Hardware | Broker CPU | Broker RAM | O(N2) Links | ZMQ Conn. | Status |
|---|---|---|---|---|---|---|
| 3 | Xeon 8G | ~97% | 135 MB | 6 | 4 | Stable (PSBCH + PSSCH + BATMAN) |
| 7 | Xeon 8G | - | - | 42 | 8 | Stable (PSBCH + PSSCH + BATMAN) |
| 15 | Xeon 8G | 93% | 1.06 GB | 210 | 15 | Stable (PSBCH only) |
| 17 | Xeon 8G | 57–91% | 1.19 GB | 272 | 17 | Partial (PSBCH only) |
| 19 | A100 80G | 3.80% | 1.10 GB | 342 | 19 | Partial (PSBCH only) |
Scalability should however not be measured by the number of UEs, but rather by the number of links. SL-RFSIM currently supports up to 15 UEs and 210 directional links, more than twice the 100 links supported by OAI RFSim (which supports up to 50 UEs). Nevertheless, the broker scalability and SL scheduler will be further improved in future work.
6 Conclusion
The growing interest in 5G NR Sidelink for industrial, public safety, and beyond-coverage applications is driving the need for experimental platforms capable of evaluating large-scale multi-hop deployments under realistic wireless conditions. Although OpenAir-Interface provides an open-source implementation of the 3GPP SL stack, scalable experimentation of mesh networking has remained largely unexplored.
This paper presented SL-RFSIM, a component-based experimentation framework extending OAI with scalable multi-hop 5G NR SL capabilities. By replacing the conventional RFSim client-server architecture with a broker-based publish/subscribe framework, SL-RFSIM enables arbitrary peer-to-peer connectivity while preserving compatibility with the OAI protocol stack. The framework further integrates modular mobility, propagation, reception and monitoring services, providing a reproducible environment for evaluating wireless mesh networking over 5G NR SL.
Experimental validation demonstrated successful integration of BATMAN-adv Layer-2 routing, realistic channel modelling, and scalable multi-user experimentation on the SLICES-RI infrastructure. The results also identified current scalability bottlenecks, highlighting software limitations that provide useful guidance for future developments of scalable OAI-based NR SL experimentation. Future work will focus on integrating standardised Rel. 19 sidelink relay mechanisms, distributed sidelink scheduling, richer mobility models, and O-RAN-based monitoring interfaces, while extending SL-RFSIM toward larger experimental deployments and additional mesh routing protocols.
References
[1] 3GPP. 2019. TR 37.885: Study on evaluation methodology of new Vehicle-to-Everything (V2X) use cases for LTE and NR. Technical Report V15.3.0. 3GPP.
[2] 3GPP. 2020. Technical Specification 38.214: NR; Physical layer procedures for data. Technical Report Release 16. 3GPP. https://www.3gpp.org/ftp/Specs/archive/38_series/38.214/
[3] 3GPP. 2025. Architecture Enhancements for the 5G System (5GS) to Support Vehicle-to-Everything (V2X) Services. Technical Specification TS 23.287. 3rd Generation Partnership Project. Release 19.
[4] 3GPP. 2025. Study on NR Sidelink Relay. Technical Specification TR 38.836. 3rd Generation Partnership Project. Release 19.
[5] 3GPP/ETSI. 2020. TR 138 901: 5G; Study on channel model for frequencies from 0.5 to 100 GHz. Technical Report V16.1.0. ETSI.
[6] 5G Alliance for Connected Industries and Automation (5G-ACIA). 2023. Using 5G Sidelink in Industrial Factory Applications. White Paper. 5G Alliance for Connected Industries and Automation (5G-ACIA). Accessed: April 26, 2026. https://5g-acia.org/whitepapers/using-5g-sidelink-in-industrial-factory-applications/
[7] Leonardo Bonati et al. 2021. Colosseum: Large-Scale Wireless Experimentation Through Hardware-in-the-Loop Network Emulation. In 2021 IEEE International
Symposium on Dynamic Spectrum Access Networks (DySPAN). 1–7.
[8] Car2Car Communication Consortium. 2022. Co-Channel Coexistence Mitigation Methods: Additional Investigation (WP-2096) – Annex A: Path-loss models. Technical Report Version 1.0. C2CCC. https://www.car-2-car.org/fileadmin/documents/General_Documents/C2CCC_WP_2096_Co-ChannelCoexistence_MitigationMethods_AdditionalInvestigation_V1.0.pdf
[9] Thomas Clausen and Philippe Jacquet. 2003. Optimized Link State Routing Protocol (OLSR). RFC 3626.
[10] ETSI. 2012. LTE; Evolved Universal Terrestrial Radio Access (E-UTRA); Radio Frequency (RF) system scenarios. Technical Report TR 136 942 V10.3.0. ETSI.
[11] Felipe García Vidal, Esteban Egea López, and José Santa Lozano. 2025. Evaluation of multichannel operation mechanisms for vehicular networks. Vehicular Communications 56 (2025), 100978.
[12] Grafana Labs. 2026. Introduction to Grafana. Grafana Documentation. Accessed: May 3, 2026. https://grafana.com/docs/grafana/latest/introduction/
[13] International Telecommunication Union (ITU). 2016. Recommendation ITU-R P.525-3: Calculation of free-space attenuation. Technical Report. ITU. https://www.itu.int/dms_pubrec/itu-r/rec/p/R-REC-P.525-3-201611-S!!PDF-E.pdf
[14] IONOS. 2026. What is InfluxDB? IONOS Digital Guide. Accessed: May 3, 2026. https://www.ionos.com/digitalguide/hosting/technical-matters/what-is-influxdb/
[15] Florian Kaltenberger et al. 2025. Driving innovation in 6G wireless technologies: The OpenAirInterface approach. Computer Networks, Volume 269, September 2025 (2025).
[16] Pawel Kryszkiewicz, Adrian Kliks, Pawel Sroka, and Michal Sybis. 2024. V2V Path Loss Modeling at 26 GHz Based on Real-Traffic Measurements. IEEE Wireless Communications Letters 13, 12 (2024), 3633–3637.
[17] Xingqin Lin. 2025. The Bridge Toward 6G: 5G-Advanced Evolution in 3GPP Release 19. IEEE Communications Standards Magazine 9, 1 (2025), 28–35.
[18] Peng Liu et al. 2023. Towards 5G new radio sidelink communications: A versatile link-level simulator and performance evaluation. Computer Communications 208 (2023), 231–243.
[19] Pablo Alvarez Lopez et al. 2018. Microscopic Traffic Simulation using SUMO. 2575–2582.
[20] Luca Lusvarghi, Baldomero Coll-Perales, and Javier Gozalvez. 2024. Impact of the DMRS Pattern on NR V2X Sidelink Communications. In IEEE 100th Vehicular Technology Conference (VTC2024-Fall).
[21] Luca Lusvarghi, Baldomero Coll-Perales, Javier Gozalvez, and Maria Luisa Merani. 2024. Link Level Analysis of NR V2X Sidelink Communications. IEEE Internet of Things Journal 11, 17 (2024), 28385–28397.
[22] Luca Lusvarghi and Maria Luisa Merani. 2021. MoReV2X – A New Radio Vehicular Communication Module for ns-3. In 2021 IEEE 94th Vehicular Technology Conference (VTC2021-Fall). 1–7.
[23] NS3 Project, SIGNET Lab, University of Padova. 2026. NS3 Source: probabilistic-v2v-channel-condition-model.cc. https://www.nsnam.org/doxygen/d2/db9/probabilistic-v2v-channel-condition-model_8cc_source.html
[24] NS3 Project, SIGNET Lab, University of Padova. 2026. NS3 Source: three-gpp-v2v-propagation-loss-model.cc. https://www.nsnam.org/doxygen/d8/de1/three-gpp-v2v-propagation-loss-model_8cc_source.html
[25] Open-Mesh Project. 2025. B.A.T.M.A.N. Advanced. https://www.open-mesh.org/projects/batman-adv.
[26] Charles Perkins, Elizabeth Belding-Royer, and Samir Das. 2003. Ad hoc On-Demand Distance Vector (AODV) Routing. RFC 3561.
[27] Giuseppe Piro, Nicola Baldo, Michele Polese, et al. 2024. The 5G-LENA Simulator: An Open-Source Platform for 5G NR Network Research. Computer Networks (2024).
[28] Hitesh Poddar, Tomoki Yoshimura, and Art Ishii. 2025. Validation of 3GPP TR 38.901 Indoor Hotspot Path Loss Model Based on Measurements Conducted at 6.75, 16.95, 28, and 73 GHz for 6G and Beyond. In 2025 IEEE 101st Vehicular Technology Conference (VTC2025-Spring). Oslo, Norway, 1–6.
[29] Qualcomm Technologies. 2023. NR Sidelink Evolution Toward 5G Advanced. Technical Report. Qualcomm Technologies Inc.
[30] Damien Saucez, Sebastian Gallenmüller, Raymond Knopp, Nikos Makris, and Serge Fdida. 2024. Blueprint-based Reproducible Research with the SLICES Research Infrastructure. In IEEE INFOCOM 2024 Workshops (INFOCOM WKSHPS).
[31] Igor Serunin, Andrey Pudeev, Jin-Yup Hwang, Sang-Wook Lee, and Alexander Maltsev. 2022. An Overview and Performance Analysis of CQI Reporting in 5G
SL-RFSIM: Enabling Scalable Multi-Hop 5G NR Sidelink Mesh Networking in OpenAirInterface
NR Sidelink. In 2022 13th International Conference on Information and Communication Technology Convergence (ICTC). 34–39.